org.xml.sax.SAXParseException: The root element is required in a well-formed document.

Oracle Community | 3004 | 1 decade ago
  1. 0

    Uninstall WLS 8.1 fails

    Oracle Community | 1 decade ago | 3004
    org.xml.sax.SAXParseException: The root element is required in a well-formed document.
  2. 0

    I am applying xsl transformation to a big xml file (100K nodes with 30 child nodes for each). I am using xalan-j 2.2.D13. I am getting No more DTM IDs. Any clue? Exception stack : org.apache.xml.dtm.DTMException: No more DTM IDs are available javax.xml.transform.TransformerException: org.apache.xml.dtm.DTMException: No more DTM IDs are available at org.apache.xalan.transformer.TransformerImpl.transform (TransformerImpl.java:690) at org.apache.xalan.transformer.TransformerImpl.transform (TransformerImpl.java:1092) at org.apache.xalan.transformer.TransformerImpl.transform (TransformerImpl.java:1070) at com.citigroup.issexp.xml.XSLTransformer.transform (XSLTransformer.java:146) at com.citigroup.issexp.feed.XMLFeedLoader.load(XMLFeedLoader.java:155) at com.citigroup.issexp.control.FeedLoadController.run (FeedLoadController.java:82) at java.lang.Thread.run(Thread.java:479) --------- org.apache.xml.dtm.DTMException: No more DTM IDs are available at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1094) at org.apache.xml.dtm.ref.DTMManagerDefault.getDTM (DTMManagerDefault.java:357) at org.apache.xalan.transformer.TransformerImpl.transform (TransformerImpl.java:634) at org.apache.xalan.transformer.TransformerImpl.transform (TransformerImpl.java:1092) at org.apache.xalan.transformer.TransformerImpl.transform (TransformerImpl.java:1070) at com.citigroup.issexp.xml.XSLTransformer.transform (XSLTransformer.java:146) at com.citigroup.issexp.feed.XMLFeedLoader.load(XMLFeedLoader.java:155) at com.citigroup.issexp.control.FeedLoadController.run (FeedLoadController.java:82) at java.lang.Thread.run(Thread.java:479) --------- org.apache.xml.dtm.DTMException: No more DTM IDs are available at org.apache.xml.dtm.ref.DTMDefaultBase.error(DTMDefaultBase.java:1962) at org.apache.xml.dtm.ref.sax2dtm.SAX2DTM.addNode(SAX2DTM.java:821) at org.apache.xml.dtm.ref.sax2dtm.SAX2DTM.startElement(SAX2DTM.java:1646) at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376) at org.apache.xerces.validators.common.XMLValidator.callStartElement (XMLValidator.java:1214) at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch (XMLDocumentScanner.java:1171) at org.apache.xerces.framework.XMLDocumentScanner.parseSome (XMLDocumentScanner.java:381) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081) at org.apache.xml.dtm.ref.DTMManagerDefault.getDTM (DTMManagerDefault.java:357) at org.apache.xalan.transformer.TransformerImpl.transform (TransformerImpl.java:634) at org.apache.xalan.transformer.TransformerImpl.transform (TransformerImpl.java:1092) at org.apache.xalan.transformer.TransformerImpl.transform (TransformerImpl.java:1070) at com.citigroup.issexp.xml.XSLTransformer.transform (XSLTransformer.java:146) at com.citigroup.issexp.feed.XMLFeedLoader.load(XMLFeedLoader.java:155) at com.citigroup.issexp.control.FeedLoadController.run (FeedLoadController.java:82) at java.lang.Thread.run(Thread.java:479) [Tue Jun 11 10:27:07 EDT 2002] [DefaultEventHandler::characters=1] The root element is required in a well-formed document. org.xml.sax.SAXParseException: The root element is required in a well-formed document. at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1196) at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError (XMLDocumentScanner.java:570) at org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.endOfInput (XMLDocumentScanner.java:790) at org.apache.xerces.framework.XMLDocumentScanner.endOfInput (XMLDocumentScanner.java:418) at org.apache.xerces.validators.common.XMLValidator.sendEndOfInputNotifications (XMLValidator.java:694) at org.apache.xerces.readers.DefaultEntityHandler.changeReaders (DefaultEntityHandler.java:1026) at org.apache.xerces.readers.XMLEntityReader.changeReaders (XMLEntityReader.java:168) at org.apache.xerces.readers.UTF8Reader.changeReaders(UTF8Reader.java:182) at org.apache.xerces.readers.UTF8Reader.lookingAtChar(UTF8Reader.java:197) at org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.dispatch (XMLDocumentScanner.java:686) at org.apache.xerces.framework.XMLDocumentScanner.parseSome (XMLDocumentScanner.java:381) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081) at com.citigroup.issexp.feed.DefaultXMLFeedReader.unmarshall (DefaultXMLFeedReader.java:69) at com.citigroup.issexp.feed.XMLFeedLoader.load(XMLFeedLoader.java:166) at com.citigroup.issexp.control.FeedLoadController.run (FeedLoadController.java:82)

    Apache's JIRA Issue Tracker | 1 decade ago | Praveen Kumar
    org.xml.sax.SAXParseException: The root element is required in a well-formed document.
  3. 0

    Error in calling getMediaInfo() for SL300i

    cgupnpjava | 1 decade ago | pthakur
    org.cybergarage.xml.ParserException: org.xml.sax.SAXParseException: The root element is required in a well-formed document.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    XML parser Exception

    Oracle Community | 1 decade ago | 3004
    org.xml.sax.SAXParseException: The root element is required in a well-formed document.
  6. 0

    log4j-1.2.7 axis weblogic 6.1

    Google Groups | 1 decade ago | Simone
    org.xml.sax.SAXParseException: The root element is required in a well-formed document.

    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.SAXParseException

      The root element is required in a well-formed document.

      at com.bea.plateng.wizard.installer.uninstall.UninstallDefinitionParser.<init>()
    2. com.bea.plateng
      AbstractSilentTask.run
      1. com.bea.plateng.wizard.installer.uninstall.UninstallDefinitionParser.<init>(UninstallDefinitionParser.java:131)
      2. com.bea.plateng.wizard.installer.uninstall.UninstallDefinitionHelper.parseDefintion(UninstallDefinitionHelper.java:223)
      3. com.bea.plateng.wizard.installer.uninstall.UninstallDefinitionHelper.init(UninstallDefinitionHelper.java:231)
      4. com.bea.plateng.wizard.installer.uninstall.silent.tasks.UninstallerInitTask.execute(UninstallerInitTask.java:83)
      5. com.bea.plateng.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:32)
      5 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:534)
      1 frame