Summary: | [Dialogs] Error dialog looks bad if status message is null | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Dani Megert <daniel_megert> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.1 | ||
Target Milestone: | 2.1 M5 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Dani Megert
2002-11-28 05:06:36 EST
It is not possible within the API for Status to create one with a null value (see Status setMessage() which does an assert check for null). The real issue here is that it is possible to create a Status with a method of null - where did this happen? JavaModelStatus.getMessage returns null. Seems that this violates the API spec. Marking as Worksforme as you cannot have a status with a null message. Reopening and moving to JCore: Platform UI correctly claims that null message is illegal according to API of IStatus.getMessage Pls investigate. Made change suggested by Dani. Verified. |