jenkinsci / jenkinsci/subversion-plugin

[JENKINS-59093] MultiBranch SVN raises: java.lang.ClassCastException: [[J cannot be cast to org.mapdb.BTreeMap$BNode

Open
#1,518 5 comments 0 reactions 0 assignees View on GitHub
component:multi-branch-project-plugin-(not-pipelin component:subversion-plugin imported-jira-issue priority:blocker resolution:unresolved
Dominant language
Java
Stars
131
Forks
275
Avg merge
12h 4m
Merged PRs (30d)
6

Description

All of my SVN-based multi-branch pipelines are returning a java error, while my git are working successfully. If there's any other info that would be helpful please let me know!

 

The error is as follows:

ERROR: [Mon Aug 26 22:42:22 EST 2019] Could not fetch branches from source 5955653d-34d8-4612-a323-b463505b57d8

java.lang.ClassCastException: [[J cannot be cast to org.mapdb.BTreeMap$BNode

at org.mapdb.BTreeMap.put2(BTreeMap.java:663)

at org.mapdb.BTreeMap.put(BTreeMap.java:643)

at org.mapdb.DB.catPut(DB.java:105)

at org.mapdb.DB.createHashMap(DB.java:443)

at org.mapdb.DB$HTreeMapMaker.make(DB.java:216)

at org.mapdb.DB.getHashMap(DB.java:356)

at org.mapdb.DB.getHashMap(DB.java:329)

at jenkins.scm.impl.subversion.SVNRepositoryView.(SVNRepositoryView.java:115)

at jenkins.scm.impl.subversion.SubversionSCMSource.openSession(SubversionSCMSource.java:338)

at jenkins.scm.impl.subversion.SubversionSCMSource.retrieve(SubversionSCMSource.java:241)

at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:373)

at jenkins.scm.api.SCMSource.fetch(SCMSource.java:283)

at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:635)

at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:277)

at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:164)

at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1026)

at hudson.model.ResourceController.execute(ResourceController.java:97)

at hudson.model.Executor.run(Executor.java:429)

[Mon Aug 26 22:42:22 EST 2019] Finished branch indexing. Indexing took 60 ms

FATAL: Failed to recompute children of HarnOS » Build HarnOS

java.lang.ClassCastException: [[J cannot be cast to org.mapdb.BTreeMap$BNode

at org.mapdb.BTreeMap.put2(BTreeMap.java:663)

at org.mapdb.BTreeMap.put(BTreeMap.java:643)

at org.mapdb.DB.catPut(DB.java:105)

at org.mapdb.DB.createHashMap(DB.java:443)

at org.mapdb.DB$HTreeMapMaker.make(DB.java:216)

at org.mapdb.DB.getHashMap(DB.java:356)

at org.mapdb.DB.getHashMap(DB.java:329)

at jenkins.scm.impl.subversion.SVNRepositoryView.(SVNRepositoryView.java:115)

at jenkins.scm.impl.subversion.SubversionSCMSource.openSession(SubversionSCMSource.java:338)

at jenkins.scm.impl.subversion.SubversionSCMSource.retrieve(SubversionSCMSource.java:241)

at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:373)

at jenkins.scm.api.SCMSource.fetch(SCMSource.java:283)

at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:635)

at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:277)

at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:164)

at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1026)

at hudson.model.ResourceController.execute(ResourceController.java:97)

at hudson.model.Executor.run(Executor.java:429)

Finished: FAILURE

---
Originally reported by espguitarist33, imported from: MultiBranch SVN raises: java.lang.ClassCastException: [[J cannot be cast to org.mapdb.BTreeMap$BNode


  • assignee: mjdetullio
  • status: Open
  • priority: Blocker
  • component(s): multi-branch-project-plugin (not Pipeline), subversion-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 11
  • imported: 20251212-090250

Raw content of original issue

All of my SVN-based multi-branch pipelines are returning a java error, while my git are working successfully. If there's any other info that would be helpful please let me know!

 

The error is as follows:

ERROR: [Mon Aug 26 22:42:22 EST 2019] Could not fetch branches from source 5955653d-34d8-4612-a323-b463505b57d8
java.lang.ClassCastException: [[J cannot be cast to org.mapdb.BTreeMap$BNode
at org.mapdb.BTreeMap.put2(BTreeMap.java:663)
at org.mapdb.BTreeMap.put(BTreeMap.java:643)
at org.mapdb.DB.catPut(DB.java:105)
at org.mapdb.DB.createHashMap(DB.java:443)
at org.mapdb.DB$HTreeMapMaker.make(DB.java:216)
at org.mapdb.DB.getHashMap(DB.java:356)
at org.mapdb.DB.getHashMap(DB.java:329)
at jenkins.scm.impl.subversion.SVNRepositoryView.<init>(SVNRepositoryView.java:115)
at jenkins.scm.impl.subversion.SubversionSCMSource.openSession(SubversionSCMSource.java:338)
at jenkins.scm.impl.subversion.SubversionSCMSource.retrieve(SubversionSCMSource.java:241)
at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:373)
at jenkins.scm.api.SCMSource.fetch(SCMSource.java:283)
at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:635)
at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:277)
at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:164)
at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1026)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
[Mon Aug 26 22:42:22 EST 2019] Finished branch indexing. Indexing took 60 ms
FATAL: Failed to recompute children of HarnOS » Build HarnOS
java.lang.ClassCastException: [[J cannot be cast to org.mapdb.BTreeMap$BNode
at org.mapdb.BTreeMap.put2(BTreeMap.java:663)
at org.mapdb.BTreeMap.put(BTreeMap.java:643)
at org.mapdb.DB.catPut(DB.java:105)
at org.mapdb.DB.createHashMap(DB.java:443)
at org.mapdb.DB$HTreeMapMaker.make(DB.java:216)
at org.mapdb.DB.getHashMap(DB.java:356)
at org.mapdb.DB.getHashMap(DB.java:329)
at jenkins.scm.impl.subversion.SVNRepositoryView.<init>(SVNRepositoryView.java:115)
at jenkins.scm.impl.subversion.SubversionSCMSource.openSession(SubversionSCMSource.java:338)
at jenkins.scm.impl.subversion.SubversionSCMSource.retrieve(SubversionSCMSource.java:241)
at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:373)
at jenkins.scm.api.SCMSource.fetch(SCMSource.java:283)
at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:635)
at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:277)
at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:164)
at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1026)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Finished: FAILURE

  • environment: Latest docker image (2.191), SVN 1.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.