org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x4) was found in the element content of the document. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseExcepti on (Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) at org.apache.xerces.impl. XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatc h (Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocume nt (Unknown Source)

ibm.com | 4 months ago
  1. 0

    IBM PM33242: RP:org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x4) was found - United States

    ibm.com | 4 months ago
    org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x4) was found in the element content of the document. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseExcepti on (Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) at org.apache.xerces.impl. XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatc h (Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocume nt (Unknown Source)
  2. 0

    issue with SAX parser in java

    Stack Overflow | 5 years ago | user1206218
    org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un known Source)
  3. 0

    Exception (XML forum at JavaRanch)

    coderanch.com | 1 year ago
    org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x0) was found in the CDATA section.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    WebSphere startup error

    Stack Overflow | 11 months ago | Sachin Rana
    com.ibm.ws.exception.ConfigurationError: file:///C:/Program%20Files%20(x86)/IBM/WebSphere/AppServer/profiles/AppSrvDev01/config/cells/HDQBEPC202051Node01Cell/nodes/HDQBEPC202051Node01/serverindex.xml:40: The element type "endPoint" must be terminated by the matching end-tag "</endPoint>".
  6. 0

    parsing error..when trying to generate selenium report.htmls are being copied but selenium report is not being generated.... Exception:parsing resultFile all-tests.html ERROR: Publisher org.jvnet.hudson.plugins.seleniumhtmlreport.SeleniumHtmlReportPublisher aborted due to exception java.io.IOException: org.xml.sax.SAXParseException: The element type "link" must be terminated by the matching end-tag "</link>". at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.retrieve(TestResult.java:111) at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.getString(TestResult.java:98) at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult.parse(TestResult.java:75) at org.jvnet.hudson.plugins.seleniumhtmlreport.SeleniumHtmlReportPublisher.createResults(SeleniumHtmlReportPublisher.java:95) at org.jvnet.hudson.plugins.seleniumhtmlreport.SeleniumHtmlReportPublisher.perform(SeleniumHtmlReportPublisher.java:74) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:693) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:668) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:646) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:615) at hudson.model.Run.run(Run.java:1401) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: org.xml.sax.SAXParseException: The element type "link" must be terminated by the matching end-tag "</link>". at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.parseFor(TestResult.java:123) at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.retrieve(TestResult.java:107) ... 14 more

    Jenkins JIRA | 5 years ago | raja sekhar
    java.io.IOException: org.xml.sax.SAXParseException: The element type "link" must be terminated by the matching end-tag "</link>".

  1. qavid 6 times, last 6 months ago
  2. eilonreshef 1 times, last 9 months ago
4 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

    An invalid XML character (Unicode: 0x4) was found in the element content of the document. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseExcepti on (Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) at org.apache.xerces.impl. XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatc h (Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocume nt (Unknown Source)

    at org.apache.xerces.parsers.XML11Configuration.parse()
  2. Xerces2-j
    SAXParserImpl.parse
    1. org.apache.xerces.parsers.XML11Configuration.parse(UnknownSource)
    2. org.apache.xerces.parsers.XML11Configuration.parse(UnknownSource)
    3. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    4. org.apache.xerces.parsers.AbstractSAXParser.parse(UnknownSource)
    5. org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
    5 frames
  3. Java RT
    SAXParser.parse
    1. javax.xml.parsers.SAXParser.parse(Unknown Source)
    1 frame