Community
Participate
Working Groups
Build Identifier: 2.1.0.v20100614-r7608 See discussion in: http://www.eclipse.org/forums/index.php?t=rview&goto=554630 Stack trace: java.lang.NullPointerException: null at org.eclipse.persistence.mappings.ObjectReferenceMapping.setNewValueInChangeRecord(ObjectReferenceMapping.java:186) ~[org.eclipse.persistence.core_2.1.0.v20100614-r7608.jar:2.1.0.v20100614-r7608] at org.eclipse.persistence.mappings.ObjectReferenceMapping.internalBuildChangeRecord(ObjectReferenceMapping.java:175) ~[org.eclipse.persistence.core_2.1.0.v20100614-r7608.jar:2.1.0.v20100614-r7608] at org.eclipse.persistence.mappings.ObjectReferenceMapping.updateChangeRecord(ObjectReferenceMapping.java:1263) ~[org.eclipse.persistence.core_2.1.0.v20100614-r7608.jar:2.1.0.v20100614-r7608] at org.eclipse.persistence.internal.descriptors.changetracking.AttributeChangeListener.internalPropertyChange(AttributeChangeListener.java:149) ~[org.eclipse.persistence.core_2.1.0.v20100614-r7608.jar:2.1.0.v20100614-r7608] at org.eclipse.persistence.internal.descriptors.changetracking.AttributeChangeListener.propertyChange(AttributeChangeListener.java:111) ~[org.eclipse.persistence.core_2.1.0.v20100614-r7608.jar:2.1.0.v20100614-r7608] at com.moremr.wire.data.AbstractDataObject._persistence_propertyChange(AbstractDataObject.java) ~[wire-core-1.0-SNAPSHOT.jar:na] at com.moremr.papa.activity.da.data.SmsPushActivity._persistence_set_targetGroup(SmsPushActivity.java) ~[papa-data-1.0-SNAPSHOT.jar:na] at com.moremr.papa.activity.da.data.SmsPushActivity.setTargetGroup(SmsPushActivity.java:63) ~[papa-data-1.0-SNAPSHOT.jar:na] Reproducible: Always Steps to Reproduce: See discussion in: http://www.eclipse.org/forums/index.php?t=rview&goto=554630
Closing as INVALID because there is not enough information in the bug. A pointer to a forum posting is insufficient. Please add a description of the problem and how to recreate and then reopen.
Sorry for posting too few details. I was already constructing a simple test case for this when I noticed that I was actually passing a *proxied* object (constructed using CGLIB) to the setter setTargetGroup(), which caused the NullPointerException as EclipseLink naturally did not recognize the proxied version of the class. So the bug is indeed invalid and the problem is solved.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink