Community
Participate
Working Groups
While fixing bug 357558, I added some clean up code in the dispose method of class FacetProjectCreationDataModelProvider, that included removing a listener from nestedProjectDM and setting the data model to null. But there can be cases in which the FacetProjectCreationDataModelProvider is disposed twice, and in those cases, a NPE will be thrown when running this line: IDataModel nestedProjectDM = model.getNestedModel(NESTED_PROJECT_DM); A null check should be added to protect the method from throwing the NPE if the FacetProjectCreationDataModelProvider is disposed twice. Marking as major because is affecting an adopter.
Created attachment 204555 [details] Proposed fix
Code committed to R3_2_maintenance for WTP 3.2.5.
This code cannot be committed to HEAD until bug 357846 is resolved. So, I will clone this bug, make the clone depending on bug 357846, and resolve this bug.