java.lang.ClassCastException: hudson.scm.SCMRevisionState$None cannot be <span class="code-keyword" style="color: #000091">cast</span> to hudson.scm.SVNRevisionState

Google Groups | ogo...@gmail.com (JIRA) | 2 years ago
  1. 0

    [JIRA] [subversion-plugin] (JENKINS-27079) ClassCastException: hudson.scm.SVNRevisionState cannot be cast to hudson.scm.SVNRevisionState

    Google Groups | 2 years ago | ogo...@gmail.com (JIRA)
    java.lang.ClassCastException: hudson.scm.SCMRevisionState$None cannot be <span class="code-keyword" style="color: #000091">cast</span> to hudson.scm.SVNRevisionState
  2. 0

    [JIRA] [subversion-plugin] (JENKINS-26318) Subversion Plug in 2.5 causes sporadic problems

    Google Groups | 1 year ago | eduardo.raf@gmail.com (JIRA)
    java.lang.ClassCastException: hudson.scm.SVNRevisionState cannot be cast to hudson.scm.SVNRevisionState
  3. 0

    Hi, if I use the PTC as SCM and have the option "Delete Non Members" checked, the job failed in subfolders with following trace: Preparing to execute si projectinfo for #m:/MKS/Service Station#FDC#CORE Preparing to execute si viewproject for #m:/MKS/Service Station#FDC/CORE Checkout directory is C:\Program Files (x86)\Jenkins\FDC\MAIN\CORE A clean copy is requested; deleting contents of C:\Program Files (x86)\Jenkins\FDC\MAIN\CORE Populating clean workspace... Successfully checked out 1292 files! Saving current Integrity Project configuration... Writing build change log... Change log successfully generated: C:\Program Files (x86)\Jenkins\jobs\FDC\jobs\FDC - MAIN - Get sources for CORE\builds\12\changelog.xml FATAL: com.cloudbees.hudson.plugins.folder.Folder cannot be cast to hudson.model.AbstractProject java.lang.ClassCastException: com.cloudbees.hudson.plugins.folder.Folder cannot be cast to hudson.model.AbstractProject at hudson.scm.IntegrityDeleteNonMembersTask.getRootProject(IntegrityDeleteNonMembersTask.java:74) at hudson.scm.IntegrityDeleteNonMembersTask.invoke(IntegrityDeleteNonMembersTask.java:39) at hudson.scm.IntegrityDeleteNonMembersTask.invoke(IntegrityDeleteNonMembersTask.java:20) at hudson.FilePath.act(FilePath.java:991) at hudson.FilePath.act(FilePath.java:969) at hudson.scm.IntegritySCM.checkout(IntegritySCM.java:822) at hudson.model.AbstractProject.checkout(AbstractProject.java:1276) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) at hudson.model.Run.execute(Run.java:1744) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Warning: this build has no associated authentication, so build permissions may be lacking, and downstream projects which cannot even be seen by an anonymous user will be silently skipped Finished: FAILURE In "root" folder or if the option "Delete Non Members" is unchecked, everything works fine. it would be nice if the PTC plugin can support this option on cloudbees.Folders as well. Regards, Bernd Spickers

    Jenkins JIRA | 2 years ago | Bernd Spickers
    java.lang.ClassCastException: com.cloudbees.hudson.plugins.folder.Folder cannot be cast to hudson.model.AbstractProject
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClassCastException: hudson.scm.SVNRevisionState cannot be cast to hudson.scm.SVNRevisionState

    Eclipse Bugzilla | 1 year ago | Alexander.Veit
    java.lang.ClassCastException: hudson.scm.SVNRevisionState cannot be cast to hudson.scm.SVNRevisionState

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      hudson.scm.SCMRevisionState$None cannot be <span class="code-keyword" style="color: #000091">cast</span> to hudson.scm.SVNRevisionState

      at hudson.scm.SubversionSCM.calcChangeLog()
    2. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.scm.SubversionSCM.calcChangeLog(SubversionSCM.java:725)
      2. hudson.scm.SubversionSCM.checkout(SubversionSCM.java:860)
      3. hudson.scm.SCM.checkout(SCM.java:485)
      4. hudson.model.AbstractProject.checkout(AbstractProject.java:1277)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610)
      5 frames
    3. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      1 frame
    4. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532)
      2. hudson.model.Run.execute(Run.java:1741)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      4. hudson.model.ResourceController.execute(ResourceController.java:98)
      5. hudson.model.Executor.run(Executor.java:408)
      5 frames