java.lang.StringIndexOutOfBoundsException: String ind ex out of range: 12

Oracle Community | 807553 | 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

    String.split() function - JDK 1.4

    Oracle Community | 1 decade ago | 807553
    java.lang.StringIndexOutOfBoundsException: String ind ex out of range: 12

    Root Cause Analysis

    1. java.lang.StringIndexOutOfBoundsException

      String ind ex out of range: 12

      at java.lang.String.substring()
    2. Java RT
      String.split
      1. java.lang.String.substring(Unknown Source)
      2. java.lang.String.subSequence(Unknown Source)
      3. java.util.regex.Pattern.split(Unknown Source)
      4. java.lang.String.split(Unknown Source)
      5. java.lang.String.split(Unknown Source)
      5 frames
    3. Unknown
      SplitIt.main
      1. SplitIt.main(SplitIt.java:8)
      1 frame