jenkinsci / jenkinsci/subversion-plugin

[JENKINS-44953] ArrayIndexOutOfBoundsException when scanning multibranch pipeline

Open
#1,426 1 comment 0 reactions 0 assignees View on GitHub
component:subversion-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
131
Forks
275
Avg merge
12h 4m
Merged PRs (30d)
6

Description

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

---
Originally reported by don_vip, imported from: ArrayIndexOutOfBoundsException when scanning multibranch pipeline


  • status: Open
  • priority: Major
  • component(s): subversion-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 20251212-090250

Raw content of original issue

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

  • environment: Jenkins ver. 2.46.3 / SVN plugin 2..8

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.