Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6743605

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 6
    • 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

            joehw Joe Wang
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: