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

Jenkins JIRA | Walter Kacynski | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

    Root Cause Analysis

    1. java.lang.ClassCastException

      hudson.model.FreeStyleProject cannot be cast to org.jenkinsci.plugins.jobgenerator.JobGenerator

      at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.cleanUp()
    2. org.jenkinsci.plugins
      GeneratorRun$GeneratorImpl.cleanUp
      1. org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.cleanUp(GeneratorRun.java:427)
      1 frame
    3. Hudson
      Run.execute
      1. hudson.model.Run.execute(Run.java:1620)
      1 frame
    4. org.jenkinsci.plugins
      GeneratorRun.run
      1. org.jenkinsci.plugins.jobgenerator.GeneratorRun.run(GeneratorRun.java:206)
      1 frame
    5. Hudson
      OneOffExecutor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:88)
      2. hudson.model.Executor.run(Executor.java:237)
      3. hudson.model.OneOffExecutor.run(OneOffExecutor.java:66)
      3 frames