java.lang.RuntimeException

Failed to start Go server.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web41378

  • Failed to start Go server.
  • via GitHub by jdsubz
    , 1 year ago
    Failed to start Go server.
  • Server failed to start up in 60 seconds
  • Stack trace

    • java.lang.RuntimeException: Failed to start Go server. at com.thoughtworks.go.server.GoServer.startServer(GoServer.java:78) at com.thoughtworks.go.server.DevelopmentServer.main(DevelopmentServer.java:71) Caused by: java.lang.RuntimeException: org.bouncycastle.crypto.DataLengthException: last block incomplete in decryption at com.thoughtworks.go.server.initializers.ApplicationInitializer.onApplicationEvent(ApplicationInitializer.java:146) at com.thoughtworks.go.server.initializers.ApplicationInitializer.onApplicationEvent(ApplicationInitializer.java:51) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:327) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:941) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:475) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800) at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444) at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294) at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) at org.eclipse.jetty.server.Server.start(Server.java:387) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) at org.eclipse.jetty.server.Server.doStart(Server.java:354) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at com.thoughtworks.go.server.Jetty9Server.start(Jetty9Server.java:93) at com.thoughtworks.go.server.GoServer.startServer(GoServer.java:72) ... 1 more Caused by: org.bouncycastle.crypto.DataLengthException: last block incomplete in decryption at org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher.doFinal(Unknown Source) at com.thoughtworks.go.security.GoCipher.decipher(GoCipher.java:68) at com.thoughtworks.go.security.GoCipher.decrypt(GoCipher.java:48) at com.thoughtworks.go.config.materials.svn.SvnMaterialConfig.currentPassword(SvnMaterialConfig.java:157) at com.thoughtworks.go.config.materials.svn.SvnMaterialConfig.getPassword(SvnMaterialConfig.java:147) at com.thoughtworks.go.config.materials.svn.SvnMaterial.<init>(SvnMaterial.java:93) at com.thoughtworks.go.config.materials.Materials.convertToMaterial(Materials.java:246) at com.thoughtworks.go.config.materials.Materials.<init>(Materials.java:72) at com.thoughtworks.go.server.service.MaterialConfigConverter.toMaterial(MaterialConfigConverter.java:63) at com.thoughtworks.go.server.service.MaterialConfigConverter.toMaterials(MaterialConfigConverter.java:80) at com.thoughtworks.go.server.materials.MaterialUpdateService.updateSchedulableMaterials(MaterialUpdateService.java:257) at com.thoughtworks.go.server.materials.MaterialUpdateService.onConfigChange(MaterialUpdateService.java:217) at com.thoughtworks.go.config.CachedGoConfig.registerListener(CachedGoConfig.java:200) at com.thoughtworks.go.config.GoConfigDao.registerListener(GoConfigDao.java:136) at com.thoughtworks.go.server.service.GoConfigService.register(GoConfigService.java:412) at com.thoughtworks.go.server.materials.MaterialUpdateService.initialize(MaterialUpdateService.java:104) at com.thoughtworks.go.server.initializers.ApplicationInitializer.onApplicationEvent(ApplicationInitializer.java:125) ... 30 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago