Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 217072

Summary: BendpointEditPolicy setReferencePoints IndexOutOfBoundsException
Product: [Tools] GEF Reporter: J F <jfrancis>
Component: GEF-Legacy GEF (MVC)Assignee: gef-inbox <gef-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows Server 2003   
Whiteboard:

Description J F CLA 2008-01-30 06:33:38 EST
Build ID: M20070921-1145

Steps To Reproduce:
1.Create a new GEF Logic Diagram example.
2.Create an OR Gate and an XOR Gate and join them with a Connection.
3. Grab a mid point of the connection and drag it around "violently" but still within the diagram


More information:
Windows Server 2003 across Remote Desktop

Stack Trace:

java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
at org.eclipse.draw2d.geometry.PointList.getPoint(PointList.java:189)
at org.eclipse.gef.editpolicies.BendpointEditPolicy.setReferencePoints(BendpointEditPolicy.java:290)
at org.eclipse.gef.editpolicies.BendpointEditPolicy.showMoveBendpointFeedback(BendpointEditPolicy.java:342)
at org.eclipse.gef.editpolicies.BendpointEditPolicy.showSourceFeedback(BendpointEditPolicy.java:375)
at org.eclipse.gef.editparts.AbstractEditPart.showSourceFeedback(AbstractEditPart.java:974)
at org.eclipse.gef.tools.SimpleDragTracker.showSourceFeedback(SimpleDragTracker.java:229)
at org.eclipse.gef.tools.SimpleDragTracker.handleDragInProgress(SimpleDragTracker.java:137)
at org.eclipse.gef.tools.AbstractTool.mouseDrag(AbstractTool.java:983)
at org.eclipse.gef.tools.SelectionTool.mouseDrag(SelectionTool.java:511)
at org.eclipse.gef.EditDomain.mouseDrag(EditDomain.java:226)
at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseMoved(DomainEventDispatcher.java:357)
at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseMove(LightweightSystem.java:533)

I put more information on the newsgroup under the title of the Summary
Comment 1 J F CLA 2008-01-30 06:38:26 EST

*** This bug has been marked as a duplicate of bug 122754 ***