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 Oracle Community by javari, 1 year ago
This exception has no message.
via Oracle Community by trouby, 1 year ago
This exception has no message.
java.lang.NullPointerException:
at oracle.toplink.essentials.internal.queryframework.CollectionContainerPolicy.iteratorFor(CollectionContainerPolicy.java:172)
at oracle.toplink.essentials.internal.helper.WriteLockManager.traverseRelatedLocks(WriteLockManager.java:171)
at oracle.toplink.essentials.internal.helper.WriteLockManager.acquireLockAndRelatedLocks(WriteLockManager.java:149)
at oracle.toplink.essentials.internal.helper.WriteLockManager.checkAndLockObject(WriteLockManager.java:378)
at oracle.toplink.essentials.internal.helper.WriteLockManager.traverseRelatedLocks(WriteLockManager.java:186)
at oracle.toplink.essentials.internal.helper.WriteLockManager.acquireLockAndRelatedLocks(WriteLockManager.java:149)
at oracle.toplink.essentials.internal.helper.WriteLockManager.acquireLocksForClone(WriteLockManager.java:89)
at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.cloneAndRegisterObject(UnitOfWorkImpl.java:669)
at oracle.toplink.essentials.internal.sessions.UnitOfWorkIdentityMapAccessor.getAndCloneCacheKeyFromParent(UnitOfWorkIdentityMapAccessor.java:167)
at oracle.toplink.essentials.internal.sessions.UnitOfWorkIdentityMapAccessor.getFromIdentityMap(UnitOfWorkIdentityMapAccessor.java:105)
at oracle.toplink.essentials.internal.sessions.IdentityMapAccessor.getFromIdentityMap(IdentityMapAccessor.java:310)
at oracle.toplink.essentials.internal.sessions.MergeManager.registerObjectForMergeCloneIntoWorkingCopy(MergeManager.java:674)
at oracle.toplink.essentials.internal.sessions.MergeManager.mergeChangesOfCloneIntoWorkingCopy(MergeManager.java:411)
at oracle.toplink.essentials.internal.sessions.MergeManager.mergeChanges(MergeManager.java:264)
at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.mergeCloneWithReferences(UnitOfWorkImpl.java:2723)
at oracle.toplink.essentials.internal.ejb.cmp3.base.RepeatableWriteUnitOfWork.mergeCloneWithReferences(RepeatableWriteUnitOfWork.java:219)
at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerImpl.mergeInternal(EntityManagerImpl.java:235)
at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerImpl.merge(EntityManagerImpl.java:128)
at MainProgramManagement.ProgramMain.mergeData(ProgramMain.java:846)
at MainProgramManagement.PersistenceDBManager.saveDataToDB(PersistenceDBManager.java:552)

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.