Community
Participate
Working Groups
In the Extensions tab of the properties page of the XML Schema Editor, if you click the Add button, nothing visibly happens....the Add Extension Components dialog does not appear. This is happening in an adopter product and not in WTP.
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.