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

via Eclipse Bugzilla by chia.chia338, 1 year ago
via Oracle Community by user517664, 1 year ago
via Coderanch by J. Sailer, 11 months ago
This exception has no message.
via Stack Overflow by Jac_opo
, 2 years ago
java.lang.NullPointerException:
at org.eclipse.persistence.exceptions.i18n.ExceptionMessageGenerator.getHeader(ExceptionMessageGenerator.java:95)
at org.eclipse.persistence.exceptions.EclipseLinkException.printStackTrace(EclipseLinkException.java:165)
at java.util.logging.SimpleFormatter.format(Unknown Source)
at java.util.logging.StreamHandler.publish(Unknown Source)
at java.util.logging.ConsoleHandler.publish(Unknown Source)
at java.util.logging.Logger.log(Unknown Source)
at org.eclipse.persistence.logging.JavaLog.internalLog(JavaLog.java:290)
at org.eclipse.persistence.logging.JavaLog.log(JavaLog.java:261)
at org.eclipse.persistence.internal.sessions.AbstractSession.log(AbstractSession.java:3100)
at org.eclipse.persistence.internal.sessions.AbstractSession.logThrowable(AbstractSession.java:4293)
at org.eclipse.persistence.internal.sessions.AbstractSession.handleSevere(AbstractSession.java:4422)
at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:535)
at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:476)
at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:435)
at org.eclipse.persistence.sessions.broker.SessionBroker.initializeDescriptors(SessionBroker.java:576)
at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.postConnectDatasource(DatabaseSessionImpl.java:676)
at oracle.odi.core.persistence.toplink.ContextualRepositorySessionBrokerFactoryBean.createRepositoryServerSessionBroker(ContextualRepositorySessionBrokerFactoryBean.java:334)
at oracle.odi.core.persistence.toplink.ContextualRepositorySessionBrokerFactoryBean.afterPropertiesSet(ContextualRepositorySessionBrokerFactoryBean.java:131)
at oracle.odi.core.OdiInstance.initializeJpaPersistence(OdiInstance.java:886)
at oracle.odi.core.OdiInstance.initOdiInstance(OdiInstance.java:823)
at oracle.odi.core.OdiInstance.(OdiInstance.java:681)
at oracle.odi.core.OdiInstance.createInstance(OdiInstance.java:609)
at oracle.odi.core.OdiInstance.createInstance(OdiInstance.java:548)
at undefined.MyFirstSDKCode2.main(MyFirstSDKCode2.java:30)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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