[JIRA] (JENKINS-57966) Multibranch Pipeline Indexing fails with ClassCastException in svn

2019-09-05 Thread pete.shana...@corvil.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Pete Shanahan commented on  JENKINS-57966  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multibranch Pipeline Indexing fails with ClassCastException in svn   
 

  
 
 
 
 

 
 I hit this problem with our jenkins master and thought I was going to have to dig into some development. From what I can tell, the issue is that the cache for svn is outdated/corrupted and this is where the exception comes from. I went to my jenkins master's data location, and then into the cache directory. Then I did an rm of all files looking like svn-02b3b8c6-d4e4-0310-943f-b71371c1e98f.db* 
 
although on your system, I guess they would look like: svn-78aad773-0322-49fb-99da-95df2966fe5b.db* 
 Once I removed these files, and clicked on the 'rescan' everything was working again. This is based on the exception I was getting indicating that the problem was at line: https://github.com/jenkinsci/subversion-plugin/blob/master/src/main/java/jenkins/scm/impl/subversion/SVNRepositoryView.java#L115 Hope this helps someone!  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199949.1560271375000.7107.1567687620355%40Atlassian.JIRA.


[JIRA] (JENKINS-57966) Multibranch Pipeline Indexing fails with ClassCastException in svn

2019-08-26 Thread ryan.pis...@vertexinc.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ryan Pisano commented on  JENKINS-57966  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multibranch Pipeline Indexing fails with ClassCastException in svn   
 

  
 
 
 
 

 
 Did you ever find a fix for this?  Most (all but one) of my multibranch pipelines are failing with this error now, but I can't pinpoint what is different.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199949.1560271375000.385.1566871560146%40Atlassian.JIRA.


[JIRA] (JENKINS-57966) Multibranch Pipeline Indexing fails with ClassCastException in svn

2019-06-11 Thread d.eich...@odr.de (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Eichert updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57966  
 
 
  Multibranch Pipeline Indexing fails with ClassCastException in svn   
 

  
 
 
 
 

 
Change By: 
 Daniel Eichert  
 

  
 
 
 
 

 
 When I was indexing my jobs today I got an ClassCastException, the result of this mistake is hat my MultiBranch Pipeline job cannot find any branches and therefore the folder stays empty. This is a critical issue for me. I would appreciate any help. Here is my error message:{code:java}ERROR: [Tue Jun 11 18:16:54 CEST 2019] Could not fetch branches from source 78aad773-0322-49fb-99da-95df2966fe5bjava.lang.ClassCastException: [[J cannot be cast to org.mapdb.BTreeMap$BNodeat 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:336)at jenkins.scm.impl.subversion.SubversionSCMSource.retrieve(SubversionSCMSource.java:240)  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:634)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:1025)at hudson.model.ResourceController.execute(ResourceController.java:97)at hudson.model.Executor.run(Executor.java:429)[Tue Jun 11 18:16:54 CEST 2019] Finished branch indexing. Indexing took 74 msFATAL: Failed to recompute children of truemdmBuildReports » testjava.lang.ClassCastException: [[J cannot be cast to org.mapdb.BTreeMap$BNodeat 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:336)at jenkins.scm.impl.subversion.SubversionSCMSource.retrieve(SubversionSCMSource.java:240)  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:634)  at 

[JIRA] (JENKINS-57966) Multibranch Pipeline Indexing fails with ClassCastException in svn

2019-06-11 Thread d.eich...@odr.de (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Eichert created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57966  
 
 
  Multibranch Pipeline Indexing fails with ClassCastException in svn   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 rsandell  
 
 
Components: 
 multi-branch-project-plugin (not Pipeline), pipeline  
 
 
Created: 
 2019-06-11 16:42  
 
 
Environment: 
 Jenkins is running on a RHEL 7  Jenkins Version is 2.180  
 
 
Labels: 
 multibranch pipeline branch  
 
 
Priority: 
  Critical  
 
 
Reporter: 
 Daniel Eichert  
 

  
 
 
 
 

 
 When I was indexing my jobs today I got an ClassCastException, the result of this mistake is hat my MultiBranch Pipeline job cannot find any branches and therefore the folder stays empty. This is a critical issue for me. I would appreciate any help. Here is my error message: 

 

ERROR: [Tue Jun 11 18:16:54 CEST 2019] Could not fetch branches from source 78aad773-0322-49fb-99da-95df2966fe5b
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