Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #359927 +++ 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.
This bug is to commit code to WTP 3.3.2 and 3.4.0
Created attachment 204910 [details] Proposed patch for 3.3.2 and 3.4 The patch was generated using R3_3_maintenance (3.3.2) but I verified it can be applied to HEAD (3.4) also.
Just pinging to remind about the pending review.
Code committed to R3_3_maintenance and HEAD for WTP 3.3.2 and 3.4. Resolving bug.