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

eduni_xml_1_1.html, eduni_errata_2e.html and ibm_1_1_not_wf_P77_ibm77n13_xml throw NPE since b90

XMLWordPrintable

    • b96
    • generic, x86
    • generic, linux_suse_sles_10
    • Verified

        JCK : JCK6.0 b27
        J2SE : FAIL - mustang *SINCE* b90
        Platform[s] : FAIL - seems to be all
        switch/Mode : FAIL - default

        Since mustang b90 seven javax.xml tests:

        api/javax_xml/xmlCore/w3c/eduni/eduni_errata_2e.html#rmt_e2e_38
        api/javax_xml/xmlCore/w3c/eduni/eduni_xml_1_1.html#rmt_001
        api/javax_xml/xmlCore/w3c/eduni/eduni_xml_1_1.html#rmt_002
        api/javax_xml/xmlCore/w3c/eduni/eduni_xml_1_1.html#rmt_003
        api/javax_xml/xmlCore/w3c/eduni/eduni_xml_1_1.html#rmt_004
        api/javax_xml/xmlCore/w3c/eduni/eduni_xml_1_1.html#rmt_005
        api/javax_xml/xmlCore/w3c/ibm/xml-1.1/ibm_xml_1_1_not_wf.html#ibm_1_1_not_wf_P77_ibm77n13_xml


         fail with NullPointerException:

        at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.read(XMLEntityManager.java:2869)
        at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:292)
        at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1731)
        at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1759)
        at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar(XMLEntityScanner.java:1405)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2778)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:277)
        at javasoft.sqe.tests.api.xml.schema.TestRun.parseInstanceDoc(TestRun.java:263)
        at javasoft.sqe.tests.api.xml.xmlCore.w3c.TestRun.runPositiveTest(TestRun.java:147)
        at javasoft.sqe.tests.api.xml.schema.TestRun.runNegativeTest(TestRun.java:329)
        at javasoft.sqe.tests.api.xml.schema.TestRun.run(TestRun.java:119)
        at javasoft.sqe.tests.api.xml.schema.TestRun.setLogsAndRun(TestRun.java:342)
        at javasoft.sqe.tests.api.xml.xmlCore.w3c.TestRun.main(TestRun.java:171)


        In b89 they produce output like this:

        Fatal Error: file:/net/stt-13/export1/stt/jck_promotions/6.0/beta/b27/binaries/JCK-runtime-60/tests/api/javax_xml/xmlCore/w3c/ibm/xml-1.1/not-wf/P77/ibm77n13.ent(1,20): XML version "1.1" is not supported, only XML 1.0 is supported.
        STATUS:Passed.OK. Error reported for negative testcase.



        It seems to be internal problem of xml engine.

              spericas Santiago Pericasgeertsen
              pastepan Pavel Stepanov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: