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

Multiple SCMs plugin failed: FATAL: String index out of range: -14

XMLWordPrintable

      The exception was thrown when an amount of files had been pulled. The version of Multiple SCMs plugin is 0.3

      .....
      Getting AssemblyInfo.cs
      Getting Resources.Designer.cs
      Getting Resources.resx
      Getting Settings.Designer.cs
      Getting Settings.settings
      [workspace] $ "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\tf.exe" history $/Shared/Source -recursive -stopafter:1 -noprompt -version:D2014-02-13T01:27:49Z -format:brief ******** -server:XXXXXXX

      Changeset User Date Comment
      --------- ----------------- ---------- ----------------------------------------
      XXX XXX XXX XXXX
      FATAL: String index out of range: -14
      java.lang.StringIndexOutOfBoundsException: String index out of range: -14
      at java.lang.String.substring(Unknown Source)
      at org.jenkinsci.plugins.multiplescms.MultiSCMRevisionState.keyFor(MultiSCMRevisionState.java:35)
      at org.jenkinsci.plugins.multiplescms.MultiSCMRevisionState.add(MultiSCMRevisionState.java:21)
      at org.jenkinsci.plugins.multiplescms.MultiSCM.checkout(MultiSCM.java:124)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1411)
      at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:651)
      at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:560)
      at hudson.model.Run.execute(Run.java:1670)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)

            kbell Kevin Bell
            weizhang99 Wei Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: