java.lang.NullPointerException

Oracle Community | 3004 | 1 decade 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

    Kodo using JTA transaction in Spring

    Oracle Community | 1 decade ago | 3004
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.sun.jts.jta.TransactionManagerImpl.<init>()
    2. Embedded GlassFish Web
      TransactionManagerImpl.getTransactionManagerImpl
      1. com.sun.jts.jta.TransactionManagerImpl.<init>(TransactionManagerImpl.java:113)
      2. com.sun.jts.jta.TransactionManagerImpl.getTransactionManagerImpl(TransactionManagerImpl.java:102)
      2 frames
    3. 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:324)
      4 frames
    4. kodo.ee
      AutomaticManagedRuntime.getTransactionManager
      1. kodo.ee.InvocationManagedRuntime.getTransactionManager(InvocationManagedRuntime.java:63)
      2. kodo.ee.AutomaticManagedRuntime.getTransactionManager(AutomaticManagedRuntime.java:106)
      2 frames
    5. kodo.runtime
      PersistenceManagerFactoryImpl.getPersistenceManager
      1. kodo.runtime.PersistenceManagerFactoryImpl.findTransactionalPersistenceManager(PersistenceManagerFactoryImpl.java:679)
      2. kodo.runtime.PersistenceManagerFactoryImpl.findPersistenceManager(PersistenceManagerFactoryImpl.java:629)
      3. kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:127)
      4. kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:104)
      5. kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:97)
      5 frames
    6. kodo.jdbc.ee
      JDBCConnectionFactory.getPersistenceManager
      1. kodo.jdbc.ee.JDBCConnectionFactory.getPersistenceManager(JDBCConnectionFactory.java:164)
      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:324)
      4 frames
    8. com.clarussystems.commons
      TargetableDynamicProxyImpl.invoke
      1. com.clarussystems.commons.reflect.TargetableDynamicProxyImpl.invoke(TargetableDynamicProxyImpl.java:75)
      1 frame
    9. Unknown
      $Proxy3.getPersistenceManager
      1. $Proxy3.getPersistenceManager(Unknown Source)
      1 frame
    10. com.clarussystems.csipc
      InventoryDAOTest.testDAO
      1. com.clarussystems.csipc.inventory.dao.JDOInventoryDAO.getPersistenceManager(JDOInventoryDAO.java:24)
      2. com.clarussystems.csipc.inventory.dao.JDOInventoryDAO.save(JDOInventoryDAO.java:35)
      3. com.clarussystems.csipc.inventory.dao.InventoryDAOTest.testDAO(InventoryDAOTest.java:39)
      3 frames
    11. 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:324)
      4 frames
    12. JUnit
      TestSuite.run
      1. junit.framework.TestCase.runTest(TestCase.java:154)
      2. junit.framework.TestCase.runBare(TestCase.java:127)
      3. junit.framework.TestResult$1.protect(TestResult.java:106)
      4. junit.framework.TestResult.runProtected(TestResult.java:124)
      5. junit.framework.TestResult.run(TestResult.java:109)
      6. junit.framework.TestCase.run(TestCase.java:118)
      7. junit.framework.TestSuite.runTest(TestSuite.java:208)
      8. junit.framework.TestSuite.run(TestSuite.java:203)
      8 frames
    13. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
      3 frames