org.apache.openjpa.persistence.PersistenceException: null

openejb-users | Karsten.Ohme@t-systems.com | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    RE: OpenEJB - Missing required persistence.xml

    openejb-users | 9 years ago | Karsten.Ohme@t-systems.com
    org.apache.openjpa.persistence.PersistenceException: null
  2. 0

    RE: OpenEJB - Missing required persistence.xml

    openejb-users | 9 years ago | Karsten.Ohme@t-systems.com
    org.apache.openjpa.persistence.PersistenceException: null
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    [GERONIMO-3907] Persistence Exception is not visible/lost for client. - ASF JIRA

    apache.org | 1 year ago
    org.apache.openjpa.persistence.PersistenceException: The transaction has been rolled back. See the nested exceptions for details on the errors that occurred.
  5. 0

    [jira] Commented: (GERONIMO-3907) Persistence Exception is not visible/lost for client.

    geronimo-dev | 8 years ago | Geoff Callender (JIRA)
    org.apache.openjpa.persistence.PersistenceException: The transaction has been rolled back. See the nested exceptions for details on the errors that occurred.

    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. javax.transaction.SystemException

      No message provided

      at org.apache.openjpa.ee.RegistryManagedRuntime$TransactionManagerRegistryFacade.suspend()
    2. OpenJPA Aggregate Jar
      BrokerImpl.beforeCompletion
      1. org.apache.openjpa.ee.RegistryManagedRuntime$TransactionManagerRegistryFacade.suspend(RegistryManagedRuntime.java:176)
      2. org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.getConnection(AbstractJDBCSeq.java:158)
      3. org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:366)
      4. org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:266)
      5. org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:60)
      6. org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:160)
      7. org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:144)
      8. org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:557)
      9. org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:450)
      10. org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:426)
      11. org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:541)
      12. org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:134)
      13. org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:501)
      14. org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2770)
      15. org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:39)
      16. org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:940)
      17. org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1892)
      18. org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1852)
      19. org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1770)
      19 frames
    3. Geronimo TxManager :: Transaction
      TransactionManagerImpl.commit
      1. org.apache.geronimo.transaction.manager.TransactionImpl.beforeCompletion(TransactionImpl.java:514)
      2. org.apache.geronimo.transaction.manager.TransactionImpl.beforeCompletion(TransactionImpl.java:499)
      3. org.apache.geronimo.transaction.manager.TransactionImpl.beforePrepare(TransactionImpl.java:400)
      4. org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:257)
      5. org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:245)
      5 frames
    4. OpenEJB :: OSGi :: Core
      Jdk13InvocationHandler.invoke
      1. org.apache.openejb.core.transaction.TransactionPolicy.commitTransaction(TransactionPolicy.java:141)
      2. org.apache.openejb.core.transaction.TxRequired.afterInvoke(TxRequired.java:75)
      3. org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:233)
      4. org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:188)
      5. org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:165)
      6. org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:217)
      7. org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:77)
      8. org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:245)
      9. org.apache.openejb.util.proxy.Jdk13InvocationHandler.invoke(Jdk13InvocationHandler.java:49)
      9 frames
    5. Unknown
      $Proxy28.persistStrecke
      1. $Proxy28.persistStrecke(Unknown Source)
      1 frame
    6. foo.bar.testfacade
      TestFacadeImplOpenEJBTest.testPersistStrecke
      1. foo.bar.testfacade.TestFacadeImplOpenEJBTest.testPersistStrecke(TestFacadeImplOpenEJBTest.java:58)
      1 frame
    7. 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:585)
      4 frames
    8. JUnit
      JUnit4ClassRunner.run
      1. org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
      2. org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
      3. org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
      4. org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
      5. org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
      6. org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
      7. org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
      8. org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
      9. org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
      10. org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
      11. org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
      12. org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
      12 frames
    9. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
      1 frame
    10. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
      5 frames