java.lang.ArrayIndexOutOfBoundsException: 0

GitHub | lqc | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    XMLReporter crashes if a test parameter is exactly "]]>"

    GitHub | 6 months ago | lqc
    java.lang.ArrayIndexOutOfBoundsException: 0

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      0

      at org.testng.reporters.XMLStringBuffer.addCDATA()
    2. TestNG
      XMLReporter.writeSuiteToBuffer
      1. org.testng.reporters.XMLStringBuffer.addCDATA(XMLStringBuffer.java:308)
      2. org.testng.reporters.XMLSuiteResultWriter.addParameter(XMLSuiteResultWriter.java:266)
      3. org.testng.reporters.XMLSuiteResultWriter.addTestMethodParams(XMLSuiteResultWriter.java:250)
      4. org.testng.reporters.XMLSuiteResultWriter.addTestResult(XMLSuiteResultWriter.java:154)
      5. org.testng.reporters.XMLSuiteResultWriter.addTestResults(XMLSuiteResultWriter.java:130)
      6. org.testng.reporters.XMLSuiteResultWriter.writeAllToBuffer(XMLSuiteResultWriter.java:74)
      7. org.testng.reporters.XMLSuiteResultWriter.writeSuiteResult(XMLSuiteResultWriter.java:52)
      8. org.testng.reporters.XMLReporter.writeSuiteToBuffer(XMLReporter.java:120)
      8 frames