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

buildMixIn variable null after restart in class hudson.model.AbstractProject

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Jenkins version: 2.6, 2.11
      gatling-plugin: 1.2

      Hello,

      After a Jenkins restart, I have a NullPointerEception when accessing a page with a custom Action (plugin gatling-plugin).

      This seems to be due to the buildMixIn variable in the hudson.model.AbstractProject class being null. This variable is transient.

      It gives me the following stack trace:

      java.lang.NullPointerException
      	at hudson.model.AbstractProject._getRuns(AbstractProject.java:953)
      	at hudson.model.AbstractProject._getRuns(AbstractProject.java:144)
      	at hudson.model.Job.getBuilds(Job.java:706)
      	at io.gatling.jenkins.GatlingProjectAction.isVisible(GatlingProjectAction.java:54)
      [...]
      

      Thank you,
      Cédric

            Unassigned Unassigned
            ccousseran Cédric Cousseran
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: