Summary: | Null Pointer Exception entering Body Text (1GFL5O3) | ||
---|---|---|---|
Product: | [Eclipse Project] PDE | Reporter: | Tod Creasey <Tod_Creasey> |
Component: | UI | Assignee: | Dejan Glozic <dejan> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
Tod Creasey
2001-10-10 21:39:41 EDT
PRODUCT VERSION: 125 This can happen if an extension is selected. Body text can only be applied to extension elements, not to the 'extension' itself. Because of this, the current element field is set to null. An attempt to 'apply' text to null element results in null pointer exception. The fix is to make text area read-only when selected element is not of the right type and/or is null. When text cannot be entered, 'Apply' button cannot be enabled, thus avoiding the null pointer problem. |