Summary: | NullPointerException in Intro plugin | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | David Pickens <pickens> | ||||
Component: | User Assistance | Assignee: | Dejan Glozic <dejan> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P1 | CC: | Mike_Wilson, wassim.melhem | ||||
Version: | 3.2 | ||||||
Target Milestone: | 3.2 RC4 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
David Pickens
2006-05-05 18:24:46 EDT
An RC4 candidate. Confirmed - all that is needed is to place an empty element for the title: <title style-id="intro-header"></title> The fix is trivial - we need to short-circuit the null argument. The fix is attached as a patch. Created attachment 40662 [details]
The fix for the Welcome NPE.
Wassim, need your +1 for this defect. McQ, need a vote as per RC4 rules of engagement. +1. Fix is trivial and localized. For voters, the fix above is probably as sweet as it gets for RC4 - we missed a case where the text passeed to the method could be NULL in rare cases. Barfing it out in immediately is the right thing to do and solves this problem. Eclipse does not see this problem because it is unusual to specify the title element but leave it empty, and we have non-null titles. +1 Released. |