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

NullPointerException when recording junit test results

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • junit-plugin
    • None
    • Platform: PC, OS: Windows XP

      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)

            Unassigned Unassigned
            bardoo bardoo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: