| Summary: | [editor] Add Extensions Components Dialog does not appear | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Keith Chong <keith.chong.ca> | ||||
| Component: | wst.xsd | Assignee: | Keith Chong <keith.chong.ca> | ||||
| Status: | CLOSED FIXED | QA Contact: | Keith Chong <keith.chong.ca> | ||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | david_williams, ivanc, nsand.dev, thatnitind | ||||
| Version: | 3.2.3 | Flags: | david_williams:
pmc_approved+
nsand.dev: pmc_approved? (raghunathan.srinivasan) nsand.dev: pmc_approved? (naci.dai) nsand.dev: pmc_approved? (deboer) nsand.dev: pmc_approved? (neil.hauge) nsand.dev: pmc_approved? (kaloyan) nsand.dev: review+ thatnitind: review+ |
||||
| Target Milestone: | 3.2.3 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | PMC_approved | ||||||
| Attachments: |
|
||||||
|
Description
Keith Chong
Created attachment 187536 [details]
Apply to org.eclipse.wst.xsd.ui
The problem is that there is a NullPointerException in BaseCommand. The adopter was passing a null String to the Extensible*Commands which inherit from BaseCommand. The BaseCommand should guard against a null string. 1. Explain why you believe this is a stop-ship defect. Or, if it is a "hotbug" (requested by an adopter) please document it as such. Requested by adopter. 2. Is there a work-around? If so, why do you believe the work-around is insufficient? No, the dialog does not appear at all. 3. How has the fix been tested? Is there a test case attached to the bugzilla record? Has a JUnit Test been added? Tested manually in adopter product and is fixed. 4. Give a brief technical overview. Who has reviewed this fix? In BaseCommand, the string 'label' was referenced but did not check that it could be null. Yen Lu reviewed this fix. 5. What is the risk associated with this fix? Low. The fix just guards against a null string. Hi Nitin, please review and submit for PMC approval. Thanks in advance. Patch looks appropriate. I approve. Flagging for PMC approval. I released this for 3.2.3. Verified in Smoke Test R323 01272011. Thanks Ivan, closing bug. |