I have the same NPE running on Windows 2008R2 64bit, Jenkins 1.504 and NUnit plugin 0.14. This issue only arose when I upgraded from 1.501 to 1.504 (the next day), but it didn't start immediately and I have other NUnit publications that are working without issue. I do not have the job currently configured to "Discard Old Builds" and I have a around 170 builds in my build history.

Recording NUnit tests results
ERROR: Publisher hudson.plugins.nunit.NUnitPublisher aborted due to exception
java.lang.NullPointerException
at hudson.model.Run.getRootDir(Run.java:935)
at hudson.tasks.junit.TestResultAction.getDataFile(TestResultAction.java:91)
at hudson.tasks.junit.TestResultAction.load(TestResultAction.java:147)
at hudson.tasks.junit.TestResultAction.getResult(TestResultAction.java:97)
at hudson.tasks.junit.TestResultAction.getResult(TestResultAction.java:55)
at hudson.tasks.test.AbstractTestResultAction.findCorrespondingResult(AbstractTestResultAction.java:183)
at hudson.tasks.test.TestResult.getPreviousResult(TestResult.java:145)
at hudson.tasks.junit.SuiteResult.getPreviousResult(SuiteResult.java:296)
at hudson.tasks.junit.CaseResult.getPreviousResult(CaseResult.java:375)
at hudson.tasks.junit.CaseResult.freeze(CaseResult.java:486)
at hudson.tasks.junit.SuiteResult.freeze(SuiteResult.java:338)
at hudson.tasks.junit.TestResult.freeze(TestResult.java:604)
at hudson.tasks.junit.TestResultAction.setResult(TestResultAction.java:74)
at hudson.tasks.junit.TestResultAction.<init>(TestResultAction.java:67)
at hudson.plugins.nunit.NUnitPublisher.recordTestResult(NUnitPublisher.java:150)
at hudson.plugins.nunit.NUnitPublisher.perform(NUnitPublisher.java:109)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:814)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:786)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:733)
at hudson.model.Run.execute(Run.java:1592)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:237)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to