Community
Participate
Working Groups
Cloned from: 310029: NPE when using Legacy mode. https://bugs.eclipse.org/bugs/show_bug.cgi?id=310029 Created an EObject and added it to the contents of a CDOResource and then committed the transaction. Then created another transaction and retrieved the previous EObject. The NPE is thrown when attempting to set the value of an attribute on the retrieved EObject. It looks like the eStore is NULL. I've attached a set of projects to reproduce the problem. To reproduce: 1) Start CDO Server. The config file used is in com.ibm.almaden.mdht.cdo.example1/cdo-server.xml (using H2 database). Launch configuration is in com.ibm.almaden.mdht.cdo.example1/CDOServer.product.launch 2) Run com.ibm.almaden.mdht.cdo.example1/Doit.java as a Java Application 3) the NPE is thrown.
Patch v1 from Bug 310029 also works for HEAD. Committed to HEAD.
Available in R20110608-1407