Bug 274686 - [Build] Build error nesting could be clearer
Summary: [Build] Build error nesting could be clearer
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 277013 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-01 15:21 EDT by Kevin McGuire CLA
Modified: 2019-09-06 16:12 EDT (History)
1 user (show)

See Also:


Attachments
Pic showing status tree in M6 and M7 (148.83 KB, image/jpeg)
2009-05-01 15:21 EDT, Kevin McGuire CLA
no flags Details

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