| Summary: | CDOStateMachine.detach() is not robust against sideeffects of process() call | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Ronald Krijgsheld <rkrijgsheld> | ||||
| Component: | cdo.core | Assignee: | Eike Stepper <stepper> | ||||
| Status: | CLOSED WORKSFORME | QA Contact: | Eike Stepper <stepper> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | stepper | ||||
| Version: | 4.2 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Ronald Krijgsheld
Created attachment 209308 [details]
testcase
the resulting stacktrace: java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.remove(Unknown Source) at org.eclipse.emf.internal.cdo.transaction.CDOSavepointImpl$1.put(CDOSavepointImpl.java:74) at org.eclipse.emf.internal.cdo.transaction.CDOSavepointImpl$1.put(CDOSavepointImpl.java:1) at org.eclipse.emf.internal.cdo.transaction.CDOTransactionImpl.detachObject(CDOTransactionImpl.java:1365) at org.eclipse.emf.internal.cdo.view.CDOStateMachine.detach(CDOStateMachine.java:286) at org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl.detached(CDOResourceImpl.java:1322) at org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl$ContentsCDOList.inverseRemove(CDOResourceImpl.java:1575) at org.eclipse.emf.common.notify.impl.DelegatingNotifyingListImpl.remove(DelegatingNotifyingListImpl.java:731) at org.eclipse.emf.common.util.DelegatingEList.remove(DelegatingEList.java:506) at org.eclipse.emf.cdo.tests.Test368331.testDetach(Test368331.java:52) Moving all open issues to 4.2. Open bugs can be ported to 4.1 maintenance after they've been fixed in master. The test case passes and is committed. Maybe the problem has been fixed via a different bugzilla. commit 3c5eb544ff2e8db8e94fe2cf97033a2affe403b4 Closing |