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

NUnit plugin throws a NullReferenceException when parsing NUnit XML

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • nunit-plugin
    • Official Jenkins 2.46.2 Docker image
      NUnit plugin 0.20
      Unity3DBuilder plugin 1.3

      The NUnit plugin throws a NullReferenceException when attempting to parse the .xml report produced by Unity3D's test runner:

      Here is the actual error from our build logs:

      The job is run on a slave node running on Mac OS X 10.11.6. So far I have been unable to publish a single report with the NUnit plugin. I have confirmed that the NUnit plugin does find the report file, the failure happens after the parsing has started and a temporary-junit-reports folder has been created (containing a simple temp-junit.xml with barely no contents, see below)

        1. firefox_2017-05-05_14-43-51.png
          52 kB
          Atso Sariola
        2. notepad_2017-05-05_14-42-04.png
          65 kB
          Atso Sariola
        3. notepad_2017-05-05_14-58-39.png
          10 kB
          Atso Sariola
        4. report.xml
          2 kB
          Atso Sariola

            slide_o_mix Alex Earl
            thesymbolat Atso Sariola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: