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

j2ssh | jameyer73 | 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

    stringindexoutofboundsexception

    j2ssh | 8 years ago | jameyer73
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  2. 0

    trying to create ssh tunnel gives protocol exception...

    Oracle Community | 9 years ago | 843811
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  3. 0

    Substring in negotiateVersion() caused runtime exception

    sshtools | 6 years ago | greg-chabala
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 0

    Getting StringIndexOutOfBounds exception with Progress Database

    Stack Overflow | 5 years ago | user954419
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1

  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:1768)
    1 frame
  3. com.sshtools.j2ssh
    TransportProtocolCommon.run
    1. com.sshtools.j2ssh.transport.TransportProtocolCommon.negotiateVersion(Unknown Source)
    2. com.sshtools.j2ssh.transport.TransportProtocolCommon.run(Unknown Source)
    2 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:595)
    1 frame