go.agent.service.SslInfrastructureService: 104 - [Agent Registration] There was a problem registering with the go server. *java.lang.StringIndexOutOfBoundsException: String index out of range: -4*

Google Groups | Jeff | 2 months ago
  1. 0

    StringIndexOutOfBoundsException: String index out of range: -4

    Google Groups | 2 months ago | Jeff
    go.agent.service.SslInfrastructureService: 104 - [Agent Registration] There was a problem registering with the go server. *java.lang.StringIndexOutOfBoundsException: String index out of range: -4*

    Root Cause Analysis

    1. go.agent.service.SslInfrastructureService

      104 - [Agent Registration] There was a problem registering with the go server. *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.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 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