Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by PatrickPenguinTurtle
, 1 year ago
java.lang.reflect.InvocationTargetException
via GitHub by PatrickPenguinTurtle
, 1 year ago
java.lang.reflect.InvocationTargetException
via GitHub by ege1358
, 1 year ago
java.lang.reflect.InvocationTargetException
via GitHub by nollchr
, 1 year ago
java.lang.reflect.InvocationTargetException
via GitHub by vatbub
, 1 year ago
java.lang.reflect.InvocationTargetException
via Stack Overflow by Liz3
, 6 months ago
java.lang.reflect.InvocationTargetException
java.lang.IndexOutOfBoundsException: index (-1) must not be negative	at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:310)	at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:293)	at com.google.common.collect.RegularImmutableList.get(RegularImmutableList.java:67)	at edu.wpi.grip.core.serialization.SocketConverter.unmarshal(SocketConverter.java:121)	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)	at edu.wpi.grip.core.serialization.StepConverter.unmarshal(StepConverter.java:74)	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:73)	at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:98)	at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91)	at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:85)	at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:503)	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:429)	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:281)	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)	at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1230)	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1214)	at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1085)	at edu.wpi.grip.core.serialization.Project.open(Project.java:110)	at edu.wpi.grip.core.serialization.Project.open(Project.java:89)	at edu.wpi.grip.ui.MainWindowController.openProject(MainWindowController.java:164)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)	at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)	at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1771)	at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader.java:1657)	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 com.sun.javafx.scene.control.skin.ContextMenuContent$MenuItemContainer.doSelect(ContextMenuContent.java:1405)	at com.sun.javafx.scene.control.skin.ContextMenuContent$MenuItemContainer.lambda$createChildren$343(ContextMenuContent.java:1358)	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.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:380)	at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:294)	at java.security.AccessController.doPrivileged(Native Method)	at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$354(GlassViewEventHandler.java:416)	at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)	at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:415)	at com.sun.glass.ui.View.handleMouseEvent(View.java:555)	at com.sun.glass.ui.View.notifyMouse(View.java:937)