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

Oracle Community | 807592 | 2 decades ago
  1. 0

    Need Help Getting A Context Free Grammar Generator Working

    Oracle Community | 2 decades ago | 807592
    java.lang.StringIndexOutOfBoundsException: String ind ex out of range: 2
  2. 0

    StringIndexOutOfBoundsException in com.googlecode.sardine.SardineImpl.getResources(SardineImpl.java:221)

    GitHub | 4 years ago | dkocher
    java.lang.StringIndexOutOfBoundsException: String index out of range: -2
  3. 0

    warning at java.lang.StringIndexOutOfBoundsException: length=75; regionStart=0; regionLength=100

    Stack Overflow | 2 years ago | Oscar
    java.lang.StringIndexOutOfBoundsException: length=75; regionStart=0; regionLength=100 11-19 12:40:47.086: W/System.err(1644): at java.lang.String.startEndAndLength(String.java:588)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to fix the ERROR [[jsp]] Servlet.service() for servlet jsp threw exception?

    Stack Overflow | 2 years ago | balaguru
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  6. 0

    GitHub comment 145#164466068

    GitHub | 12 months ago | abdullahumer
    java.lang.StringIndexOutOfBoundsException: length=10; regionStart=10; regionLength=-11

  1. richard77 2 times, last 2 days ago
  2. kjhdofjosvs 2 times, last 6 days ago
  3. archenroot 17 times, last 2 weeks ago
  4. Alexandru Popa 2 times, last 3 weeks ago
  5. poroszd 3 times, last 4 weeks ago
18 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 ind ex out of range: 2

    at java.lang.String.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(String.java:1500)
    1 frame
  3. Unknown
    Generator.main
    1. Generator.FindCat(Generator.java:48)
    2. Generator.Generate_Sentence(Generator.java:28)
    3. Generator.main(Generator.java:16)
    3 frames