[
https://issues.jenkins-ci.org/browse/JENKINS-13034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160075#comment-160075
]
Bruno P. Kinoshita commented on JENKINS-13034:
----------------------------------------------
Thanks Michael! Your patch has been applied. A new issue related to JUnit has
just been created (I was expecting it, after refactoring many parts of the
code). Give me some time to see if I can fix this issue and include in the next
release.
B
> 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