Community
Participate
Working Groups
The implementation of registerAccessibleEditPart and unregisterAccessibleEditPart uses the return of getEventDispatcher without checking if it is null or not This cause null pointer exception in some cases, for example is my edit part classes return an accessible edit part and i'm hosting them in a viewer that had no editDomain set on it (the set edit domain method had not been called on the Viewer instance). Then we will get a null pointer exception this should be a trivial change to just add the null value check in both methods before calling removeAccessible and putAccessible
Can you create a quick patch for this issue?
Created attachment 86012 [details] patch
Committed the patch to HEAD.
*** Bug 210204 has been marked as a duplicate of this bug. ***
Also committed to R33_Maintenance