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

tip
Do you find the tips below useful? Click on the to mark them and say thanks to rp . Or join the community to write better ones.
  1. 0

    How to Test if Input String is Null in Java

    Stack Overflow | 7 months ago | Jordan Lee Burnes
    java.lang.StringIndexOutOfBoundsException: String index out of range: 1
  2. 0
    samebug tip
    You need to make sure that capitalisation of the case for the plugin in the properties file is exactly: "AllocinePlugin" and not "allocineplugin"
    via GitHub by Omertron
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Script to capitalize first char of first two words through split returning java.lang.StringIndexOutOfBoundsException

    Stack Overflow | 10 months ago | DAMDANIEL
    java.lang.StringIndexOutOfBoundsException: String index out of range: 1
  5. 0

    Validate user input to only accept type int or String "quit"

    Stack Overflow | 6 months ago | Uysal M
    java.lang.StringIndexOutOfBoundsException: String index out of range: 1

  1. osvzs 1 times, last 2 weeks ago
  2. Indri Yunita 7 times, last 4 weeks ago
  3. Pilleo 1 times, last 1 month ago
  4. Andreas Häber 2 times, last 2 months ago
  5. QrCeric 1 times, last 2 months ago
25 more registered users
59 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: 1

    at java.lang.String.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(String.java:1963)
    1 frame
  3. Unknown
    WordStart.main
    1. WordStart.main(WordStart.java:8)
    1 frame