java.lang.NullPointerException: This exception has no message.

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

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)
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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.