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

java.lang.NullPointerException when starting job

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: multijob-plugin
    • Labels:
      None
    • Environment:
      linux/debian,x64, JDK 1.7.0_09, Jenkins 1.489.
    • Similar Issues:

      Description

      Throws exception when starting job - Revert to 1.5 works.

      Starting build job Foo_Bar_Baz
      FATAL: null
      java.lang.NullPointerException
      at com.tikal.jenkins.plugins.multijob.PhaseJobsConfig.getActions(PhaseJobsConfig.java:264)
      at com.tikal.jenkins.plugins.multijob.MultiJobBuilder.prepareActions(MultiJobBuilder.java:173)
      at com.tikal.jenkins.plugins.multijob.MultiJobBuilder.perform(MultiJobBuilder.java:89)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
      at hudson.model.Build$BuildExecution.build(Build.java:199)
      at hudson.model.Build$BuildExecution.doRun(Build.java:160)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586)
      at hudson.model.Run.execute(Run.java:1516)
      at hudson.model.Run.run(Run.java:1462)
      at com.tikal.jenkins.plugins.multijob.MultiJobBuild.run(MultiJobBuild.java:45)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:236)

        Attachments

          Activity

          Hide
          jjrodgers313 Jeff Rodgers added a comment -

          This also occurred for me after upgrading the following plugins:

          • Jenkins CVS plugin (2.7)
          • Environment Injector Plugin (1.73)
          • Jenkins Multijob Plugin (1.6)
          • conditional-buildstep (1.2.1)
          • Jenkins Artifact Deployer Plug-in (0.25)
          Show
          jjrodgers313 Jeff Rodgers added a comment - This also occurred for me after upgrading the following plugins: Jenkins CVS plugin (2.7) Environment Injector Plugin (1.73) Jenkins Multijob Plugin (1.6) conditional-buildstep (1.2.1) Jenkins Artifact Deployer Plug-in (0.25)
          Hide
          trnl Uladzimir Mihura added a comment -

          Same for me.

          I'll try to look and make a pull request if possible.

          -vova

          Show
          trnl Uladzimir Mihura added a comment - Same for me. I'll try to look and make a pull request if possible. -vova
          Hide
          trnl Uladzimir Mihura added a comment -

          This is already fixed in master:
          https://github.com/jenkinsci/tikal-multijob-plugin/compare/jenkins-multijob-plugin-1.6...master#L4R308

          Let's just wait for new version

          -vova

          Show
          trnl Uladzimir Mihura added a comment - This is already fixed in master: https://github.com/jenkinsci/tikal-multijob-plugin/compare/jenkins-multijob-plugin-1.6...master#L4R308 Let's just wait for new version -vova
          Hide
          gils Gil Shinar added a comment -

          Version 1.6 has an additional XML element named "configs" that version 1.5 did not have. An exception error has occurred because the configs object was null.

          Show
          gils Gil Shinar added a comment - Version 1.6 has an additional XML element named "configs" that version 1.5 did not have. An exception error has occurred because the configs object was null.
          Hide
          hagzag hagzag added a comment -

          Verified fix

          Show
          hagzag hagzag added a comment - Verified fix

            People

            Assignee:
            gils Gil Shinar
            Reporter:
            jan_goyvaerts Jan Goyvaerts
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: