java.lang.StringIndexOutOfBoundsException: String index out of range: -2

Coderanch | kalai sundar | 1 decade ago
  1. 0

    JInternalFrame

    Coderanch | 1 decade ago | kalai sundar
    java.lang.StringIndexOutOfBoundsException: String index out of range: -2
  2. 0

    StringIndexOutOfBoundsException in com.googlecode.sardine.SardineImpl.getResources(SardineImpl.java:221)

    GitHub | 4 years ago | dkocher
    java.lang.StringIndexOutOfBoundsException: String index out of range: -2
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    String index out of range while opening php file

    GitHub | 4 years ago | dinamic
    java.lang.StringIndexOutOfBoundsException: String index out of range: -2

  1. archenroot 17 times, last 1 week ago
  2. Alexandru Popa 2 times, last 3 weeks ago
  3. poroszd 3 times, last 3 weeks ago
  4. DoktorDoener666 6 times, last 4 weeks ago
  5. eti22 3 times, last 1 month ago
16 more registered users
58 unregistered visitors
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: -2

    at java.lang.String.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(String.java:1438)
    1 frame
  3. Unknown
    JarLocation$8.actionPerformed
    1. JarLocation.btnCreateActionPerformed(JarLocation.java:297)
    2. JarLocation.access$700(JarLocation.java:28)
    3. JarLocation$8.actionPerformed(JarLocation.java:250)
    3 frames
  4. Java RT
    EventDispatchThread.run
    1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
    2. javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
    3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
    6. java.awt.Component.processMouseEvent(Component.java:5100)
    7. java.awt.Component.processEvent(Component.java:4897)
    8. java.awt.Container.processEvent(Container.java:1569)
    9. java.awt.Component.dispatchEventImpl(Component.java:3615)
    10. java.awt.Container.dispatchEventImpl(Container.java:1627)
    11. java.awt.Component.dispatchEvent(Component.java:3477)
    12. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
    13. java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
    14. java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
    15. java.awt.Container.dispatchEventImpl(Container.java:1613)
    16. java.awt.Window.dispatchEventImpl(Window.java:1606)
    17. java.awt.Component.dispatchEvent(Component.java:3477)
    18. java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    19. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    20. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    21. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    22. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    23. java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    23 frames