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

GitHub | eregon | 1 month 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

    GitHub comment 3144#272654379

    GitHub | 1 month ago | eregon
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  2. 0

    [Truffle] Array#at CreateCast not working

    GitHub | 2 years ago | bjfish
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. filpgame 2 times, last 3 weeks ago
  2. gamebusterz 1 times, last 4 weeks ago
  3. jokester 3 times, last 1 month 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: -1

    at java.lang.String.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(String.java:1967)
    1 frame
  3. org.jruby.truffle
    KernelNodes$RequireRelativeNode.requireRelative
    1. org.jruby.truffle.core.kernel.KernelNodes$RequireRelativeNode.dirname(KernelNodes.java:1330)
    2. org.jruby.truffle.core.kernel.KernelNodes$RequireRelativeNode.getFullPath(KernelNodes.java:1322)
    3. org.jruby.truffle.core.kernel.KernelNodes$RequireRelativeNode.requireRelative(KernelNodes.java:1298)
    3 frames