net.sf.jasperreports.engine.JRException: org.xml.sax.SAXParseException: Content is not allowed in prolog.

Coderanch | Kasun Wixkramanayake | 5 years ago
  1. 0

    cannot pass to value to a jasper parameter

    Coderanch | 5 years ago | Kasun Wixkramanayake
    net.sf.jasperreports.engine.JRException: org.xml.sax.SAXParseException: Content is not allowed in prolog.
  2. 0

    Caused by: org.xml.sax.SAXParseException: Attribute "splitType" must be declared for element type "b | Jaspersoft Community

    jaspersoft.com | 1 year ago
    net.sf.jasperreports.engine.JRException: org.xml.sax.SAXParseException: Attribute "splitType" must be declared for element type "band".
  3. 0

    "Content is not allowed in prolog" spam in jenkins.log

    Google Groups | 5 years ago | Jack Haughton
    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

    org.xml.sax error content not allowed in prolog

    Oracle Community | 7 years ago | 843833
    org.xml.sax.SAXParseException: Content is not allowed in prolog.
  6. 0

    org.xml.sax error content not allowed in prolog

    Oracle Community | 7 years ago | 843834
    org.xml.sax.SAXParseException: Content is not allowed in prolog.

  1. mauritius 2 times, last 1 month ago
  2. rp 1 times, last 4 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:1017)
    6. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645)
    7. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
    8. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
    9. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
    10. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
    11. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
    12. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
    13. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
    13 frames
  3. Commons Digester
    Digester.parse
    1. org.apache.commons.digester.Digester.parse(Digester.java:1647)
    1 frame
  4. JasperReports
    JasperCompileManager.compileReport
    1. net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:241)
    2. net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:228)
    3. net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:216)
    4. net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:170)
    5. net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:154)
    6. net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:146)
    6 frames
  5. javaapplication15
    Main.main
    1. javaapplication15.Main.add(Main.java:53)
    2. javaapplication15.Main.main(Main.java:40)
    2 frames