java.lang.NullPointerException

Oracle Community | 3004 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at kodo.jdbc.meta.Mappings.getForeignKey()
  2. kodo.jdbc.meta
    MappingRepository.getMetaData
    1. kodo.jdbc.meta.Mappings.getForeignKey(Mappings.java:271)
    2. kodo.jdbc.meta.OneToOneFieldMapping.fromMappingInfo(OneToOneFieldMapping.java:124)
    3. kodo.jdbc.meta.RuntimeMappingProvider.getFieldMapping(RuntimeMappingProvider..java:160)
    4. kodo.jdbc.meta.MappingRepository.getFieldMapping(MappingRepository.java:429)
    5. kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:911)
    6. kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:891)
    7. kodo.jdbc.meta.AbstractClassMapping.getMappings(AbstractClassMapping.java:854)
    8. kodo.jdbc.meta.AbstractClassMapping.getDeclaredFieldMappings(AbstractClassMapping.java:617)
    9. kodo.jdbc.meta.AbstractClassMapping.resolve(AbstractClassMapping.java:758)
    10. kodo.jdbc.meta.BaseClassMapping.resolve(BaseClassMapping.java:323)
    11. kodo.jdbc.meta.MappingRepository.resolve(MappingRepository.java:390)
    12. kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:308)
    13. kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:162)
    14. kodo.jdbc.meta.MappingRepository.getMetaData(MappingRepository.java:150)
    14 frames
  3. kodo.runtime
    PersistenceManagerImpl.makePersistent
    1. kodo.runtime.PersistenceManagerImpl.makePersistentInternal(PersistenceManagerImpl.java:1905)
    2. kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:1858)
    2 frames
  4. com.peacetech.test
    HorizontalTest.main
    1. com.peacetech.test.jdo.TestJDOHelper.makePersistent(TestJDOHelper.java:54)
    2. com.peacetech.test.HorizontalTest.main(HorizontalTest.java:41)
    2 frames
  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:495)
    4 frames
  6. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(Unknown Source)
    1 frame