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

REGRESSION: JCK1.4a-runtime api/org_w3c/dom/Element/index.html#RemoveAttributeNo

    Details

    • Subcomponent:
    • Resolved In Build:
      1.2.3
    • CPU:
      generic, x86
    • OS:
      generic, linux, windows_2000

      Backports

        Description

        Name: iaR10016 Date: 05/04/2003


        Filed By : J2SE-SQA [###@###.###
        JDK : JDK1.5.0-b05
                         (passes with JDK1.5.0-b04, JDK1.4.2-b22, JDK1.4.1)
        JCK : JCK1.4a-runtime
        Platform[s] : all
        switch/Mode : default
        JCK test owner : http://javaweb.eng/jck/usr/owners.jto
        Falling tests : api/org_w3c/dom/Element/index.html#RemoveAttributeNode [RemoveAttributeNode004, RemoveAttributeNode005]

        JCK1.4a-runtime api/org_w3c/dom/Element/index.html#RemoveAttributeNode test fails with JDK1.5.0-b05
        on all platforms. The test passes with previous JDK builds (JDK1.5.0-b04, JDK1.4.2-b22, JDK1.4.1).

        Test source location:
        =====================
        /java/re/jck/1.4a/promoted/fcs/binaries/JCK-runtime-14a/tests/api/org_w3c/dom/Element/RemoveAttributeNodeTests.java

        jtr file location:
        ==================
        /net/jtgb4u4c.sfbay/export/sail15/results/tiger/b05/jck14a/win32/win2000_smp_plugin_ie6.0_linux-22/workDir/api/org_w3c/dom/Element/index_RemoveAttributeNode.jtr

        How to reproduce:
        =================
        Run the following script (you may need to change it's JDK and JCK variables)

        --- script start ---
        #!/bin/bash
        JCK="/java/re/jck/1.4a/archive/fcs/binaries/JCK-runtime-14a"
        JDK="/java/re/jdk/1.5.0/promoted/latest/binaries/linux-i586"
        export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
        $JDK/bin/java $switches javasoft.sqe.tests.api.org.w3c.dom.Element.RemoveAttributeNodeTests -TestCaseID RemoveAttributeNode004 RemoveAttributeNode005
        --- script end ---

        Test output:
        ============
        RemoveAttributeNode004: Failed. Problem removing an attribute with the default value.
        java.lang.NullPointerException
         at javasoft.sqe.tests.api.org.w3c.dom.Element.RemoveAttributeNodeTests.RemoveAttributeNode005(RemoveAttributeNodeTests.java:244)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
         at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
         at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
         at javasoft.sqe.tests.api.org.w3c.dom.Element.RemoveAttributeNodeTests.main(RemoveAttributeNodeTests.java:34)
        RemoveAttributeNode005: Failed. Test case throws exception: java.lang.NullPointerException
        STATUS:Failed.test cases: 2; all failed; first test case failure: RemoveAttributeNode004

        Specific machine info:
        ======================
        Hostname: linux-10
        OS: Solaris 8 (x86)

        Hostname: linux-22
        OS: Windows 2000 Pro

        ======================================================================

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  nbajajsunw Neeraj Bajaj (Inactive)
                  Reporter:
                  irasunw Ira Ira (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: