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

Bug 315178

Summary: BundleException while generating performance results
Product: [Eclipse Project] Platform Reporter: Frederic Fusier <frederic_fusier>
Component: RelengAssignee: Kim Moir <kim.moir>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: P3 CC: daniel_megert, kim.moir, satyam.kandula
Version: 3.6   
Target Milestone: 3.7 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Corresponding trace got from releng logs... none

Description Frederic Fusier CLA 2010-06-01 04:17:22 EDT
Created attachment 170613 [details]
Corresponding trace got from releng logs...

Since several builds, the performance results generation is broken due to a plugin initialization issue.

We first thought it was due to a change which added a new dependency to org.eclipse.jface plugin but it was not the reason as reverting that change did not fix the problem.
Comment 1 Kim Moir CLA 2010-06-01 16:34:09 EDT
Frederic, I don't know what is causing this failure. Perhaps something changed in the ui plugins?  Do you know a ui committer who might be able to help us out?
Comment 2 Frederic Fusier CLA 2010-06-02 04:29:46 EDT
Dani,

Do you have any idea what can be wrong here?

TIA
Comment 3 Dani Megert CLA 2010-06-02 05:22:24 EDT
It looks like some bundles are missing (org.eclipse.core.databinding.property) - no idea why. Did you try to run with -debug to get more info?
Comment 4 Dani Megert CLA 2010-06-02 05:24:44 EDT
Are you using a clean build to run the tests? Maybe the install is broken?
Comment 5 Kim Moir CLA 2010-06-02 10:15:22 EDT
I added the org.eclipse.core.databinding.property bundle to basebuilder and tried to regenerate the results but it still had problems.  Still investigating...
Comment 6 Kim Moir CLA 2010-07-21 10:29:18 EDT
This is the error I'm seeing now

ENTRY org.eclipse.osgi 4 0 2010-07-21 10:27:33.201
!MESSAGE Application error
!STACK 1
java.lang.NullPointerException
        at org.eclipse.test.internal.performance.results.db.AbstractResults.compareTo(AbstractResults.java:83)
        at org.eclipse.test.internal.performance.results.db.AbstractResults.addChild(AbstractResults.java:66)
        at org.eclipse.test.internal.performance.results.db.ComponentResults.readLocalFile(ComponentResults.java:299)
        at org.eclipse.test.internal.performance.results.db.PerformanceResults.read(PerformanceResults.java:424)
        at org.eclipse.test.internal.performance.results.db.PerformanceResults.readAll(PerformanceResults.java:481)
        at org.eclipse.test.performance.ui.GenerateResults.setPerformanceResults(GenerateResults.java:1040)
        at org.eclipse.test.performance.ui.GenerateResults.parse(GenerateResults.java:479)
        at org.eclipse.test.performance.ui.GenerateResults.run(GenerateResults.java:827)
        at org.eclipse.test.performance.ui.Main.start(Main.java:40)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Comment 7 Satyam Kandula CLA 2010-07-22 05:40:40 EDT
(In reply to comment #6)
Looking at the source code w.r.t the exception stack trace, I think the DB and the .data file are not in sync. Atleast one scenario in the .dat file is not present in the DB.
Comment 8 Kim Moir CLA 2010-07-22 11:14:10 EDT
Both the perf_36x stream and HEAD stream of the builder pointed to the v36 version of the .dat files instead of the v37 version. I've fixed this and started a new baseline run.
Comment 9 Satyam Kandula CLA 2010-07-26 00:42:47 EDT
(In reply to comment #8)
> Both the perf_36x stream and HEAD stream of the builder pointed to the v36
> version of the .dat files instead of the v37 version. I've fixed this and
> started a new baseline run.
The results are available now - Thank you.
Comment 10 Kim Moir CLA 2010-07-26 09:57:10 EDT
Closing