java.lang.IllegalStateException: A JTA EntityManager cannot use getTransaction()

jpasecurity | nurquiza | 6 years ago
  1. 0

    JTA Entities not supported

    jpasecurity | 6 years ago | nurquiza
    java.lang.IllegalStateException: A JTA EntityManager cannot use getTransaction()
  2. 0

    data is not getting insterted into database, but not getting any exception

    Stack Overflow | 4 years ago | developer
    java.lang.IllegalStateException: A JTA EntityManager cannot use getTransaction()
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Spring IllegalStateException: A JTA EntityManager cannot use getTransaction()

    Stack Overflow | 2 years ago | ResidentBiscuit
    java.lang.IllegalStateException: A JTA EntityManager cannot use getTransaction()
  5. 0

    MethodNotFoundException in command button action

    Stack Overflow | 4 years ago | guisantogui
    java.lang.IllegalStateException: A JTA EntityManager cannot use getTransaction()

    1 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

      A JTA EntityManager cannot use getTransaction()

      at org.hibernate.ejb.AbstractEntityManagerImpl.getTransaction()
    2. Hibernate EJB
      AbstractEntityManagerImpl.getTransaction
      1. org.hibernate.ejb.AbstractEntityManagerImpl.getTransaction(AbstractEntityManagerImpl.java:814)
      1 frame
    3. net.sf.jpasecurity
      SecureEntityDecorator.refresh
      1. net.sf.jpasecurity.persistence.compiler.EntityManagerEvaluator.evaluate(EntityManagerEvaluator.java:105)
      2. net.sf.jpasecurity.jpql.compiler.QueryEvaluator.visit(QueryEvaluator.java:866)
      3. net.sf.jpasecurity.jpql.compiler.QueryEvaluator.visit(QueryEvaluator.java:98)
      4. net.sf.jpasecurity.jpql.parser.JpqlSubselect.jjtAccept(JpqlSubselect.java:18)
      5. net.sf.jpasecurity.jpql.parser.SimpleNode.visit(SimpleNode.java:113)
      6. net.sf.jpasecurity.jpql.compiler.QueryEvaluator.visit(QueryEvaluator.java:294)
      7. net.sf.jpasecurity.jpql.compiler.QueryEvaluator.visit(QueryEvaluator.java:98)
      8. net.sf.jpasecurity.jpql.parser.JpqlIn.jjtAccept(JpqlIn.java:18)
      9. net.sf.jpasecurity.jpql.parser.SimpleNode.visit(SimpleNode.java:113)
      10. net.sf.jpasecurity.jpql.compiler.QueryEvaluator.visit(QueryEvaluator.java:754)
      11. net.sf.jpasecurity.jpql.compiler.QueryEvaluator.visit(QueryEvaluator.java:98)
      12. net.sf.jpasecurity.jpql.parser.JpqlBrackets.jjtAccept(JpqlBrackets.java:18)
      13. net.sf.jpasecurity.jpql.parser.SimpleNode.visit(SimpleNode.java:113)
      14. net.sf.jpasecurity.jpql.compiler.QueryEvaluator.visit(QueryEvaluator.java:197)
      15. net.sf.jpasecurity.jpql.compiler.QueryEvaluator.visit(QueryEvaluator.java:98)
      16. net.sf.jpasecurity.jpql.parser.JpqlOr.jjtAccept(JpqlOr.java:18)
      17. net.sf.jpasecurity.jpql.parser.SimpleNode.visit(SimpleNode.java:113)
      18. net.sf.jpasecurity.jpql.compiler.QueryEvaluator.visit(QueryEvaluator.java:754)
      19. net.sf.jpasecurity.jpql.compiler.QueryEvaluator.visit(QueryEvaluator.java:98)
      20. net.sf.jpasecurity.jpql.parser.JpqlBrackets.jjtAccept(JpqlBrackets.java:18)
      21. net.sf.jpasecurity.jpql.parser.SimpleNode.visit(SimpleNode.java:113)
      22. net.sf.jpasecurity.jpql.compiler.QueryEvaluator.evaluate(QueryEvaluator.java:134)
      23. net.sf.jpasecurity.security.EntityFilter.isAccessible(EntityFilter.java:108)
      24. net.sf.jpasecurity.persistence.DefaultSecureEntityManager.isAccessible(DefaultSecureEntityManager.java:281)
      25. net.sf.jpasecurity.entity.SecureEntityDecorator.refresh(SecureEntityDecorator.java:101)
      26. net.sf.jpasecurity.entity.SecureEntityDecorator.refresh(SecureEntityDecorator.java:90)
      26 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. net.sf.jpasecurity
      CgLibSecureEntityProxyFactory$CgLibMethodInterceptor.intercept
      1. net.sf.jpasecurity.proxy.CgLibSecureEntityProxyFactory$CgLibSecureEntityMethod.invoke(CgLibSecureEntityProxyFactory.java:134)
      2. net.sf.jpasecurity.entity.SecureEntityInterceptor.intercept(SecureEntityInterceptor.java:70)
      3. net.sf.jpasecurity.proxy.CgLibSecureEntityProxyFactory$CgLibMethodInterceptor.intercept(CgLibSecureEntityProxyFactory.java:102)
      3 frames
    6. com.nestorurquiza.model
      Client$$EnhancerByCGLIB$$e6ceed17.refresh
      1. com.nestorurquiza.model.Client$$EnhancerByCGLIB$$e6ceed17.refresh(<generated>)
      1 frame
    7. net.sf.jpasecurity
      CgLibSecureEntityProxyFactory$CgLibMethodInterceptor.intercept
      1. net.sf.jpasecurity.entity.SecureEntityInterceptor.intercept(SecureEntityInterceptor.java:68)
      2. net.sf.jpasecurity.proxy.CgLibSecureEntityProxyFactory$CgLibMethodInterceptor.intercept(CgLibSecureEntityProxyFactory.java:102)
      2 frames
    8. com.nestorurquiza.model
      Client$$EnhancerByCGLIB$$e6ceed17.getName
      1. com.nestorurquiza.model.Client$$EnhancerByCGLIB$$e6ceed17.getName(<generated>)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    10. EL
      BeanELResolver.getValue
      1. javax.el.BeanELResolver.getValue(BeanELResolver.java:62)
      1 frame