Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] Map-related Exception in M5

Hi list,

I just deployed my application with EclipseLink M5, without any trouble this time. For the most part, things look pretty good. One of my entities, however, doesn't like to have it's map changed. The code works in TL Essentials.

Has this been reported? Can I do anything to avoid the issue? (Stack trace attached.)

Thanks,

rv


[#|2008-03-20T13:24:15.390+0100|WARNING|sun-appserver9.1| org.eclipse.persistence.session.file:/usr/local/server/glassfish/ domains/domain1/applications/j2ee-apps/com.bookpac.server/pu.jar- ormpersistence.transaction|_ThreadID=48;_ThreadName=TestThread- c257e1ca1761a0f247942e3fddad;_RequestID=93b4959c-21f5-4938- a42b-0b53fa7f10bc;|
java.lang.NullPointerException
at org.eclipse.persistence.internal.queries.MapContainerPolicy.compareKeys( MapContainerPolicy.java:147) at org.eclipse.persistence.internal.queries.ContainerPolicy.compareCollecti onsForChange(ContainerPolicy.java:259) at org.eclipse.persistence.mappings.CollectionMapping.compareCollectionsFor Change(CollectionMapping.java:323) at org.eclipse.persistence.mappings.CollectionMapping.compareForChange (CollectionMapping.java:363) at org.eclipse.persistence.descriptors.changetracking.DeferredChangeDetecti onPolicy.createObjectChangeSetThroughComparison (DeferredChangeDetectionPolicy.java:135) at org.eclipse.persistence.descriptors.changetracking.DeferredChangeDetecti onPolicy.createObjectChangeSet(DeferredChangeDetectionPolicy.java:114) at org.eclipse.persistence.descriptors.changetracking.DeferredChangeDetecti onPolicy.calculateChanges(DeferredChangeDetectionPolicy.java:80) at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.calculateChange s(UnitOfWorkImpl.java:523) at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitToDatabas eWithChangeSet(UnitOfWorkImpl.java:1320) at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.issueSQLbeforeC ompletion(UnitOfWorkImpl.java:2862) at org.eclipse.persistence.internal.jpa.RepeatableWriteUnitOfWork.issueSQLb eforeCompletion(RepeatableWriteUnitOfWork.java:209) at org.eclipse.persistence.transaction.AbstractSynchronizationListener.befo reCompletion(AbstractSynchronizationListener.java:157) at org.eclipse.persistence.transaction.JTASynchronizationListener.beforeCom pletion(JTASynchronizationListener.java:68) at com.sun.enterprise.distributedtx.J2EETransaction.commit (J2EETransaction.java:419) at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.commit (J2EETransactionManagerOpt.java:371) at com.sun.ejb.containers.BaseContainer.completeNewTx (BaseContainer.java:3792) at com.sun.ejb.containers.BaseContainer.postInvokeTx (BaseContainer.java:3571) at com.sun.ejb.containers.BaseContainer.postInvoke (BaseContainer.java:1354) at com.sun.ejb.containers.BaseContainer.postInvoke (BaseContainer.java:1316) at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke (EJBObjectInvocationHandler.java:210) at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke (EJBObjectInvocationHandlerDelegate.java:77)
        at $Proxy306.setPerInstanceUserData(Unknown Source)

[...]


Back to the top