java.lang.ClassCastException: com.cloudbees.hudson.plugins.folder.Folder cannot be cast to hudson.model.AbstractProject

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Jenkins JIRA by Bernd Spickers, 1 year ago
com.cloudbees.hudson.plugins.folder.Folder cannot be cast to hudson.model.AbstractProject
via Jenkins JIRA by Bernd Spickers, 1 year ago
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 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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.