Community
Participate
Working Groups
Build Identifier: org.eclipse.gmf.runtime.diagram.core_1.4.0.v20100331-2359 Using org.eclipse.gmf.runtime.diagram.core_1.4.0.v20100331-2359. DiagramEventBroker.initializeDiagramEventBroker(TransactionalEditingDomain) fails to check if the WeakReference's get() method returns null, resulting in a null DiagramEventBroker being returned and unpredictable behavior by anything which obtains the DiagramEventBroker and then decides to use it. Ideally, the initialize method should reconstruct and return a properly initialized DiagramEventBroker even when the get() method returns null. Reproducibility will depend on your version of Java and, in particular, the garbage collection. Patch attached. Reproducible: Sometimes
Created attachment 204396 [details] Patch for DiagramEventBroker
Committed to gmf-R1_4_maintenance Tagged the bundle as v20120214-0143
Committing to HEAD (1.6.0) for Juno
Not sure what happened, but this was put into an older maintenance stream (1.4.3) but not Juno. I have now delivered into Juno for 1.6.1 and also head for 1.7.