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

Stack Overflow | JohnTheBeloved | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    How to reload logback.groovy file from custom file Path

    Stack Overflow | 5 months ago | JohnTheBeloved
    org.xml.sax.SAXParseException: Content is not allowed in prolog.
  2. 0

    The processing instruction target matching "[xX][mM][lL]" is not allowed

    GitHub | 7 months ago | voellm
    org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
  3. 0

    GitHub comment 758#231400815

    GitHub | 7 months ago | voellm
    org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Logback issue

    GitHub | 3 years ago | odwrotnie
    org.xml.sax.SAXParseException: Premature end of file.
  6. 0

    Stack Traces are displayed during tests

    GitHub | 9 months ago | matthewhorridge
    org.xml.sax.SAXParseException: Content is not allowed in prolog.
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.parse
    1. com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
    2. com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
    3. com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
    4. com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
    5. com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1465)
    6. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:999)
    7. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
    8. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:118)
    9. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:504)
    10. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
    11. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
    12. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
    13. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
    14. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
    15. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:327)
    15 frames
  3. Logback Core Module
    GenericConfigurator.doConfigure
    1. ch.qos.logback.core.joran.event.SaxEventRecorder.recordEvents(SaxEventRecorder.java:61)
    2. ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:134)
    3. ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:99)
    4. ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:49)
    4 frames
  4. com.interswitchng.techquest
    HealthController.troubleshoot
    1. com.interswitchng.techquest.smartinsure.rest.api.instrumentation.health.processor.HealthProcessor.reloadLogback(HealthProcessor.java:120)
    2. com.interswitchng.techquest.smartinsure.rest.api.instrumentation.health.processor.HealthProcessor.troubleshoot(HealthProcessor.java:139)
    3. com.interswitchng.techquest.smartinsure.rest.api.instrumentation.health.controller.HealthController.troubleshoot(HealthController.java:34)
    3 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames