Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-13034

Null Pointer Exception in JUnitCaseNameResultSeeker

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • testlink-plugin
    • None
    • Jenkins 1.454 on Mac OS X 10.7 - up-to-date TestLink built from github master.

      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.

            kinow Bruno P. Kinoshita
            r1mikey Michael van der Westhuizen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: