Bug 217735

Summary: [framework] NPE while running performance test
Product: [Eclipse Project] Platform Reporter: Frederic Fusier <frederic_fusier>
Component: RelengAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED FIXED QA Contact:
Severity: blocker    
Priority: P3 Keywords: performance, test
Version: 3.4   
Target Milestone: 3.3.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed patch none

Description Frederic Fusier CLA 2008-02-04 15:09:19 EST
Non-fingerprints performance tests of build I20080204-0010 failed with following stack trace:

java.lang.NullPointerException
at org.eclipse.test.internal.performance.db.DB.internalStore(DB.java:351)
at org.eclipse.test.internal.performance.db.DB.store(DB.java:227)
at org.eclipse.test.internal.performance.InternalPerformanceMeter.commit(InternalPerformanceMeter.java:95)
at org.eclipse.test.performance.PerformanceTestCase.commitMeasurements(PerformanceTestCase.java:151)
at org.eclipse.ant.tests.ui.editor.performance.OpenAntEditorTest.measureOpenInEditor(OpenAntEditorTest.java:89)
at org.eclipse.ant.tests.ui.editor.performance.OpenAntEditorTest.testOpenAntEditor1(OpenAntEditorTest.java:38)
Comment 1 Frederic Fusier CLA 2008-02-04 15:11:35 EST
It's a consequence of my fix for bug 181718. I do not know what happened but I released an invalid code although all my test in local were OK. I think I mixed the code on 2 workspaces on different boxes and unfortunately choose the wrong one while releasing :-(
Comment 2 Frederic Fusier CLA 2008-02-05 02:15:36 EST
Created attachment 88859 [details]
Proposed patch
Comment 3 Frederic Fusier CLA 2008-02-05 02:16:22 EST
Released both in HEAD and R3_3_maintenance stream.
Comment 4 Frederic Fusier CLA 2008-02-06 06:10:58 EST
Verified using perf results of I20080205-0010 and M20080205-1130 builds.