Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-38763

NPE while loading build with workflow job

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • workflow-job-plugin
    • None

      I have a plugin https://github.com/olamy/loadgenerator-plugin.
      The pipeline generate a NPE (because of lazyLoading I guess).
      Is there any way to avoid that?

      SEVERE: Could not load actions from jenkins.tasks.SimpleBuildStep$LastBuildActionFactory@c048368 for org.jenkinsci.plugins.workflow.job.WorkflowJob@108825b[pipeline-test]
      java.lang.NullPointerException
      	at org.jenkinsci.plugins.workflow.job.WorkflowJob.getLastBuild(WorkflowJob.java:235)
      	at org.jenkinsci.plugins.workflow.job.WorkflowJob.getLastBuild(WorkflowJob.java:105)
      	at com.webtide.jetty.load.generator.jenkins.LoadGeneratorProjectAction.<init>(LoadGeneratorProjectAction.java:63)
      

            Unassigned Unassigned
            olamy Olivier Lamy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: