Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337190

Summary: Regression in Bugzilla_324635_Test.testTargetGoalDeltaVersion
Product: [Modeling] EMF Reporter: Pascal Lehmann <pascal.lehmann>
Component: cdo.coreAssignee: Pascal Lehmann <pascal.lehmann>
Status: CLOSED FIXED QA Contact: Eike Stepper <stepper>
Severity: normal    
Priority: P3 Flags: stepper: review+
Version: 4.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Testcase patch none

Description Pascal Lehmann CLA 2011-02-15 04:58:02 EST
The test sometimes fails with:

Caused by: java.lang.NullPointerException
	at org.eclipse.emf.cdo.tests.AbstractCDOTest.commitAndSync(AbstractCDOTest.java:192)
	at org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_324635_Test.testTargetGoalDeltaVersion(Bugzilla_324635_Test.java:76)
Comment 1 Pascal Lehmann CLA 2011-02-15 05:03:11 EST
Created attachment 188983 [details]
Testcase patch

Updated the test and eliminated the NPE when there was nothing committed in CommitAndSync().
Comment 2 Eike Stepper CLA 2011-02-16 03:57:17 EST
Good catch, Pascal!
Comment 3 Pascal Lehmann CLA 2011-02-16 04:12:47 EST
Committed revision 7114:
- trunk/plugins/org.eclipse.emf.cdo.tests
Comment 4 Pascal Lehmann CLA 2011-02-16 04:13:45 EST
Committed patch.
Comment 5 Eike Stepper CLA 2011-06-23 03:38:57 EDT
Available in R20110608-1407