org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.

Oracle Community | Pierre C. | 8 years 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

    How to Print in PDF using XSL-FO with FOP  ????

    Oracle Community | 8 years ago | Pierre C.
    org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
  2. 0

    Trouble Producing Custom Reports Using Tomcat, Cocoon and FODesigner

    Oracle Community | 8 years ago | 721930
    org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
  3. 0

    FOP and Cocoon in linux

    Oracle Community | 10 years ago | 592741
    org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x0) was found in the element content of the document.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RE: Service Builder in Plugins Issue [Solved] - Forums | Liferay

    liferay.com | 1 year ago
    org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
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

    XML document structures must start and end within the same entity.

    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException()
  2. Xerces2-j
    SAXParserImpl$JAXPSAXParser.parse
    1. org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    2. org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
    3. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    4. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    5. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    6. org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
    7. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.endEntity(Unknown Source)
    8. org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Source)
    9. org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source)
    10. org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
    11. org.apache.xerces.impl.XMLEntityScanner.scanLiteral(Unknown Source)
    12. org.apache.xerces.impl.XMLScanner.scanAttributeValue(Unknown Source)
    13. org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanAttribute(Unknown Source)
    14. org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
    15. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    16. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    17. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    18. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    19. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    20. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    21. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    21 frames
  3. org.apache.excalibur
    JaxpParser.parse
    1. org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:315)
    2. org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:334)
    2 frames
  4. org.apache.cocoon
    CocoonServlet.service
    1. org.apache.cocoon.generation.StreamGenerator.generate(StreamGenerator.java:154)
    2. org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
    3. org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
    4. org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780)
    5. org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414)
    6. org.apache.cocoon.components.xslt.TraxProcessor.sourceToSAX(TraxProcessor.java:306)
    7. org.apache.cocoon.components.xslt.TraxProcessor.getTransformerHandlerAndValidity(TraxProcessor.java:241)
    8. org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:331)
    9. org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:398)
    10. org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:718)
    11. org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:501)
    12. org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:453)
    13. org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144)
    14. org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    15. org.apache.cocoon.components.treeprocessor.sitemap.SwitchSelectNode.invoke(SwitchSelectNode.java:104)
    16. org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
    17. org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
    18. org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    19. org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
    20. org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    21. org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
    22. org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
    23. org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
    24. org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
    25. org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
    26. org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
    27. org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
    28. org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    29. org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
    30. org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    31. org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
    32. org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
    33. org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
    34. org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
    35. org.apache.cocoon.Cocoon.process(Cocoon.java:699)
    36. org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
    36 frames
  5. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    1 frame
  6. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    8 frames
  7. Grizzly HTTP
    JIoEndpoint$Worker.run
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
    2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
    3 frames
  8. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:595)
    1 frame