Community
Participate
Working Groups
Build Identifier: I20110613-1736 The ObstructionExample.java Draw2d example does not protect itself against NullPointerExceptions and unaesthetic appearances. If an EllipseDragFigure does not have an oFigure, the access to the attribute causes the example to crash. Besides, the creation of a target ellipse does not work properly if you create a source ellipse and delete it before creating its target. Moreover, the path between the two ellipses is not drawn correctly if the source ellipse gets dragged to another location after it was created. Reproducible: Always Steps to Reproduce: 1. Create an ellipse (right mouse button) 2. Delete it (right mouse button) 3. NPE
Created attachment 202305 [details] Patch for the ObstructionExample.java example application
Comment on attachment 202305 [details] Patch for the ObstructionExample.java example application Looks good. You already know the game.... Can you please confirm that you have written 100% of the code and have the right to contribute it under terms of the EPL.
(In reply to comment #2) > Comment on attachment 202305 [details] > Patch for the ObstructionExample.java example application > > Looks good. You already know the game.... Can you please confirm that you have > written 100% of the code and have the right to contribute it under terms of the > EPL. I have written 100% of the code and I have the right to contribute it under the terms of the EPL.
Committed patch to cvs HEAD as well as R_3_7_maintenance branch. Resolving as fixed.