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

GitHub | arvindsv | 5 months ago
  1. 0

    Pending agent shows a misleading stack trace

    GitHub | 5 months ago | arvindsv
    java.lang.StringIndexOutOfBoundsException: String index out of range: -4
  2. 0

    GitHub comment 2464#244779458

    GitHub | 3 months ago | tomzo
    java.lang.StringIndexOutOfBoundsException: String index out of range: -4
  3. 0

    Lost contact: There was a problem registering with the go server, String index out of range: -4

    Google Groups | 2 months ago | Unknown author
    java.lang.StringIndexOutOfBoundsException: String index out of range: -4
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Enable agent debug log

    Google Groups | 5 months ago | Gerd Katzenbeisser
    java.lang.StringIndexOutOfBoundsException: String index out of range: -4
  6. 0

    CLOB in BI Publisher Reports

    Oracle Community | 4 years ago | Guest_0607
    java.lang.StringIndexOutOfBoundsException: String index out of range: 11696

  1. harshg 2 times, last 3 months ago
  2. balintn 4 times, last 3 months ago
  3. poroszd 1 times, last 3 months ago
  4. Stefan Braune 1 times, last 5 months ago
  5. mauritius 1 times, last 5 months ago
6 more registered users
18 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: -4

    at java.lang.String.charAt()
  2. Java RT
    String.charAt
    1. java.lang.String.charAt(Unknown Source)
    1 frame
  3. BouncyCastle
    Base64.decode
    1. org.bouncycastle.util.encoders.Base64Encoder.decode(Unknown Source)
    2. org.bouncycastle.util.encoders.Base64.decode(Unknown Source)
    2 frames
  4. Bouncy Castle Provider
    PemReader.readPemObject
    1. org.bouncycastle.util.io.pem.PemReader.loadObject(Unknown Source)
    2. org.bouncycastle.util.io.pem.PemReader.readPemObject(Unknown Source)
    2 frames
  5. com.thoughtworks.go
    AgentController.loop
    1. com.thoughtworks.go.security.Registration.fromJson(Registration.java:49)
    2. com.thoughtworks.go.agent.service.SslInfrastructureService$RemoteRegistrationRequester.readResponse(SslInfrastructureService.java:202)
    3. com.thoughtworks.go.agent.service.SslInfrastructureService$RemoteRegistrationRequester.requestRegistration(SslInfrastructureService.java:195)
    4. com.thoughtworks.go.agent.service.SslInfrastructureService.register(SslInfrastructureService.java:110)
    5. com.thoughtworks.go.agent.service.SslInfrastructureService.registerIfNecessary(SslInfrastructureService.java:94)
    6. com.thoughtworks.go.agent.AgentController.rpcLoop(AgentController.java:173)
    7. com.thoughtworks.go.agent.AgentController.loop(AgentController.java:165)
    7 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    3. java.lang.reflect.Method.invoke(Unknown Source)
    3 frames