java.lang.ClassCastException: hudson.model.FreeStyleProject cannot be cast to org.jenkinsci.plugins.jobgenerator.JobGenerator

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

Solutions on the web

java.lang.ClassCastException: hudson.model.FreeStyleProject cannot be cast to org.jenkinsci.plugins.jobgenerator.JobGenerator
at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.cleanUp(GeneratorRun.java:427)
at hudson.model.Run.execute(Run.java:1620)
at org.jenkinsci.plugins.jobgenerator.GeneratorRun.run(GeneratorRun.java:206)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:237)
at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66)

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.

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