Michael van der Westhuizen created JENKINS-13034:
----------------------------------------------------
Summary: Null Pointer Exception in JUnitCaseNameResultSeeker
Key: JENKINS-13034
URL: https://issues.jenkins-ci.org/browse/JENKINS-13034
Project: Jenkins
Issue Type: Bug
Components: testlink
Affects Versions: current
Environment: Jenkins 1.454 on Mac OS X 10.7 - up-to-date TestLink
built from github master.
Reporter: Michael van der Westhuizen
Assignee: Bruno P. Kinoshita
Attachments: testlink-plugin-npe.patch
In our case, testCase.getSuiteResult() returns a null pointer, so when it's
called in getJUnitNotes to get the suite timestamp we get a null pointer
exception.
I've got around this by changing the call to:
(testCase.getSuiteResult() != null ?
testCase.getSuiteResult().getTimestamp() : null)
Please see the attached patch, which allows us to correctly integrate with
TestLink.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira