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

GitHub | tomzo | 3 months ago
  1. 0

    GitHub comment 2464#244779458

    GitHub | 3 months ago | tomzo
    java.lang.StringIndexOutOfBoundsException: String index out of range: -4
  2. 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
  3. 0

    Pending agent shows a misleading stack trace

    GitHub | 5 months ago | arvindsv
    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

  1. harshg 2 times, last 2 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(String.java:658)
    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:43)
    2. com.thoughtworks.go.agent.service.SslInfrastructureService$RemoteRegistrationRequester.readResponse(SslInfrastructureService.java:186)
    3. com.thoughtworks.go.agent.service.SslInfrastructureService$RemoteRegistrationRequester.requestRegistration(SslInfrastructureService.java:178)
    4. com.thoughtworks.go.agent.service.SslInfrastructureService.register(SslInfrastructureService.java:102)
    5. com.thoughtworks.go.agent.service.SslInfrastructureService.registerIfNecessary(SslInfrastructureService.java:86)
    6. com.thoughtworks.go.agent.AgentController.rpcLoop(AgentController.java:181)
    7. com.thoughtworks.go.agent.AgentController.loop(AgentController.java:173)
    7 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:606)
    3 frames
  7. Spring Core
    MethodInvoker.invoke
    1. org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:273)
    1 frame
  8. Spring Context
    DelegatingTimerTask.run
    1. org.springframework.scheduling.support.MethodInvokingRunnable.run(MethodInvokingRunnable.java:65)
    2. org.springframework.scheduling.timer.DelegatingTimerTask.run(DelegatingTimerTask.java:70)
    2 frames
  9. Java RT
    TimerThread.run
    1. java.util.TimerThread.mainLoop(Timer.java:555)
    2. java.util.TimerThread.run(Timer.java:505)
    2 frames