-
Bug
-
Resolution: Duplicate
-
Major
-
Jenkins version: 2.46.1
Plugin version: 5.1
I got this error message from the console when running a testcase:
Recording test results
Report archiving mode is set to: PUBLISH_HTML_REPORT
Zipping report folder: d:\Jenkins\workspace\TF_PHKO_Enter_prestandatest\ea2861
Parsing test run dataset for perfomrance report
ERROR: Build step failed with exception
java.lang.NullPointerException
at
com.hp.application.automation.tools.results.RunResultRecorder.addTimeRanges(RunResultRecorder.java:1175)
at
com.hp.application.automation.tools.results.RunResultRecorder.processSlaRule(RunResultRecorder.java:1161)
at
com.hp.application.automation.tools.results.RunResultRecorder.processSLA(RunResultRecorder.java:1081)
at
com.hp.application.automation.tools.results.RunResultRecorder.parseScenarioResults(RunResultRecorder.java:997)
at
com.hp.application.automation.tools.results.RunResultRecorder.buildJobDataset(RunResultRecorder.java:980)
at
com.hp.application.automation.tools.results.RunResultRecorder.recordRunResults(RunResultRecorder.java:215)
at
com.hp.application.automation.tools.results.RunResultRecorder.perform(RunResultRecorder.java:1237)
at
hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
at
hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
at
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
at
hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
at
hudson.model.Build$BuildExecution.post2(Build.java:186)
at
hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
at
hudson.model.Run.execute(Run.java:1753)
at
hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at
hudson.model.ResourceController.execute(ResourceController.java:98)
at
hudson.model.Executor.run(Executor.java:405)
Build step 'Publish HP tests result' marked build as failure
I will attach a copy of the SLA.xml
There should be some check to see if the element is containing information to avoid this null pointer exception to handle this maybe.
- is related to
-
JENKINS-43410 Null pointer exception when LR transactions are marked with NoData status
- Resolved