org.xml.sax.SAXException: Don't know how to parse categories

Atlassian JIRA | MattyJ | 9 years ago
  1. 0

    When trying to parse a certain test results file, the Bamboo log shows this error and the build fails. Sample test output attached: 2007-09-27 18:07:38,462 ERROR [BAM:Unit Test:BuildExe] [NUnitXmlTestResultsParser] Failed to parse xml test results. File name: test_results.xml. At path: C:\localdev\DotNet\Source\CheckCashing\CheckCashing.NUnit\bin\Debug\test_results.xml org.xml.sax.SAXException: Don't know how to parse categories at com.atlassian.bamboo.configuration.DefaultContentHandler.startElement(DefaultContentHandler.java:56) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at com.atlassian.bamboo.plugin.builder.nant.NUnitXmlTestResultsParser.parse(NUnitXmlTestResultsParser.java:189) at com.atlassian.bamboo.plugin.builder.nant.NUnitTestReportCollector.collect(NUnitTestReportCollector.java:44) at com.atlassian.bamboo.plugin.builder.nant.AbstractDotNetBuilder$NUnitResultFileVisitor.visitFile(AbstractDotNetBuilder.java:86) at com.atlassian.bamboo.utils.FileVisitor.visitAlLFilesThatMatchAPattern(FileVisitor.java:78) at com.atlassian.bamboo.utils.FileVisitor.visitFilesThatMatch(FileVisitor.java:52) at com.atlassian.bamboo.plugin.builder.nant.AbstractDotNetBuilder.collateTestResults(AbstractDotNetBuilder.java:117) at com.atlassian.bamboo.builder.AbstractBuilder.build(AbstractBuilder.java:214) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:48) at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:31) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Unknown Source)

    Atlassian JIRA | 9 years ago | MattyJ
    org.xml.sax.SAXException: Don't know how to parse categories
  2. 0

    When trying to parse a certain test results file, the Bamboo log shows this error and the build fails. Sample test output attached: 2007-09-27 18:07:38,462 ERROR [BAM:Unit Test:BuildExe] [NUnitXmlTestResultsParser] Failed to parse xml test results. File name: test_results.xml. At path: C:\localdev\DotNet\Source\CheckCashing\CheckCashing.NUnit\bin\Debug\test_results.xml org.xml.sax.SAXException: Don't know how to parse categories at com.atlassian.bamboo.configuration.DefaultContentHandler.startElement(DefaultContentHandler.java:56) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at com.atlassian.bamboo.plugin.builder.nant.NUnitXmlTestResultsParser.parse(NUnitXmlTestResultsParser.java:189) at com.atlassian.bamboo.plugin.builder.nant.NUnitTestReportCollector.collect(NUnitTestReportCollector.java:44) at com.atlassian.bamboo.plugin.builder.nant.AbstractDotNetBuilder$NUnitResultFileVisitor.visitFile(AbstractDotNetBuilder.java:86) at com.atlassian.bamboo.utils.FileVisitor.visitAlLFilesThatMatchAPattern(FileVisitor.java:78) at com.atlassian.bamboo.utils.FileVisitor.visitFilesThatMatch(FileVisitor.java:52) at com.atlassian.bamboo.plugin.builder.nant.AbstractDotNetBuilder.collateTestResults(AbstractDotNetBuilder.java:117) at com.atlassian.bamboo.builder.AbstractBuilder.build(AbstractBuilder.java:214) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:48) at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:31) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Unknown Source)

    Atlassian JIRA | 9 years ago | MattyJ
    org.xml.sax.SAXException: Don't know how to parse categories
  3. 0

    Soap Encoding problem

    Oracle Community | 1 decade ago | 3004
    org.xml.sax.SAXException: Could not find a codec that understood how to encode class Message using http://schemas.xmlsoap.org/soap/encoding/: [ CodecFactory: http://schemas.xmlsoap.org/soap/encoding/=null , =null]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Soap Encoding problem

    Oracle Community | 1 decade ago | 3004
    org.xml.sax.SAXException: Could not find a codec that understood how to encode class Message using http://schemas.xmlsoap.org/soap/encoding/: [ CodecFactory: http://schemas.xmlsoap.org/soap/encoding/=null, =null]
  6. 0

    WLS6.1 sp2: wsgen task raises exceptions for a value object parameter

    Oracle Community | 1 decade ago | 3004
    org.xml.sax.SAXException: Could not find a codec that understood how to convert class TestVO using http://schemas.xmlsoap.org/soap/encoding/: [ CodecFactory: http://xml.apache.org/xml-soap/literalxml=null, http://schemas.xmlsoap.org/ soap/encoding/=null, =null]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.xml.sax.SAXException

      Don't know how to parse categories

      at com.atlassian.bamboo.configuration.DefaultContentHandler.startElement()
    2. com.atlassian.bamboo
      DefaultContentHandler.startElement
      1. com.atlassian.bamboo.configuration.DefaultContentHandler.startElement(DefaultContentHandler.java:56)
      1 frame
    3. Xerces2-j
      AbstractSAXParser.parse
      1. org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      2. org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
      3. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      5. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      6. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      7. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      8. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      8 frames
    4. com.atlassian.bamboo
      ExecuteBuildTask.call
      1. com.atlassian.bamboo.plugin.builder.nant.NUnitXmlTestResultsParser.parse(NUnitXmlTestResultsParser.java:189)
      2. com.atlassian.bamboo.plugin.builder.nant.NUnitTestReportCollector.collect(NUnitTestReportCollector.java:44)
      3. com.atlassian.bamboo.plugin.builder.nant.AbstractDotNetBuilder$NUnitResultFileVisitor.visitFile(AbstractDotNetBuilder.java:86)
      4. com.atlassian.bamboo.utils.FileVisitor.visitAlLFilesThatMatchAPattern(FileVisitor.java:78)
      5. com.atlassian.bamboo.utils.FileVisitor.visitFilesThatMatch(FileVisitor.java:52)
      6. com.atlassian.bamboo.plugin.builder.nant.AbstractDotNetBuilder.collateTestResults(AbstractDotNetBuilder.java:117)
      7. com.atlassian.bamboo.builder.AbstractBuilder.build(AbstractBuilder.java:214)
      8. com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:48)
      8 frames
    5. Backport of JSR 166
      ThreadPoolExecutor$Worker.run
      1. edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
      2. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
      3. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
      3 frames
    6. com.atlassian.bamboo
      NamedThreadFactory$1.run
      1. com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:31)
      1 frame
    7. Backport of JSR 166
      ThreadHelpers$1.run
      1. edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34)
      1 frame
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame