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

ArrayIndexOutOfBoundsException when scanning multibranch pipeline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • subversion-plugin
    • None
    • Jenkins ver. 2.46.3 / SVN plugin 2..8

      When scanning our multibranch pipeline we get the following error (observed with 2.7.2 and 2.8)

      Opening conection to xxx
      Checking directory @HEAD
      Checking directory branches@9510
      ...
      Jenkinsfile’ not found Does not meet criteria
      Checking directory tags@9429
      ...
       ‘Jenkinsfile’ found Met criteria No changes detected:
      Checking directory tags/xxx
      ERROR: [Sat Jun 17 14:25:06 CEST 2017] Could not fetch branches from source 9c18a983-98e3-4166-a128-04ffe63df690 java.lang.ArrayIndexOutOfBoundsException: 1
      at java.util.Arrays$ArrayList.get(Arrays.java:3841)
      at jenkins.scm.impl.subversion.SubversionSCMSource.fetch(SubversionSCMSource.java:365)
      at jenkins.scm.impl.subversion.SubversionSCMSource.fetch(SubversionSCMSource.java:420)
      at jenkins.scm.impl.subversion.SubversionSCMSource.retrieve(SubversionSCMSource.java:243)
      at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
      at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
      at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:630)
      at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:266)
      at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:162)
      at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:405)
      [Sat Jun 17 14:25:06 CEST 2017] Finished branch indexing. Indexing took 6.8 sec
      FATAL: Failed to recompute children of xxx-pipeline java.lang.ArrayIndexOutOfBoundsException: 1
      at java.util.Arrays$ArrayList.get(Arrays.java:3841)
      at jenkins.scm.impl.subversion.SubversionSCMSource.fetch(SubversionSCMSource.java:365)
      at jenkins.scm.impl.subversion.SubversionSCMSource.fetch(SubversionSCMSource.java:420)
      at jenkins.scm.impl.subversion.SubversionSCMSource.retrieve(SubversionSCMSource.java:243) at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
      at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
      at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:630)
      at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:266)
      at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:162)
      at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:405)
      Finished: FAILURE
      

            Unassigned Unassigned
            don_vip Vincent Privat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: