java.lang.StringIndexOutOfBoundsException: String index out of range: 0

Oracle Community | 843797 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Exceptions in my FTP programme

    Oracle Community | 1 decade ago | 843797
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  2. 0

    StringIndexOutofBounds Exception while doing FTP operation

    Oracle Community | 1 decade ago | 807553
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  3. 0

    JUnit Testing Utility Tutorial

    ac.uk | 1 year ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JUnit Testing Utility Tutorial

    ac.uk | 7 months ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  6. 0

    Problem trying to use SnippetType.CAMELCASE setting in eclipse

    GitHub | 2 years ago | tjfbirch
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0

  1. tyson925 1 times, last 1 month ago
  2. Torasque 1 times, last 2 months ago
  3. Hronom 32257 times, last 2 months ago
  4. filpgame 6 times, last 2 months ago
  5. harshg 2 times, last 5 months ago
9 more registered users
18 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: 0

    at java.lang.String.charAt()
  2. Java RT
    String.charAt
    1. java.lang.String.charAt(String.java:455)
    1 frame
  3. Unknown
    JEditor$FTPUpload.actionPerformed
    1. FTPConnection.getFullServerReply(FTPConnection.java:312)
    2. FTPConnection.getServerReply(FTPConnection.java:296)
    3. FTPConnection.executeCommand(FTPConnection.java:329)
    4. FTPConnection.login(FTPConnection.java:107)
    5. JEditor$FTPUpload.checkTF(JEditor.java:2755)
    6. JEditor$FTPUpload.actionPerformed(JEditor.java:2783)
    6 frames
  4. Java RT
    EventDispatchThread.run
    1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
    2. javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
    3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
    4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
    5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:258)
    6. java.awt.Component.processMouseEvent(Component.java:5021)
    7. java.awt.Component.processEvent(Component.java:4818)
    8. java.awt.Container.processEvent(Container.java:1380)
    9. java.awt.Component.dispatchEventImpl(Component.java:3526)
    10. java.awt.Container.dispatchEventImpl(Container.java:1437)
    11. java.awt.Component.dispatchEvent(Component.java:3367)
    12. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
    13. java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
    14. java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
    15. java.awt.Container.dispatchEventImpl(Container.java:1423)
    16. java.awt.Window.dispatchEventImpl(Window.java:1566)
    17. java.awt.Component.dispatchEvent(Component.java:3367)
    18. java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
    19. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
    20. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
    21. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    22. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
    23. java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
    23 frames