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

Naginator plugin throwing Null Pointer Exception

    Details

    • Similar Issues:

      Description

      Jobs which are not configured with Naginator are also failed because of the below error.

      FATAL: null
      java.lang.NullPointerException
      at com.chikli.hudson.plugin.naginator.NaginatorListener.setUpEnvironment(NaginatorListener.java:94)
      at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:587)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:491)
      at hudson.model.Run.execute(Run.java:1759)
      at hudson.maven.MavenBuild.run(MavenBuild.java:269)
      at hudson.model.ResourceController.execute(ResourceController.java:89)
      at hudson.model.Executor.run(Executor.java:240)

      Also Choice Parameter is not working after installing Naginator plugin.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: ikedam
          Path:
          src/main/java/hudson/maven/MavenBuild.java
          src/test/java/hudson/maven/AbstractMaven3xBuildTest.java
          http://jenkins-ci.org/commit/maven-plugin/aacdd9d8b07fbf7fb7493243fa26a38dc5f601a0
          Log:
          JENKINS-34900 getRootBuild() returns itself when there's no parent. (#68)

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/hudson/maven/MavenBuild.java src/test/java/hudson/maven/AbstractMaven3xBuildTest.java http://jenkins-ci.org/commit/maven-plugin/aacdd9d8b07fbf7fb7493243fa26a38dc5f601a0 Log: JENKINS-34900 getRootBuild() returns itself when there's no parent. (#68)
          Hide
          leandro_freitas_softdevelop Leandro Kersting de Freitas added a comment -

          \o/ great job. Congratulations.

          Show
          leandro_freitas_softdevelop Leandro Kersting de Freitas added a comment - \o/ great job. Congratulations.
          Hide
          ikedam ikedam added a comment -

          Fixed in naginator-plugin 1.17.1.
          It will be available in the update center in a day.
          Please try that.

          Show
          ikedam ikedam added a comment - Fixed in naginator-plugin 1.17.1. It will be available in the update center in a day. Please try that.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: ikedam
          Path:
          src/main/java/com/chikli/hudson/plugin/naginator/NaginatorListener.java
          src/test/java/com/chikli/hudson/plugin/naginator/NaginatorListenerTest.java
          http://jenkins-ci.org/commit/naginator-plugin/ce036de06b64d734d89ed5a4cbc6d099e63be8a6
          Log:
          Merge pull request #31 from ikedam/feature/JENKINS-34900_FixNPEforMavenModule

          JENKINS-34900 Fix NPE when triggering single Maven module.

          Compare: https://github.com/jenkinsci/naginator-plugin/compare/27f461a9acbf...ce036de06b64

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/com/chikli/hudson/plugin/naginator/NaginatorListener.java src/test/java/com/chikli/hudson/plugin/naginator/NaginatorListenerTest.java http://jenkins-ci.org/commit/naginator-plugin/ce036de06b64d734d89ed5a4cbc6d099e63be8a6 Log: Merge pull request #31 from ikedam/feature/ JENKINS-34900 _FixNPEforMavenModule JENKINS-34900 Fix NPE when triggering single Maven module. Compare: https://github.com/jenkinsci/naginator-plugin/compare/27f461a9acbf...ce036de06b64
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: ikedam
          Path:
          src/main/java/com/chikli/hudson/plugin/naginator/NaginatorListener.java
          http://jenkins-ci.org/commit/naginator-plugin/cbd89e56abe77230f0ad6eff43ee697b6d110925
          Log:
          [FIXED JENKINS-34900] Fix NPE when single Maven module is triggered.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/com/chikli/hudson/plugin/naginator/NaginatorListener.java http://jenkins-ci.org/commit/naginator-plugin/cbd89e56abe77230f0ad6eff43ee697b6d110925 Log: [FIXED JENKINS-34900] Fix NPE when single Maven module is triggered.

            People

            • Assignee:
              aarige Anil Arige
              Reporter:
              aarige Anil Arige
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: