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

Coderanch | Dhan Priyan | 8 years ago
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

    read the contents of the Directory & then read a file from the directory

    Coderanch | 8 years ago | Dhan Priyan
    java.lang.StringIndexOutOfBoundsException: String index out of range: 2
  2. 0

    read the contents of the Directory & then read a file from the directory

    Coderanch | 8 years ago | Dhan Priyan
    java.lang.StringIndexOutOfBoundsException: String index out of range: 2
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Throws StringIOOBException with certain insertions

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

    java.lang.StringIndexOutOfBoundsException while building from /

    GitHub | 2 years ago | nettoyeur
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.2.0:nar-compile (default-nar-compile) on project nar-maven-plugin-issue: Execution default-nar-compile of goal com.github.maven-nar:nar-maven-plugin:3.2.0:nar-compile failed: String index out of range: 2

  1. filpgame 2 times, last 3 weeks ago
  2. gamebusterz 1 times, last 4 weeks ago
  3. jokester 3 times, last 2 months ago
  4. richard77 2 times, last 2 months ago
  5. MoYapro 1 times, last 2 months ago
21 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:1935)
    1 frame
  3. Unknown
    CompareList.main
    1. CompareList.main(CompareList.java:84)
    1 frame