Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28766

StringIndexOutOfBoundsException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • elasticbox-plugin
    • None
    • CentOS 6.6
      Jenkins v 1.609 and 1.616
      Elasticbox CI 0.9.9
      Java 1.7.0_75

      When trying to build the instance through Jenkins, it keeps failing with the following messages.
      I've tried creating the instance manually on ElasticBox with the same box template and that created without any problem.

      [ElasticBox] - Executing Deploy Box build step
      [ElasticBox] - Deploying box null
      ERROR: Build step failed with exception
      java.lang.StringIndexOutOfBoundsException: String index out of range: -31
      	at java.lang.String.substring(String.java:1911)
      	at com.elasticbox.Client.getSchemaVersion(Client.java:107)
      	at com.elasticbox.Client.deploy(Client.java:640)
      	at com.elasticbox.jenkins.builders.DeployBox.deploy(DeployBox.java:174)
      	at com.elasticbox.jenkins.builders.DeployBox.doPerform(DeployBox.java:290)
      	at com.elasticbox.jenkins.builders.DeployBox.perform(DeployBox.java:330)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      	at hudson.model.Build$BuildExecution.build(Build.java:205)
      	at hudson.model.Build$BuildExecution.doRun(Build.java:162)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
      	at hudson.model.Run.execute(Run.java:1744)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:374)
      Build step 'ElasticBox - Deploy Box' marked build as failure
      Finished: FAILURE
      

            riccardoelasticbox Riccardo Coccioli
            alphawhiskey Andrea Wong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: