NullPointerException when recording junit test results

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      After we upgraded from 1.159 to 1.185 we encountered the error below (Still in
      1.200). It occurs when we check the "Publish JUnit test result report" under
      post build actions in a free-style job. We are using SoapUI Pro 1.7.6 to
      generate the junit report file (using the testrunner).

      Recording test results
      FATAL: null
      java.lang.NullPointerException
      at hudson.tasks.junit.CaseResult.getPackageName(CaseResult.java:168)
      at hudson.tasks.junit.TestResult.freeze(TestResult.java:240)
      at hudson.tasks.junit.TestResultAction.setResult(TestResultAction.java:48)
      at hudson.tasks.junit.TestResultAction.<init>(TestResultAction.java:41)
      at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:66)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:273)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:261)
      at hudson.model.Build$RunnerImpl.post2(Build.java:136)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:246)
      at hudson.model.Run.run(Run.java:677)
      at hudson.model.Build.run(Build.java:101)
      at hudson.model.ResourceController.execute(ResourceController.java:70)
      at hudson.model.Executor.run(Executor.java:71)

            Assignee:
            Unassigned
            Reporter:
            bardoo
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: