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

java.lang.NullPointerException at end of successful build preventing downstream jobs

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      Jenkins 2.163

      Description

      I have a Freestyle project job which has been working for over 40 runs but now gets the error below at the end of each build.  I have created another job copying the configuration of this one and it runs without getting the error.  This error stops the trigger of downstream jobs but doesn't appear to hurt anything in the build itself. I have not updated or installed anything recently that could account for this.

       
      Archiving artifacts
      FATAL: null
      java.lang.NullPointerException
      at hudson.model.RunParameterDefinition.getDefaultParameterValue(RunParameterDefinition.java:174)
      at jenkins.model.ParameterizedJobMixIn.getDefaultParametersValues(ParameterizedJobMixIn.java:171)
      at jenkins.model.ParameterizedJobMixIn.scheduleBuild2(ParameterizedJobMixIn.java:153)
      at jenkins.model.ParameterizedJobMixIn.scheduleBuild2(ParameterizedJobMixIn.java:122)
      at jenkins.model.ParameterizedJobMixIn$ParameterizedJob.scheduleBuild2(ParameterizedJobMixIn.java:417)
      at hudson.model.AbstractProject.scheduleBuild2(AbstractProject.java:852)
      at hudson.model.AbstractProject.scheduleBuild2(AbstractProject.java:824)
      at hudson.model.AbstractProject.scheduleBuild2(AbstractProject.java:807)
      at hudson.model.AbstractProject.scheduleBuild(AbstractProject.java:795)
      at hudson.tasks.BuildTrigger.execute(BuildTrigger.java:278)
      at hudson.model.AbstractBuild$AbstractBuildExecution.cleanUp(AbstractBuild.java:643)
      at hudson.model.Build$BuildExecution.cleanUp(Build.java:201)
      at hudson.model.Run.execute(Run.java:1784)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:421)
      Finished: SUCCESS

        Attachments

          Activity

          jmckinnon Joshua McKinnon created issue -
          oleg_nenashev Oleg Nenashev made changes -
          Field Original Value New Value
          Labels NullPointerException build jenkins NullPointerException build jenkins newbie-friendly
          oleg_nenashev Oleg Nenashev made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          oleg_nenashev Oleg Nenashev made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          oleg_nenashev Oleg Nenashev made changes -
          Remote Link This issue links to "https://github.com/jenkinsci/jenkins/pull/3112 (Web Link)" [ 17939 ]
          oleg_nenashev Oleg Nenashev made changes -
          Released As Jenkins 2.163
          Resolution Fixed [ 1 ]
          Status In Review [ 10005 ] Resolved [ 5 ]
          oleg_nenashev Oleg Nenashev made changes -
          Labels NullPointerException build jenkins newbie-friendly NullPointerException build jenkins lts-candidate newbie-friendly
          olivergondza Oliver Gondža made changes -
          Labels NullPointerException build jenkins lts-candidate newbie-friendly NullPointerException build jenkins newbie-friendly

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jmckinnon Joshua McKinnon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: