NullPointerException while parsing testng-results.xml files

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: 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

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

              Created:
              Updated:
              Resolved: