Community
Participate
Working Groups
DiagramDocumentProvider throws NullPointerException when ActivationListener brings a message dialog which results in running event loop. Async Resource Events are processed at that time, resulting in processing of delete resource event. See the attached modified version of DiagramDocumentProvider. Summary of modification. #handleEditorInputChanged is with a isHandlingElementDeletion flag which is set whenever delete is processed as part of activation. ElementStateListener#elementDeleted uses this flag before handling deletion
Created attachment 45290 [details] DiagramDocumentEditor DiagramDocumentEditor.java with changes
A patch for this is merged with a patch attached to https://bugs.eclipse.org/bugs/show_bug.cgi?id=149986
Committed the fix to R1_0_maintenance
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug