Bug 125823 - Buildpath marker not of marker type 'buildpath_problem'
Summary: Buildpath marker not of marker type 'buildpath_problem'
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 RC1   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-31 08:56 EST by Martin Aeschlimann CLA
Modified: 2006-04-13 10:22 EDT (History)
1 user (show)

See Also:


Attachments
Proposed fix (2.92 KB, patch)
2006-04-06 12:32 EDT, Olivier Thomann CLA
no flags Details | Diff
Better patch (4.27 KB, patch)
2006-04-06 13:00 EDT, Olivier Thomann CLA
no flags Details | Diff
Regression tests updated (18.21 KB, patch)
2006-04-06 13:00 EDT, Olivier Thomann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2006-01-31 08:56:24 EST
20060131

1. in a classpath file, manually enter a mistake, e.g.
	<classpathentry kind="con" path="XXXXorg.eclipse.jdt.launching.JRE_CONTAINER"/>

2. Open the problems view, group by Java Problem Type
3. One marker is in the 'Other Problems' group:
 'The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build....'

This marker is of type 'org.eclipse.jdt.core.problem' and has no attribute
'categoryId'.

Maybe this marker better be of type 'buildpath_problem' or have the attribute 'categoryId=10'.
Comment 1 Olivier Thomann CLA 2006-04-06 12:32:30 EDT
Created attachment 37905 [details]
Proposed fix

Kent, could you please review it?
Comment 2 Olivier Thomann CLA 2006-04-06 13:00:36 EDT
Created attachment 37913 [details]
Better patch
Comment 3 Olivier Thomann CLA 2006-04-06 13:00:55 EDT
Created attachment 37914 [details]
Regression tests updated
Comment 4 Olivier Thomann CLA 2006-04-06 15:21:25 EDT
I will release the changes.
Comment 5 Olivier Thomann CLA 2006-04-06 15:21:56 EDT
Fixed and released in HEAD.
Updated existing tests in the builder tests.
Comment 6 Philipe Mulet CLA 2006-04-09 07:24:00 EDT
+1 for 3.2RC1
Comment 7 David Audel CLA 2006-04-13 10:22:00 EDT
Verified for 3.2 RC1 using build I20060413-0010