NullPointerException at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P4
    • None
    • Affects Version/s: 6
    • Component/s: xml
    • x86
    • windows_xp

      NullPointerException is thrown from com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar(XMLEntityScanner.java:1414) while parsing following xml:

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE hibernate-mapping PUBLIC
              "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
              "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

      To reproduce just run attached jar on JDK1.6.0.

      java -jar xercesIssue126496.jar

            Assignee:
            Joe Wang
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: