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

GitHub | jbzdak | 6 years 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 89#2269933

    GitHub | 6 years ago | jbzdak
    xsjava.lang.StringIndexOutOfBoundsException: String index out of range: -1

    Root Cause Analysis

    1. xsjava.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:1937)
      2. java.lang.String.substring(String.java:1904)
      2 frames
    3. Py4J
      GatewayConnection.run
      1. py4j.Gateway.invoke(Gateway.java:250)
      2. py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:124)
      3. py4j.commands.CallCommand.execute(CallCommand.java:81)
      4. py4j.GatewayConnection.run(GatewayConnection.java:175)
      4 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame