java.lang.ClassCastException: hudson.maven.MavenModuleSet cannot be cast to hudson.model.Project

Jenkins JIRA | Mikhail Tsaplin | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

    Root Cause Analysis

    1. java.lang.ClassCastException

      hudson.maven.MavenModuleSet cannot be cast to hudson.model.Project

      at org.jenkinsci.plugins.dostrigger.DosTrigger.run()
    2. org.jenkinsci.plugins
      DosTrigger.run
      1. org.jenkinsci.plugins.dostrigger.DosTrigger.run(DosTrigger.java:80)
      1 frame
    3. Hudson
      SafeTimerTask.run
      1. hudson.triggers.Trigger.checkTriggers(Trigger.java:261)
      2. hudson.triggers.Trigger$Cron.doRun(Trigger.java:209)
      3. hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
      3 frames
    4. Java RT
      TimerThread.run
      1. java.util.TimerThread.mainLoop(Unknown Source)
      2. java.util.TimerThread.run(Unknown Source)
      2 frames