[ 
https://issues.jenkins-ci.org/browse/JENKINS-13034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160069#comment-160069
 ] 

Bruno P. Kinoshita commented on JENKINS-13034:
----------------------------------------------

Nice catch. I can cut a new release today. Would you like to send a pull 
request to the plug-in Github repository? I can apply the patch myself too, 
makes no difference for me :-) Let me know if you want your information added 
to the project as contributor as well (I include all alpha testers, people who 
contribute with patches, ideas, etc).

Thank you!
                
> 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

        

Reply via email to