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

NullPointerException while parsing testng-results.xml files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • testng-plugin
    • None

      Here is the stack :

      java.lang.NullPointerException
      at hudson.plugins.testng.results.MethodResultException.trySettingData(MethodResultException.java:57)
      at hudson.plugins.testng.results.MethodResultException.<init>(MethodResultException.java:25)
      at hudson.plugins.testng.parser.ResultsParser.finishException(ResultsParser.java:322)
      at hudson.plugins.testng.parser.ResultsParser.parse(ResultsParser.java:226)
      at hudson.plugins.testng.parser.TestParser.getResults(TestParser.java:88)
      at hudson.plugins.testng.parser.TestParser.testParseEmptyException(TestParser.java:79)

      It is because I have an empty full stacktrace, but no short ...

      I am going to fork on github to provide a patch with a testcase

            nalin_makar nalin_makar
            falcon benoit guerin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: