-
Bug
-
Resolution: Duplicate
-
Critical
-
None
-
Platform: All, OS: All
The build output, starting at recording the results:
###
Recording test results
FATAL: Failed to read
C:\hudson\tools\hudson\jobs\RegServerCom_unittests\workspace\unittest.RegServerCom_unittests.unittest.cppunit.xml.junit.xml
hudson.util.IOException2: Failed to read
C:\hudson\tools\hudson\jobs\RegServerCom_unittests\workspace\unittest.RegServerCom_unittests.unittest.cppunit.xml.junit.xml
at hudson.tasks.junit.TestResult.parse(TestResult.java:128)
at hudson.tasks.junit.TestResult.parse(TestResult.java:95)
at hudson.tasks.junit.TestResult.<init>(TestResult.java:72)
at hudson.tasks.junit.JUnitResultArchiver$1.invoke(JUnitResultArchiver.java:62)
at hudson.tasks.junit.JUnitResultArchiver$1.invoke(JUnitResultArchiver.java:51)
at hudson.FilePath.act(FilePath.java:301)
at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:51)
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:65)
Caused by: java.lang.NullPointerException
at hudson.tasks.junit.CaseResult.parseTime(CaseResult.java:47)
at hudson.tasks.junit.CaseResult.<init>(CaseResult.java:34)
at hudson.tasks.junit.CaseResult.<init>(CaseResult.java:42)
at hudson.tasks.junit.SuiteResult.<init>(SuiteResult.java:69)
at hudson.tasks.junit.TestResult.parse(TestResult.java:124)
... 14 more
###
The file unittest.RegServerCom_unittests.unittest.cppunit.xml.junit.xml:
###
<?xml version="1.0"?>
<testsuite errors="0" failures="1" tests="3" name="from cppunit">
<testcase classname="CUnitTests" name="init">
<error message="assertion failed - Expression: 0 == 1"
type="Assertion">assertion failed
- Expression: 0 == 1
File:cunittests.h
Line:84</error>
</testcase>
<testcase classname="CUnitTests" name="test_tryRegistration"/>
<testcase classname="CUnitTests" name="test_tryRegistration"/>
</testsuite>
###
- duplicates
-
JENKINS-1317 Null Pointer Exception parsing JUnit results
- Closed