Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337190 - Regression in Bugzilla_324635_Test.testTargetGoalDeltaVersion
Summary: Regression in Bugzilla_324635_Test.testTargetGoalDeltaVersion
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Pascal Lehmann CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-15 04:58 EST by Pascal Lehmann CLA
Modified: 2011-06-23 03:38 EDT (History)
0 users

See Also:
stepper: review+


Attachments
Testcase patch (1.71 KB, patch)
2011-02-15 05:03 EST, Pascal Lehmann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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