Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 3004, 1 year ago
java.lang.NullPointerException at kodo.runtime.PersistenceManagerImpl.makePersistentInternal(PersistenceManagerImpl.java:1933) at kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:1858) at com.peacetech.test.jdo.TestJDOHelper.makePersistent(TestJDOHelper.java:54) at com.peacetech.test.HorizontalTest.main(HorizontalTest.java:41) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl..java:25) at java.lang.reflect.Method.invoke(Method.java:495) at com.intellij.rt.execution.application.AppMain.main(Unknown Source)Caused by: java.lang.NullPointerException at kodo.jdbc.meta.Mappings.getForeignKey(Mappings.java:271) at kodo.jdbc.meta.OneToOneFieldMapping.fromMappingInfo(OneToOneFieldMapping.java:124) at kodo.jdbc.meta.RuntimeMappingProvider.getFieldMapping(RuntimeMappingProvider..java:160) at kodo.jdbc.meta.MappingRepository.getFieldMapping(MappingRepository.java:429) at kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:911) at kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:891) at kodo.jdbc.meta.AbstractClassMapping.getMappings(AbstractClassMapping.java:854) at kodo.jdbc.meta.AbstractClassMapping.getDeclaredFieldMappings(AbstractClassMapping.java:617) at kodo.jdbc.meta.AbstractClassMapping.resolve(AbstractClassMapping.java:758) at kodo.jdbc.meta.BaseClassMapping.resolve(BaseClassMapping.java:323) at kodo.jdbc.meta.MappingRepository.resolve(MappingRepository.java:390) at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:308) at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:162) at kodo.jdbc.meta.MappingRepository.getMetaData(MappingRepository.java:150) at kodo.runtime.PersistenceManagerImpl.makePersistentInternal(PersistenceManagerImpl.java:1905) ... 8 more