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

    NPE in StateManagerImpl

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

    NullPointerException in 2.5 trying to load class fields.

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

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.solarmetric.kodo.runtime.StateManagerImpl.initialize()
    2. com.solarmetric.kodo
      StateManagerImpl.isLoaded
      1. com.solarmetric.kodo.runtime.StateManagerImpl.initialize(StateManagerImpl.java:254)
      2. com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping.loadByPK(ClassMapping.java:1015)
      3. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.initialize(JDBCStoreManager.java:348)
      4. com.solarmetric.kodo.runtime.StateManagerImpl.loadInitialState(StateManagerImpl.java:215)
      5. com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectByIdFilter(PersistenceManagerImpl.java:1310)
      6. com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectById(PersistenceManagerImpl.java:1228)
      7. com.solarmetric.kodo.impl.jdbc.ormapping.OneToOneMapping.load(OneToOneMapping.java:151)
      8. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.load(JDBCStoreManager.java:455)
      9. com.solarmetric.kodo.runtime.StateManagerImpl.loadField(StateManagerImpl.java:2232)
      10. com.solarmetric.kodo.runtime.StateManagerImpl.isLoaded(StateManagerImpl.java:889)
      10 frames
    3. itec.v
      VersionedObject.getLatestVersion
      1. itec.v.VersionedObject.jdoGetlatestVersion(VersionedObject.java)
      2. itec.v.VersionedObject.getLatestVersion(VersionedObject.java:186)
      2 frames
    4. itec.v.elec
      VSlot.compareTo
      1. itec.v.elec.Global.latestGlobalV(Global.java:91)
      2. itec.v.elec.Signal.preserve(Signal.java:62)
      3. itec.v.elec.v.VSlot.compareTo(VSlot.java:169)
      3 frames
    5. Java RT
      TreeSet.add
      1. java.util.TreeMap.compare(TreeMap.java:1081)
      2. java.util.TreeMap.put(TreeMap.java:459)
      3. java.util.TreeSet.add(TreeSet.java:205)
      3 frames
    6. itec.v.elec
      VElectronics.addSignal
      1. itec.v.elec.v.VElectronics.addSlot(VElectronics.java:539)
      2. itec.v.elec.v.VElectronics.addSlotFor(VElectronics.java:608)
      3. itec.v.elec.v.VElectronics.addSignal(VElectronics.java:769)
      3 frames
    7. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3 frames
    8. itec.util
      ReflectionHelper.setProperty
      1. itec.util.ReflectionHelper.invoke(ReflectionHelper.java:193)
      2. itec.util.ReflectionHelper.invoke(ReflectionHelper.java:182)
      3. itec.util.ReflectionHelper.addProperty(ReflectionHelper.java:469)
      4. itec.util.ReflectionHelper.setProperty(ReflectionHelper.java:407)
      4 frames
    9. itec.xml
      ObjectUpdater.endElement
      1. itec.xml.ObjectUpdater$UpdateInfo.setProperty(ObjectUpdater.java:365)
      2. itec.xml.ObjectUpdater$UpdateInfo.endAttribute(ObjectUpdater.java:390)
      3. itec.xml.ObjectUpdater.endElement(ObjectUpdater.java:693)
      3 frames
    10. itec.hyp
      VehicleReader.endElement
      1. itec.hyp.VehicleReader.endElement(VehicleReader.java:233)
      1 frame
    11. Xerces2-j
      AbstractSAXParser.parse
      1. org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:585)
      2. org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespaceBinder.java:898)
      3. org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:644)
      4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1008)
      5. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
      6. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
      7. org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
      8. org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
      9. org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
      10. org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
      10 frames
    12. itec.hyp
      ConfiguratorTest.testLegacyReconf
      1. itec.hyp.VehicleReader.parse(VehicleReader.java:114)
      2. itec.hyp.Configurator.configure(Configurator.java:138)
      3. itec.hyp.Configurator.configure(Configurator.java:91)
      4. itec.hyp.Configurator.configure(Configurator.java:244)
      5. itec.hyp.ConfiguratorTest.testLegacyReconf(ConfiguratorTest.java:125)
      5 frames
    13. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3 frames
    14. JUnit
      TestSetup.run
      1. junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      2. junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      3. junit.extensions.TestSetup.run(TestSetup.java:23)
      4. junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      5. junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      6. junit.extensions.TestSetup.run(TestSetup.java:23)
      7. junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      8. junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      9. junit.extensions.TestSetup.run(TestSetup.java:23)
      9 frames