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

Stack Overflow | Josef Buchko | 4 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Why won't stringName.charAt work here? or is there something else wrong

    Stack Overflow | 4 months ago | Josef Buchko
    java.lang.StringIndexOutOfBoundsException: String index out of range: 1
  2. 0

    Adding hyperlink to Excel while using Jexcelapi JAVA library

    Stack Overflow | 5 years ago | user1205275
    java.lang.StringIndexOutOfBoundsException: String index out of range: 1
  3. 0

    IndexOutOfBoundsException, no clear cause

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

    Automated exception search integrated into your IDE

  5. 0

    Java lang stringindexoutofboundsexception string index out of range 1 - Java Programming - KnowCoding.com

    knowcoding.com | 11 months ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: 1
  6. 0

    Java lang stringindexoutofboundsexception string index out of range 1 - Java Programming Help - KnowCoding.com

    knowcoding.com | 11 months ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: 1

  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: 1

    at java.lang.String.charAt()
  2. Java RT
    String.charAt
    1. java.lang.String.charAt(Unknown Source)
    1 frame
  3. Unknown
    BattleShip.main
    1. BattleShip.main(Battleship.java:17)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames