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

Jenkins JIRA | Mikhail Tsaplin | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards 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