java.lang.ArrayIndexOutOfBoundsException: 0

GitHub | lqc | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

    GitHub | 9 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