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

Jenkins JIRA | Owen Wood | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0
  2. 0
  3. 0

    [JIRA] [bitbucket-pullrequest-builder-plugin] (JENKINS-31749) Bitbucket pullrequest builder plugin not compatible with Jenkins core 1.6*

    Google Groups | 1 year ago | owood@cloudbees.com (JIRA)
    java.lang.ClassCastException: org.jenkinsci.plugins.workflow.job.WorkflowJob cannot be <span class="code-keyword" style="color: #000091">cast</span> to hudson.model.AbstractProject
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    not compatible with jenkins2

    GitHub | 9 months ago | fonsecas72
    javax.servlet.ServletException: java.lang.ClassCastException: org.jenkinsci.plugins.workflow.job.WorkflowJob cannot be cast to hudson.model.AbstractProject
  6. 0

    Help:basic RMI question

    Google Groups | 2 decades ago | Paolo De Lutiis
    java.lang.ClassCastException: serverPackage.ServerClass_Stub at clientPackage.myApplet.init(myApplet.java:line#) at sun.applet.AppletPanel.run(AppletPanel.java:273) at java.lang.Thread.

    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. java.lang.ClassCastException

      org.jenkinsci.plugins.workflow.job.WorkflowJob cannot be cast to hudson.model.AbstractProject

      at bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketBuildTrigger.start()
    2. bitbucketpullrequestbuilder.bitbucketpullrequestbuilder
      BitbucketBuildTrigger.start
      1. bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketBuildTrigger.start(BitbucketBuildTrigger.java:23)
      1 frame
    3. org.jenkinsci.plugins
      WorkflowJob.onLoad
      1. org.jenkinsci.plugins.workflow.job.WorkflowJob.onLoad(WorkflowJob.java:132)
      1 frame
    4. Hudson
      Items.load
      1. hudson.model.Items.load(Items.java:320)
      1 frame
    5. jenkins.model
      Jenkins$17.run
      1. jenkins.model.Jenkins$17.run(Jenkins.java:2651)
      1 frame
    6. init
      Reactor.runTask
      1. org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
      2. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
      2 frames
    7. jenkins.model
      Jenkins$7.runTask
      1. jenkins.model.Jenkins$7.runTask(Jenkins.java:904)
      1 frame
    8. init
      Reactor$Node.run
      1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
      2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      2 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames