org.xml.sax.SAXParseException: : XML-20220: (Fatal Error) Invalid InputSource.

Oracle Community | user6351413 | 6 years ago
  1. 0

    opatch lsinventory error

    Oracle Community | 6 years ago | user6351413
    org.xml.sax.SAXParseException: : XML-20220: (Fatal Error) Invalid InputSource.
  2. 0

    XML Validation fails when using prefix

    Oracle Community | 9 years ago | 549117
    org.xml.sax.SAXParseException: <Line 1, Column 482>: XML-20201: (Fatal Error) Expected name instead of :.
  3. 0

    XML-20121 SAX Parser failing randomly

    Stack Overflow | 2 years ago | Vik
    org.xml.sax.SAXParseException: &lt;Line 2080, Column 12&gt;: XML-20121: (Fatal Error) End tag does not match start tag 'field'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SAXParseException XML-20221 Invalid char in text

    Stack Overflow | 5 years ago | toolkit
    org.xml.sax.SAXParseException: &lt;Line 1, Column 129&gt;: XML-20221: (Fatal Error) Invalid char in text.] </code></pre> <p>This is a very old Java application, that was written for an older version of Java, and we have an existing dependency:</p> <pre><code>&lt;dependency&gt; &lt;groupId&gt;com.oracle&lt;/groupId&gt; &lt;artifactId&gt;xdb-xmlparser&lt;/artifactId&gt; &lt;version&gt;10.2.0.3.0&lt;/version&gt; &lt;/dependency&gt; </code></pre> <p>The error code is consistently XML-20221, though the cause can vary, eg:</p> <pre><code>XML-20221: (Fatal Error) Invalid char in text. XML-20100: (Fatal Error) Expected '?&gt;'.] XML-20121: (Fatal Error) End tag does not match start tag 'TotalDepositReqd'. </code></pre> <p>The rest of the stack trace also varies, but typically looks like:</p> <pre><code>at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:415)

    2 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

      : XML-20220: (Fatal Error) Invalid InputSource.

      at oracle.xml.parser.v2.XMLError.flushErrorHandler()
    2. oracle.xml.parser
      XMLParser.parse
      1. oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:441)
      2. oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:303)
      3. oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:231)
      4. oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:191)
      4 frames