java.lang.IllegalStateException: No transactional EntityManager available

Stack Overflow | Nico Natalie | 2 months ago
  1. 0

    Enable hibernate filter on HandlerInterceptor

    Stack Overflow | 2 months ago | Nico Natalie
    java.lang.IllegalStateException: No transactional EntityManager available
  2. 0

    No transactional EntityManager available - working with JPA Api, error with Hibernate Session

    Stack Overflow | 3 years ago | Michal Boska
    java.lang.IllegalStateException: No transactional EntityManager available
  3. 0

    JPA without transaction

    Stack Overflow | 3 years ago | user1093643
    java.lang.IllegalStateException: No transactional EntityManager available
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    No transactional EntityManager available

    Stack Overflow | 4 years ago | user1999453
    java.lang.IllegalStateException: No transactional EntityManager available
  6. 0

    java.lang.IllegalStateException: No transactional EntityManager available

    Stack Overflow | 4 years ago | Anton Tsivarev
    java.lang.IllegalStateException: No transactional EntityManager available

  1. treanz 4 times, last 5 months ago
4 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    No transactional EntityManager available

    at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke()
  2. Spring ORM
    SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke
    1. org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:272)
    1 frame
  3. com.sun.proxy
    $Proxy184.unwrap
    1. com.sun.proxy.$Proxy184.unwrap(Unknown Source)
    1 frame
  4. id.gdplabs.koi
    RequestInterceptor.preHandle
    1. id.gdplabs.koi.api.config.security.RequestInterceptor.preHandle(RequestInterceptor.java:27)
    1 frame
  5. Spring MVC
    FrameworkServlet.doGet
    1. org.springframework.web.servlet.handler.WebRequestHandlerInterceptorAdapter.preHandle(WebRequestHandlerInterceptorAdapter.java:56)
    2. org.springframework.web.servlet.HandlerExecutionChain.applyPreHandle(HandlerExecutionChain.java:134)
    3. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:958)
    4. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)
    5. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
    6. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
    6 frames
  6. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
    1 frame
  7. Spring MVC
    FrameworkServlet.service
    1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
    1 frame
  8. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    1 frame
  9. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    2 frames
  10. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    1 frame