javax.servlet.ServletException: java.lang.ClassCastException: org.jenkinsci.plugins.workflow.job.WorkflowJob cannot be cast to hudson.model.AbstractProject

Jenkins JIRA | Peter Hayes | 1 year 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.
  1. 0

    [JIRA] [scm-api-plugin] (JENKINS-30029) Can't delete job with job with non-existent scm template

    Google Groups | 2 years ago | jean-mar...@netways.de (JIRA)
    javax.servlet.ServletException: java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    [JENKINS-28110] 1.610 “Failed to instantiate” error - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    javax.servlet.ServletException: java.lang.RuntimeException: Failed to instantiate class hudson.plugins.performance.PerformancePublisher from { "parsers" :{ "glob" : ""," kind ":" hudson.plugins.performance.JMeterParser$DescriptorImpl "}," modeOfThreshold ":" false "," errorUnstableThreshold ":" "," errorFailedThreshold ":" "," errorUnstableResponseTimeThreshold ":" "," relativeUnstableThresholdNegative ":" "," relativeUnstableThresholdPositive ":" "," relativeFailedThresholdNegative ":" "," relativeFailedThresholdPositive ":" "," compareBuildPrevious ":" false "," nthBuildNumber ":" "," comparisonType ":" ART "," modePerformancePerTestCase ": true ," modeThroughput ": false ," stapler-class ":" hudson.plugins.performance.PerformancePublisher "," $class ":" hudson.plugins.performance.PerformancePublisher"}
  4. 0

    JMeter - User - CI - Jenkins + Maven + Jmeter

    nabble.com | 11 months ago
    javax.servlet.ServletException: java.lang.RuntimeException: Failed to instantiate class hudson.plugins.performance.PerformancePublisher from {"parsers":{"glob":"**/*.jtl","kind":"hudson.plugins.performance.JMeterParser$DescriptorImpl"},"modeOfThreshold":"true","errorUnstableThreshold":"","errorFailedThreshold":"","errorUnstableResponseTimeThreshold":"","relativeUnstableThresholdNegative":"2","relativeUnstableThresholdPositive":"5","relativeFailedThresholdNegative":"2","relativeFailedThresholdPositive":"5","compareBuildPrevious":"false","nthBuildNumber":"","comparisonType":"ART","modePerformancePerTestCase":true,"modeThroughput":false,"stapler-class":"hudson.plugins.performance.PerformancePublisher","$class":"hudson.plugins.performance.PerformancePublisher"}

    7 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.servlet.ServletException

      java.lang.ClassCastException: org.jenkinsci.plugins.workflow.job.WorkflowJob cannot be cast to hudson.model.AbstractProject

      at org.kohsuke.stapler.Stapler.tryInvoke()
    2. Stapler
      Stapler.service
      1. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)
      2. org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      3. org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
      4. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      5. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      6. org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      7. org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
      8. org.kohsuke.stapler.Stapler.service(Stapler.java:238)
      8 frames