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

Jenkins JIRA | Jorge Araya Navarro | 2 years ago
  1. 0

    I have a customized Windows 2008 image on Rackspace and I'm trying to create slave nodes with it. However, I get this error when I try to create a new node: {code} jun 15, 2014 11:19:15 AM Información jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate get Provisioning new jclouds node jun 15, 2014 11:19:15 AM Información jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate get Setting image id to DFW/e839c829-52f3-4fc9-8cf1-615acde742fc jun 15, 2014 11:19:15 AM Información jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate get Setting hardware Id to DFW/performance1-2 jun 15, 2014 11:19:15 AM Información jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate get Setting location Id to DFW jun 15, 2014 11:19:15 AM Información org.jclouds.logging.jdk.JDKLogger logInfo >> searching params({imageId=DFW/e839c829-52f3-4fc9-8cf1-615acde742fc, locationId=DFW, hardwareId=DFW/performance1-2}) jun 15, 2014 11:19:36 AM Información org.jclouds.logging.jdk.JDKLogger logInfo << matched image(DFW/e839c829-52f3-4fc9-8cf1-615acde742fc) hardware(DFW/performance1-2) location(DFW) jun 15, 2014 11:19:36 AM Información jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate get Setting userData to jun 15, 2014 11:19:36 AM Información org.jclouds.logging.jdk.JDKLogger logInfo >> running 1 node group(windows2008-exebuilder) location(DFW) image(DFW/e839c829-52f3-4fc9-8cf1-615acde742fc) hardwareProfile(DFW/performance1-2) options({loginUser=Administrator, loginPasswordPresent=true, loginPrivateKeyPresent=true, scriptPresent=true, userMetadata={Name=windows2008-exebuilder}, autoAssignFloatingIp=false, userData=[B@7d2d00a4, configDrive=false}) jun 15, 2014 11:19:39 AM Información org.jclouds.logging.jdk.JDKLogger logInfo >> adding node location(DFW) name(windows2008-exebuilder-122) image(e839c829-52f3-4fc9-8cf1-615acde742fc) hardware(performance1-2) jun 15, 2014 11:19:39 AM Información org.jclouds.logging.jdk.JDKLogger logInfo >> creating new server zone(DFW) name(windows2008-exebuilder-122) image(e839c829-52f3-4fc9-8cf1-615acde742fc) flavor(performance1-2) options({metadata={Name=windows2008-exebuilder, jclouds-group=windows2008-exebuilder}, userData=, configDrive=false}) jun 15, 2014 11:19:40 AM Información org.jclouds.logging.jdk.JDKLogger logInfo << PENDING node(DFW/ed078da2-6e24-4b4f-91ee-05995658238a) jun 15, 2014 11:20:52 AM Información hudson.model.AsyncPeriodicWork$1 run Started JClouds slave cleanup jun 15, 2014 11:20:52 AM Información hudson.model.AsyncPeriodicWork$1 run Finished JClouds slave cleanup. 0 ms jun 15, 2014 11:25:52 AM Información hudson.model.AsyncPeriodicWork$1 run Started JClouds slave cleanup jun 15, 2014 11:25:52 AM Información hudson.model.AsyncPeriodicWork$1 run Finished JClouds slave cleanup. 0 ms jun 15, 2014 11:30:52 AM Información hudson.model.AsyncPeriodicWork$1 run Started JClouds slave cleanup jun 15, 2014 11:30:52 AM Información hudson.model.AsyncPeriodicWork$1 run Finished JClouds slave cleanup. 0 ms jun 15, 2014 11:31:23 AM Información org.jclouds.logging.jdk.JDKLogger logInfo >> blocking on sockets [23.253.94.12:22, 10.208.4.17:22] for 600000 MILLISECONDS jun 15, 2014 11:31:25 AM Información org.jclouds.logging.jdk.JDKLogger logInfo << socket 23.253.94.12:22 opened jun 15, 2014 11:31:25 AM Información net.schmizz.sshj.common.SecurityUtils$BouncyCastleRegistration run BouncyCastle already registered as a JCE provider jun 15, 2014 11:31:26 AM Información net.schmizz.sshj.transport.TransportImpl init Client identity string: SSH-2.0-SSHJ_0_8_1_SNAPSHOT jun 15, 2014 11:31:26 AM Información net.schmizz.sshj.transport.TransportImpl init Server identity string: SSH-2.0-SilverSHielD jun 15, 2014 11:31:27 AM Información net.schmizz.sshj.transport.TransportImpl$1 notifyDisconnect Disconnected - BY_APPLICATION jun 15, 2014 11:31:27 AM Grave org.jclouds.logging.jdk.JDKLogger logError << problem customizing node(DFW/ed078da2-6e24-4b4f-91ee-05995658238a): java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1911) at org.jclouds.scriptbuilder.statements.login.UserAdd.render(UserAdd.java:193) at org.jclouds.scriptbuilder.domain.StatementList.render(StatementList.java:47) at org.jclouds.scriptbuilder.statements.login.AdminAccess.render(AdminAccess.java:430) at org.jclouds.scriptbuilder.domain.StatementList.render(StatementList.java:47) at org.jclouds.scriptbuilder.domain.CreateRunScript.addUnixRunScript(CreateRunScript.java:136) at org.jclouds.scriptbuilder.domain.CreateRunScript.render(CreateRunScript.java:110) at org.jclouds.scriptbuilder.domain.StatementList.render(StatementList.java:47) at org.jclouds.scriptbuilder.domain.SwitchArg.render(SwitchArg.java:91) at org.jclouds.scriptbuilder.ScriptBuilder.render(ScriptBuilder.java:127) at org.jclouds.scriptbuilder.InitScript.render(InitScript.java:327) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSsh.doCall(RunScriptOnNodeAsInitScriptUsingSsh.java:108) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.future(RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.java:68) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.doCall(RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.java:60) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSsh.call(RunScriptOnNodeAsInitScriptUsingSsh.java:77) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:125) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:146) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:53) at shaded.com.google.common.util.concurrent.Futures$1.apply(Futures.java:711) at shaded.com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:849) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) jun 15, 2014 11:31:27 AM Información org.jclouds.logging.jdk.JDKLogger logInfo >> destroying node(DFW/ed078da2-6e24-4b4f-91ee-05995658238a) jun 15, 2014 11:31:41 AM Información org.jclouds.logging.jdk.JDKLogger logInfo << destroyed node(DFW/ed078da2-6e24-4b4f-91ee-05995658238a) success(true) jun 15, 2014 11:31:41 AM Advertencia org.eclipse.jetty.util.log.JavaUtilLog warn Error while serving http://local.dev:8090/cloud/rackspace-server-nube/provision java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:120) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631) at org.kohsuke.stapler.Stapler.service(Stapler.java:225) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:85) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:74) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.RuntimeException: org.jclouds.compute.RunNodesException: error running 1 node group(windows2008-exebuilder) location(DFW) image(e839c829-52f3-4fc9-8cf1-615acde742fc) size(performance1-2) options({loginUser=Administrator, loginPasswordPresent=true, loginPrivateKeyPresent=true, scriptPresent=true, userMetadata={Name=windows2008-exebuilder}, autoAssignFloatingIp=false, userData=[B@7d2d00a4, configDrive=false}) Execution failures: 0 error[s] Node failures: 1) StringIndexOutOfBoundsException on node DFW/ed078da2-6e24-4b4f-91ee-05995658238a: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1911) at org.jclouds.scriptbuilder.statements.login.UserAdd.render(UserAdd.java:193) at org.jclouds.scriptbuilder.domain.StatementList.render(StatementList.java:47) at org.jclouds.scriptbuilder.statements.login.AdminAccess.render(AdminAccess.java:430) at org.jclouds.scriptbuilder.domain.StatementList.render(StatementList.java:47) at org.jclouds.scriptbuilder.domain.CreateRunScript.addUnixRunScript(CreateRunScript.java:136) at org.jclouds.scriptbuilder.domain.CreateRunScript.render(CreateRunScript.java:110) at org.jclouds.scriptbuilder.domain.StatementList.render(StatementList.java:47) at org.jclouds.scriptbuilder.domain.SwitchArg.render(SwitchArg.java:91) at org.jclouds.scriptbuilder.ScriptBuilder.render(ScriptBuilder.java:127) at org.jclouds.scriptbuilder.InitScript.render(InitScript.java:327) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSsh.doCall(RunScriptOnNodeAsInitScriptUsingSsh.java:108) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.future(RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.java:68) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.doCall(RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.java:60) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSsh.call(RunScriptOnNodeAsInitScriptUsingSsh.java:77) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:125) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:146) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:53) at shaded.com.google.common.util.concurrent.Futures$1.apply(Futures.java:711) at shaded.com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:849) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) 1 error[s] at shaded.com.google.common.base.Throwables.propagate(Throwables.java:160) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.destroyBadNodesAndPropagate(JCloudsSlaveTemplate.java:347) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.get(JCloudsSlaveTemplate.java:336) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.provisionSlave(JCloudsSlaveTemplate.java:191) at jenkins.plugins.jclouds.compute.JCloudsCloud.doProvision(JCloudsCloud.java:281) ... 73 more Caused by: org.jclouds.compute.RunNodesException: error running 1 node group(windows2008-exebuilder) location(DFW) image(e839c829-52f3-4fc9-8cf1-615acde742fc) size(performance1-2) options({loginUser=Administrator, loginPasswordPresent=true, loginPrivateKeyPresent=true, scriptPresent=true, userMetadata={Name=windows2008-exebuilder}, autoAssignFloatingIp=false, userData=[B@7d2d00a4, configDrive=false}) Execution failures: 0 error[s] Node failures: 1) StringIndexOutOfBoundsException on node DFW/ed078da2-6e24-4b4f-91ee-05995658238a: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1911) at org.jclouds.scriptbuilder.statements.login.UserAdd.render(UserAdd.java:193) at org.jclouds.scriptbuilder.domain.StatementList.render(StatementList.java:47) at org.jclouds.scriptbuilder.statements.login.AdminAccess.render(AdminAccess.java:430) at org.jclouds.scriptbuilder.domain.StatementList.render(StatementList.java:47) at org.jclouds.scriptbuilder.domain.CreateRunScript.addUnixRunScript(CreateRunScript.java:136) at org.jclouds.scriptbuilder.domain.CreateRunScript.render(CreateRunScript.java:110) at org.jclouds.scriptbuilder.domain.StatementList.render(StatementList.java:47) at org.jclouds.scriptbuilder.domain.SwitchArg.render(SwitchArg.java:91) at org.jclouds.scriptbuilder.ScriptBuilder.render(ScriptBuilder.java:127) at org.jclouds.scriptbuilder.InitScript.render(InitScript.java:327) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSsh.doCall(RunScriptOnNodeAsInitScriptUsingSsh.java:108) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.future(RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.java:68) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.doCall(RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.java:60) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSsh.call(RunScriptOnNodeAsInitScriptUsingSsh.java:77) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:125) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:146) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:53) at shaded.com.google.common.util.concurrent.Futures$1.apply(Futures.java:711) at shaded.com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:849) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) 1 error[s] at org.jclouds.compute.internal.BaseComputeService.createNodesInGroup(BaseComputeService.java:227) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:40) at com.sun.proxy.$Proxy87.createNodesInGroup(Unknown Source) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.get(JCloudsSlaveTemplate.java:334) ... 75 more jun 15, 2014 11:35:52 AM Información hudson.model.AsyncPeriodicWork$1 run Started JClouds slave cleanup jun 15, 2014 11:35:52 AM Información hudson.model.AsyncPeriodicWork$1 run Finished JClouds slave cleanup. 0 ms jun 15, 2014 11:40:52 AM Información hudson.model.AsyncPeriodicWork$1 run Started JClouds slave cleanup jun 15, 2014 11:40:52 AM Información hudson.model.AsyncPeriodicWork$1 run Finished JClouds slave cleanup. 0 ms {code}

    Jenkins JIRA | 2 years ago | Jorge Araya Navarro
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  2. 0

    I have a customized Windows 2008 image on Rackspace and I'm trying to create slave nodes with it. However, I get this error when I try to create a new node: {code} jun 15, 2014 11:19:15 AM Información jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate get Provisioning new jclouds node jun 15, 2014 11:19:15 AM Información jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate get Setting image id to DFW/e839c829-52f3-4fc9-8cf1-615acde742fc jun 15, 2014 11:19:15 AM Información jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate get Setting hardware Id to DFW/performance1-2 jun 15, 2014 11:19:15 AM Información jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate get Setting location Id to DFW jun 15, 2014 11:19:15 AM Información org.jclouds.logging.jdk.JDKLogger logInfo >> searching params({imageId=DFW/e839c829-52f3-4fc9-8cf1-615acde742fc, locationId=DFW, hardwareId=DFW/performance1-2}) jun 15, 2014 11:19:36 AM Información org.jclouds.logging.jdk.JDKLogger logInfo << matched image(DFW/e839c829-52f3-4fc9-8cf1-615acde742fc) hardware(DFW/performance1-2) location(DFW) jun 15, 2014 11:19:36 AM Información jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate get Setting userData to jun 15, 2014 11:19:36 AM Información org.jclouds.logging.jdk.JDKLogger logInfo >> running 1 node group(windows2008-exebuilder) location(DFW) image(DFW/e839c829-52f3-4fc9-8cf1-615acde742fc) hardwareProfile(DFW/performance1-2) options({loginUser=Administrator, loginPasswordPresent=true, loginPrivateKeyPresent=true, scriptPresent=true, userMetadata={Name=windows2008-exebuilder}, autoAssignFloatingIp=false, userData=[B@7d2d00a4, configDrive=false}) jun 15, 2014 11:19:39 AM Información org.jclouds.logging.jdk.JDKLogger logInfo >> adding node location(DFW) name(windows2008-exebuilder-122) image(e839c829-52f3-4fc9-8cf1-615acde742fc) hardware(performance1-2) jun 15, 2014 11:19:39 AM Información org.jclouds.logging.jdk.JDKLogger logInfo >> creating new server zone(DFW) name(windows2008-exebuilder-122) image(e839c829-52f3-4fc9-8cf1-615acde742fc) flavor(performance1-2) options({metadata={Name=windows2008-exebuilder, jclouds-group=windows2008-exebuilder}, userData=, configDrive=false}) jun 15, 2014 11:19:40 AM Información org.jclouds.logging.jdk.JDKLogger logInfo << PENDING node(DFW/ed078da2-6e24-4b4f-91ee-05995658238a) jun 15, 2014 11:20:52 AM Información hudson.model.AsyncPeriodicWork$1 run Started JClouds slave cleanup jun 15, 2014 11:20:52 AM Información hudson.model.AsyncPeriodicWork$1 run Finished JClouds slave cleanup. 0 ms jun 15, 2014 11:25:52 AM Información hudson.model.AsyncPeriodicWork$1 run Started JClouds slave cleanup jun 15, 2014 11:25:52 AM Información hudson.model.AsyncPeriodicWork$1 run Finished JClouds slave cleanup. 0 ms jun 15, 2014 11:30:52 AM Información hudson.model.AsyncPeriodicWork$1 run Started JClouds slave cleanup jun 15, 2014 11:30:52 AM Información hudson.model.AsyncPeriodicWork$1 run Finished JClouds slave cleanup. 0 ms jun 15, 2014 11:31:23 AM Información org.jclouds.logging.jdk.JDKLogger logInfo >> blocking on sockets [23.253.94.12:22, 10.208.4.17:22] for 600000 MILLISECONDS jun 15, 2014 11:31:25 AM Información org.jclouds.logging.jdk.JDKLogger logInfo << socket 23.253.94.12:22 opened jun 15, 2014 11:31:25 AM Información net.schmizz.sshj.common.SecurityUtils$BouncyCastleRegistration run BouncyCastle already registered as a JCE provider jun 15, 2014 11:31:26 AM Información net.schmizz.sshj.transport.TransportImpl init Client identity string: SSH-2.0-SSHJ_0_8_1_SNAPSHOT jun 15, 2014 11:31:26 AM Información net.schmizz.sshj.transport.TransportImpl init Server identity string: SSH-2.0-SilverSHielD jun 15, 2014 11:31:27 AM Información net.schmizz.sshj.transport.TransportImpl$1 notifyDisconnect Disconnected - BY_APPLICATION jun 15, 2014 11:31:27 AM Grave org.jclouds.logging.jdk.JDKLogger logError << problem customizing node(DFW/ed078da2-6e24-4b4f-91ee-05995658238a): java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1911) at org.jclouds.scriptbuilder.statements.login.UserAdd.render(UserAdd.java:193) at org.jclouds.scriptbuilder.domain.StatementList.render(StatementList.java:47) at org.jclouds.scriptbuilder.statements.login.AdminAccess.render(AdminAccess.java:430) at org.jclouds.scriptbuilder.domain.StatementList.render(StatementList.java:47) at org.jclouds.scriptbuilder.domain.CreateRunScript.addUnixRunScript(CreateRunScript.java:136) at org.jclouds.scriptbuilder.domain.CreateRunScript.render(CreateRunScript.java:110) at org.jclouds.scriptbuilder.domain.StatementList.render(StatementList.java:47) at org.jclouds.scriptbuilder.domain.SwitchArg.render(SwitchArg.java:91) at org.jclouds.scriptbuilder.ScriptBuilder.render(ScriptBuilder.java:127) at org.jclouds.scriptbuilder.InitScript.render(InitScript.java:327) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSsh.doCall(RunScriptOnNodeAsInitScriptUsingSsh.java:108) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.future(RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.java:68) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.doCall(RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.java:60) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSsh.call(RunScriptOnNodeAsInitScriptUsingSsh.java:77) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:125) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:146) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:53) at shaded.com.google.common.util.concurrent.Futures$1.apply(Futures.java:711) at shaded.com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:849) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) jun 15, 2014 11:31:27 AM Información org.jclouds.logging.jdk.JDKLogger logInfo >> destroying node(DFW/ed078da2-6e24-4b4f-91ee-05995658238a) jun 15, 2014 11:31:41 AM Información org.jclouds.logging.jdk.JDKLogger logInfo << destroyed node(DFW/ed078da2-6e24-4b4f-91ee-05995658238a) success(true) jun 15, 2014 11:31:41 AM Advertencia org.eclipse.jetty.util.log.JavaUtilLog warn Error while serving http://local.dev:8090/cloud/rackspace-server-nube/provision java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:120) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631) at org.kohsuke.stapler.Stapler.service(Stapler.java:225) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:85) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:74) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.RuntimeException: org.jclouds.compute.RunNodesException: error running 1 node group(windows2008-exebuilder) location(DFW) image(e839c829-52f3-4fc9-8cf1-615acde742fc) size(performance1-2) options({loginUser=Administrator, loginPasswordPresent=true, loginPrivateKeyPresent=true, scriptPresent=true, userMetadata={Name=windows2008-exebuilder}, autoAssignFloatingIp=false, userData=[B@7d2d00a4, configDrive=false}) Execution failures: 0 error[s] Node failures: 1) StringIndexOutOfBoundsException on node DFW/ed078da2-6e24-4b4f-91ee-05995658238a: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1911) at org.jclouds.scriptbuilder.statements.login.UserAdd.render(UserAdd.java:193) at org.jclouds.scriptbuilder.domain.StatementList.render(StatementList.java:47) at org.jclouds.scriptbuilder.statements.login.AdminAccess.render(AdminAccess.java:430) at org.jclouds.scriptbuilder.domain.StatementList.render(StatementList.java:47) at org.jclouds.scriptbuilder.domain.CreateRunScript.addUnixRunScript(CreateRunScript.java:136) at org.jclouds.scriptbuilder.domain.CreateRunScript.render(CreateRunScript.java:110) at org.jclouds.scriptbuilder.domain.StatementList.render(StatementList.java:47) at org.jclouds.scriptbuilder.domain.SwitchArg.render(SwitchArg.java:91) at org.jclouds.scriptbuilder.ScriptBuilder.render(ScriptBuilder.java:127) at org.jclouds.scriptbuilder.InitScript.render(InitScript.java:327) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSsh.doCall(RunScriptOnNodeAsInitScriptUsingSsh.java:108) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.future(RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.java:68) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.doCall(RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.java:60) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSsh.call(RunScriptOnNodeAsInitScriptUsingSsh.java:77) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:125) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:146) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:53) at shaded.com.google.common.util.concurrent.Futures$1.apply(Futures.java:711) at shaded.com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:849) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) 1 error[s] at shaded.com.google.common.base.Throwables.propagate(Throwables.java:160) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.destroyBadNodesAndPropagate(JCloudsSlaveTemplate.java:347) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.get(JCloudsSlaveTemplate.java:336) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.provisionSlave(JCloudsSlaveTemplate.java:191) at jenkins.plugins.jclouds.compute.JCloudsCloud.doProvision(JCloudsCloud.java:281) ... 73 more Caused by: org.jclouds.compute.RunNodesException: error running 1 node group(windows2008-exebuilder) location(DFW) image(e839c829-52f3-4fc9-8cf1-615acde742fc) size(performance1-2) options({loginUser=Administrator, loginPasswordPresent=true, loginPrivateKeyPresent=true, scriptPresent=true, userMetadata={Name=windows2008-exebuilder}, autoAssignFloatingIp=false, userData=[B@7d2d00a4, configDrive=false}) Execution failures: 0 error[s] Node failures: 1) StringIndexOutOfBoundsException on node DFW/ed078da2-6e24-4b4f-91ee-05995658238a: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1911) at org.jclouds.scriptbuilder.statements.login.UserAdd.render(UserAdd.java:193) at org.jclouds.scriptbuilder.domain.StatementList.render(StatementList.java:47) at org.jclouds.scriptbuilder.statements.login.AdminAccess.render(AdminAccess.java:430) at org.jclouds.scriptbuilder.domain.StatementList.render(StatementList.java:47) at org.jclouds.scriptbuilder.domain.CreateRunScript.addUnixRunScript(CreateRunScript.java:136) at org.jclouds.scriptbuilder.domain.CreateRunScript.render(CreateRunScript.java:110) at org.jclouds.scriptbuilder.domain.StatementList.render(StatementList.java:47) at org.jclouds.scriptbuilder.domain.SwitchArg.render(SwitchArg.java:91) at org.jclouds.scriptbuilder.ScriptBuilder.render(ScriptBuilder.java:127) at org.jclouds.scriptbuilder.InitScript.render(InitScript.java:327) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSsh.doCall(RunScriptOnNodeAsInitScriptUsingSsh.java:108) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.future(RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.java:68) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.doCall(RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.java:60) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSsh.call(RunScriptOnNodeAsInitScriptUsingSsh.java:77) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:125) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:146) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:53) at shaded.com.google.common.util.concurrent.Futures$1.apply(Futures.java:711) at shaded.com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:849) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) 1 error[s] at org.jclouds.compute.internal.BaseComputeService.createNodesInGroup(BaseComputeService.java:227) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:40) at com.sun.proxy.$Proxy87.createNodesInGroup(Unknown Source) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.get(JCloudsSlaveTemplate.java:334) ... 75 more jun 15, 2014 11:35:52 AM Información hudson.model.AsyncPeriodicWork$1 run Started JClouds slave cleanup jun 15, 2014 11:35:52 AM Información hudson.model.AsyncPeriodicWork$1 run Finished JClouds slave cleanup. 0 ms jun 15, 2014 11:40:52 AM Información hudson.model.AsyncPeriodicWork$1 run Started JClouds slave cleanup jun 15, 2014 11:40:52 AM Información hudson.model.AsyncPeriodicWork$1 run Finished JClouds slave cleanup. 0 ms {code}

    Jenkins JIRA | 2 years ago | Jorge Araya Navarro
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  3. 0

    How to fix the ERROR [[jsp]] Servlet.service() for servlet jsp threw exception?

    Stack Overflow | 2 years ago | balaguru
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error On Startup

    GitHub | 4 years ago | N1T3SLAY3R
    org.bukkit.event.EventException

  1. richard77 2 times, last 5 days ago
  2. kjhdofjosvs 2 times, last 1 week ago
  3. archenroot 17 times, last 2 weeks ago
  4. Alexandru Popa 2 times, last 4 weeks ago
  5. poroszd 3 times, last 1 month ago
18 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:1911)
    1 frame
  3. org.jclouds.scriptbuilder
    InitScript.render
    1. org.jclouds.scriptbuilder.statements.login.UserAdd.render(UserAdd.java:193)
    2. org.jclouds.scriptbuilder.domain.StatementList.render(StatementList.java:47)
    3. org.jclouds.scriptbuilder.statements.login.AdminAccess.render(AdminAccess.java:430)
    4. org.jclouds.scriptbuilder.domain.StatementList.render(StatementList.java:47)
    5. org.jclouds.scriptbuilder.domain.CreateRunScript.addUnixRunScript(CreateRunScript.java:136)
    6. org.jclouds.scriptbuilder.domain.CreateRunScript.render(CreateRunScript.java:110)
    7. org.jclouds.scriptbuilder.domain.StatementList.render(StatementList.java:47)
    8. org.jclouds.scriptbuilder.domain.SwitchArg.render(SwitchArg.java:91)
    9. org.jclouds.scriptbuilder.ScriptBuilder.render(ScriptBuilder.java:127)
    10. org.jclouds.scriptbuilder.InitScript.render(InitScript.java:327)
    10 frames
  4. jclouds compute core
    CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply
    1. org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSsh.doCall(RunScriptOnNodeAsInitScriptUsingSsh.java:108)
    2. org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.future(RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.java:68)
    3. org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.doCall(RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.java:60)
    4. org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSsh.call(RunScriptOnNodeAsInitScriptUsingSsh.java:77)
    5. org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:125)
    6. org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:146)
    7. org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:53)
    7 frames
  5. shaded.com.google
    Futures$ChainingListenableFuture.run
    1. shaded.com.google.common.util.concurrent.Futures$1.apply(Futures.java:711)
    2. shaded.com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:849)
    2 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    3. java.lang.Thread.run(Thread.java:744)
    3 frames