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

NPE archiving results after aborted build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • junit-plugin
    • None
    • Platform: All, OS: Linux

      Hudson v1.328

      I did a build, but saw it was failing so aborted it... and got an NPE:

      Build was aborted
      Archiving artifacts
      Recording test results
      FATAL: null
      java.lang.NullPointerException
      at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:569)
      at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:111)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:501)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:487)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:475)
      at hudson.model.Build$RunnerImpl.post2(Build.java:181)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:459)
      at hudson.model.Run.run(Run.java:1143)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:123)

            Unassigned Unassigned
            pjimenez3 pjimenez3
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: