java.lang.IndexOutOfBoundsException

Index: 1, Size: 1


Samebug tips1

Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web7176

Solution icon of bugzilla
Index: -1, Size: 1

Solution icon of bugzilla
via Eclipse Bugzilla by dj.houghton, 1 month ago
Index: 1, Size: 1

Solution icon of bugzilla
via https://bugzilla.redhat.com/bugzilla/ by Jeff Weiss, 1 year ago
Index: 1, Size: 1

Solution icon of bugzilla
via Netbeans Bugzilla by lordmckagan, 1 year ago
Index: 1, Size: 1

Solution icon of bugzilla
via Netbeans Bugzilla by jiriprox, 1 year ago
Index: 1, Size: 1

Solution icon of github
Index: 1, Size: 1

Solution icon of github
Index: 1, Size: 1

Solution icon of github
via GitHub by ChuckConnell
, 1 year ago
Index: 1, Size: 1

Solution icon of github
via GitHub by wildfly-ci
, 1 year ago
Index: 1, Size: 1

Stack trace

  • java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at edu.kit.student.joana.methodgraph.MethodGraphLayout.assignCoordinatesToDummiesOnLayer(MethodGraphLayout.java:317) at edu.kit.student.joana.methodgraph.MethodGraphLayout.drawEdgesNew(MethodGraphLayout.java:250) at edu.kit.student.joana.methodgraph.MethodGraphLayout.lambda$layout$0(MethodGraphLayout.java:123) at java.lang.Iterable.forEach(Iterable.java:75) at edu.kit.student.joana.methodgraph.MethodGraphLayout.layout(MethodGraphLayout.java:123) at edu.kit.student.joana.methodgraph.MethodGraphLayout.layout(MethodGraphLayout.java:48) at edu.kit.student.joana.methodgraph.MethodGraphLayoutOption.applyLayout(MethodGraphLayoutOption.java:41) at edu.kit.student.gui.GAnsApplication.openGraph(GAnsApplication.java:610) at edu.kit.student.gui.GAnsApplication.openGraph(GAnsApplication.java:600) at edu.kit.student.gui.GAnsMediator.openGraph(GAnsMediator.java:28) at edu.kit.student.gui.GraphView.lambda$null$0(GraphView.java:148) at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49) at javafx.event.Event.fireEvent(Event.java:198) at javafx.scene.control.MenuItem.fire(MenuItem.java:462) at edu.kit.student.gui.GraphViewSelectionController$SelectionGestures$3.handle(GraphViewSelectionController.java:209) at edu.kit.student.gui.GraphViewSelectionController$SelectionGestures$3.handle(GraphViewSelectionController.java:199) at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218) at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191) at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54) at javafx.event.Event.fireEvent(Event.java:198) at javafx.scene.Scene$MouseHandler.process(Scene.java:3757) at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485) at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762) at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494) at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:381) at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$354(GlassViewEventHandler.java:417) at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389) at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:416) at com.sun.glass.ui.View.handleMouseEvent(View.java:555) at com.sun.glass.ui.View.notifyMouse(View.java:937) at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) at com.sun.glass.ui.gtk.GtkApplication.lambda$null$49(GtkApplication.java:139) at java.lang.Thread.run(Thread.java:745)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

2 times, 2 months ago
2 times, 3 months ago
12 times, 3 months ago
Once, 4 months ago
3 times, 5 months ago
243 more bugmates