Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 217072 - BendpointEditPolicy setReferencePoints IndexOutOfBoundsException
Summary: BendpointEditPolicy setReferencePoints IndexOutOfBoundsException
Status: RESOLVED DUPLICATE of bug 122754
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy GEF (MVC) (show other bugs)
Version: 3.3.1   Edit
Hardware: PC Windows Server 2003
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-30 06:33 EST by J F CLA
Modified: 2008-01-30 06:38 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***