org.xml.sax.SAXParseException: Content is not allowed in prolog.

Oracle Community | dcartee4 | 8 years ago
  1. 0

    Content is not allowed in prolog

    Oracle Community | 8 years ago | dcartee4
    org.xml.sax.SAXParseException: Content is not allowed in prolog.
  2. 0

    Unable to run Struts2 basic application

    Coderanch | 3 years ago | Tarun Oohri
    org.xml.sax.SAXParseException: Content is not allowed in prolog.
  3. 0

    Installing JSTL results in org.xml.sax.SAXParseException: Content is not allowed in prolog

    Stack Overflow | 4 years ago | Shruti Basu
    org.xml.sax.SAXParseException: Content is not allowed in prolog.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java program to convert a Text file to XML using XSL

    Stack Overflow | 2 years ago | Chaitanya
    net.sf.saxon.trans.XPathException: org.xml.sax.SAXParseException: Content is not allowed in prolog.
  6. 0

    groovy script in jenkins shows org.xml.sax.SAXParseException: Content is not allowed in prolog

    Stack Overflow | 2 years ago | Ashok K
    org.xml.sax.SAXParseException: Content is not allowed in prolog.

  1. mauritius 2 times, last 1 month ago
  2. rp 1 times, last 5 months ago
6 unregistered visitors
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

    Content is not allowed in prolog.

    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException()
  2. Java RT
    SAXParserImpl$JAXPSAXParser.parse
    1. com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
    2. com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
    3. com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
    4. com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1411)
    5. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1038)
    6. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
    7. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
    8. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
    9. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
    10. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
    11. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
    12. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
    12 frames
  3. com.sun.org
    Digester.parse
    1. com.sun.org.apache.commons.digester.Digester.parse(Digester.java:1548)
    1 frame
  4. Glassfish Core
    StandardContext.start
    1. org.apache.catalina.startup.TldConfig.tldScanStream(TldConfig.java:656)
    2. org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:701)
    3. org.apache.catalina.startup.TldConfig.execute(TldConfig.java:442)
    4. org.apache.catalina.core.StandardContext.start(StandardContext.java:5117)
    4 frames
  5. Glassfish
    LifecycleStarter.doRun
    1. com.sun.enterprise.web.WebModule.start(WebModule.java:326)
    2. com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
    2 frames
  6. AMX API
    RunnableBase.submit
    1. com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
    2. com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
    3. com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:192)
    3 frames
  7. Glassfish
    VirtualServer.startChildren
    1. com.sun.enterprise.web.VirtualServer.startChildren(VirtualServer.java:1672)
    1 frame
  8. Glassfish Core
    StandardHost.start
    1. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1231)
    2. org.apache.catalina.core.StandardHost.start(StandardHost.java:955)
    2 frames
  9. Glassfish
    LifecycleStarter.doRun
    1. com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
    1 frame
  10. AMX API
    RunnableBase.run
    1. com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
    2. com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:341)
    2 frames
  11. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    6. java.lang.Thread.run(Thread.java:619)
    6 frames