Bug 274686

Summary: [Build] Build error nesting could be clearer
Product: [Eclipse Project] Platform Reporter: Kevin McGuire <Kevin_McGuire>
Component: ResourcesAssignee: Platform-Resources-Inbox <platform-resources-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: Mike_Wilson
Version: 3.5   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Pic showing status tree in M6 and M7 none

Description Kevin McGuire CLA 2009-05-01 15:21:10 EDT
3.5 M7 candidate I20090430-2300

As part of bug #273147 we corrected the nesting of exceptions during builds (the nesting part of the fix was released but the status is still warning so the bug was not closed).

See attached pic, comparing results of throwing Assert.isTrue(false) in both M6 and the candidate M7 build.

Observations:

1) You can no longer see from the log the type of failure (in this case, assertion).  You can if you open the stack trace though.  

This was an intentional change in bug #273147 but now I'm wondering if it was the right one. A positive part of the change though is that previously the assertion failure was a sibling of the "error in builder X" status and this was confusing. Also previously the "error in builder X" exception had no stack trace so was of questionable value. But I think it's a loss of important information knowing what caused the build failure.  An alternative is that the assertion status be a child of the "error in builder X" multistatus.

2) In both M6 and today we have a trailing "Problems occured when invoking code from plug-in:xxx" error status.  Do we need this?  I actually find it misleading since it sort of suggests a problem with the plug-in org.eclipse.core.resources.  There's nothing wrong with the plug-in, the problem was with the 3rd party builder. It provides no additional information than "Errors during build", and in fact the stack trace is identical to the one in "error in builder X".

I'm thinking we should remove this status.
Comment 1 Kevin McGuire CLA 2009-05-01 15:21:44 EDT
Created attachment 134104 [details]
Pic showing status tree in M6 and M7
Comment 2 John Arthorne CLA 2009-05-22 10:45:02 EDT
*** Bug 277013 has been marked as a duplicate of this bug. ***
Comment 3 Eclipse Webmaster CLA 2019-09-06 16:12:27 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.