java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

Stack Overflow | E. Maguire | 2 months ago
  1. 0

    Generating random integers to truncate strings in Java

    Stack Overflow | 2 months ago | E. Maguire
    java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
  2. 0

    Failed to load the game

    GitHub | 2 months ago | laenion
    java.lang.RuntimeException: Failed to read the file /home/user/DKII/Data/editor/maps/FrontEnd3DLevel.kwd!
  3. 0

    Java String index out of range: -4

    Stack Overflow | 3 years ago | Gratin
    java.lang.StringIndexOutOfBoundsException: String index out of range: -4
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Marshilling an SAML response object

    Stack Overflow | 3 years ago | user3565706
    java.lang.StringIndexOutOfBoundsException: String index out of range: -4
  6. 0

    RUN BIMServer from SourceCode

    GitHub | 2 years ago | howlDream
    java.lang.StringIndexOutOfBoundsException: String index out of range: -4
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.StringIndexOutOfBoundsException

    String index out of range: -4

    at java.lang.String.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(String.java:1960)
    1 frame
  3. Java EE Connector Architecture API Specification
    Controller.buttonClick
    1. sample.GearUpGame.getNames(GearUpGame.java:50)
    2. sample.Controller.buttonClick(Controller.java:13)
    2 frames
  4. Java RT
    MethodUtil.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    5. sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
    6. sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    7. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    8. java.lang.reflect.Method.invoke(Method.java:498)
    9. sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
    9 frames
  5. javafx.fxml
    FXMLLoader$ControllerMethodEventHandler.handle
    1. javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1771)
    2. javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader.java:1657)
    2 frames
  6. com.sun.javafx
    EventUtil.fireEvent
    1. com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
    2. com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
    3. com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
    4. com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
    5. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
    6. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    7. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    8. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    9. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    10. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    11. com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
    12. com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
    12 frames
  7. javafx.event
    Event.fireEvent
    1. javafx.event.Event.fireEvent(Event.java:198)
    1 frame
  8. javafx.scene
    Node.fireEvent
    1. javafx.scene.Node.fireEvent(Node.java:8411)
    1 frame
  9. FXSampler
    Button.fire
    1. javafx.scene.control.Button.fire(Button.java:185)
    1 frame
  10. com.sun.javafx
    ButtonBehavior.mouseReleased
    1. com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:182)
    1 frame
  11. FXSampler
    BehaviorSkinBase$1.handle
    1. com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:96)
    2. com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:89)
    2 frames
  12. com.sun.javafx
    EventUtil.fireEvent
    1. com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
    2. com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
    3. com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
    4. com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
    5. com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
    6. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
    7. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    8. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    9. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    10. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    11. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    12. com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
    13. com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
    13 frames
  13. javafx.event
    Event.fireEvent
    1. javafx.event.Event.fireEvent(Event.java:198)
    1 frame
  14. javafx.scene
    Scene$ScenePeerListener.mouseEvent
    1. javafx.scene.Scene$MouseHandler.process(Scene.java:3757)
    2. javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485)
    3. javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)
    4. javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494)
    4 frames
  15. com.sun.javafx
    GlassViewEventHandler$MouseEventNotification.run
    1. com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:380)
    2. com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:294)
    2 frames
  16. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  17. com.sun.javafx
    GlassViewEventHandler.handleMouseEvent
    1. com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$354(GlassViewEventHandler.java:416)
    2. com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)
    3. com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:415)
    3 frames
  18. com.sun.glass
    View.notifyMouse
    1. com.sun.glass.ui.View.handleMouseEvent(View.java:555)
    2. com.sun.glass.ui.View.notifyMouse(View.java:937)
    2 frames