kodo.util.GeneralException: 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

    NullPointerException when related classes are mapped to the same table

    Oracle Community | 1 decade ago | 3004
    kodo.util.GeneralException: java.lang.NullPointerException
  2. 0

    kodo.util.GeneralException: java.lang.ArrayIndexOutOfBoundsException: -1

    Oracle Community | 1 decade ago | 3004
    kodo.util.GeneralException: java.lang.ArrayIndexOutOfBoundsException: -1

    Root Cause Analysis

    1. kodo.util.GeneralException

      java.lang.NullPointerException

      at kodo.runtime.StateManagerImpl.loadFields()
    2. kodo.runtime
      StateManagerImpl.isLoaded
      1. kodo.runtime.StateManagerImpl.loadFields(StateManagerImpl.java:3155)
      2. kodo.runtime.StateManagerImpl.loadField(StateManagerImpl.java:3227)
      3. kodo.runtime.StateManagerImpl.isLoaded(StateManagerImpl.java:1368)
      3 frames
    3. com.commercehub.core
      Role.getName
      1. com.commercehub.core.engine.Role.jdoGetimpl(Role.java)
      2. com.commercehub.core.engine.Role.getName(Role.java:123)
      2 frames
    4. Unknown
      NewRelnTest.testLoadRole1
      1. NewRelnTest.testLoadRole1(NewRelnTest.java:60)
      1 frame
    5. 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
    6. 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
    7. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:436)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:311)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
      3 frames