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

REGRESSION: JCK1.4a api/javax_swing/JTree/AccessibleJTree/index.html#Listeners f

XMLWordPrintable

    • b12
    • x86, sparc
    • linux, solaris_8, solaris_9, windows_2000
    • Verified



      Name: iaR10016 Date: 11/22/2002


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b08
                       (passes with JDK1.4.2-b07)
      JCK : JCK1.4a-runtime
      Platform[s] : Solaris 9 (sparc) (CDE), Solaris 8 (x86), RedHat Linux 7.3 (GNOME)
      switch/Mode : default
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling tests : api/javax_swing/JTree/AccessibleJTree/index.html#Listeners [AccessibleJTree0006, AccessibleJTree0007]

      JCK1.4a-runtime api/javax_swing/JTree/AccessibleJTree/index.html#Listeners test fails on JDK1.4.2-b08 with unexpected NullPointerException.

      Test source location:
      =====================
      /java/re/jck/1.4a/promoted/fcs/binaries/JCK-runtime-14a/tests/api/javax_swing/JTree/AccessibleJTree/ListenersTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/mantis/b08/jck14a/x86/sol8_x86_server_linux-10/javax_swing/JTree/AccessibleJTree/index_Listeners.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)

      --- script start ---
      #!/bin/bash
      JCK="/net/linux-15/export/home/java/jck1.4a/JCK-runtime-14a"
      JDK="/net/linux-15/export/home/java/jdk1.4.2/x86"
      export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
      $JDK/bin/java javasoft.sqe.tests.api.javax.swing.JTree.AccessibleJTree.ListenersTests -TestCaseID AccessibleJTree0006 AccessibleJTree0007
      --- script end ---

      Test output:
      ============
      java.lang.NullPointerException
              at javax.swing.JTree$AccessibleJTree$AccessibleJTreeNode.<init>(JTree.java:3875)
              at javax.swing.JTree$AccessibleJTree.treeCollapsed(JTree.java:3571)
              at javasoft.sqe.tests.api.javax.swing.JTree.AccessibleJTree.ListenersTests.AccessibleJTree0006(ListenersTests.java:227)
              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.javax.swing.JTree.AccessibleJTree.ListenersTests.main(ListenersTests.java:46)
      AccessibleJTree0006: Failed. Test case throws exception: java.lang.NullPointerException
      java.lang.NullPointerException
              at javax.swing.JTree$AccessibleJTree$AccessibleJTreeNode.<init>(JTree.java:3875)
              at javax.swing.JTree$AccessibleJTree.treeExpanded(JTree.java:3589)
              at javasoft.sqe.tests.api.javax.swing.JTree.AccessibleJTree.ListenersTests.AccessibleJTree0007(ListenersTests.java:254)
              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.javax.swing.JTree.AccessibleJTree.ListenersTests.main(ListenersTests.java:46)
      AccessibleJTree0007: Failed. Test case throws exception: java.lang.NullPointerException
      ====== AccessibleJTree0006 ====== public void treeCollapsed(TreeExpansionEvent event)
      ====== AccessibleJTree0007 ====== public void treeExpanded(TreeExpansionEvent event)
      STATUS:Failed.test cases: 2; all failed; first test case failure: AccessibleJTree0006

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

      Hostname: novo48
      OS: Solaris 9 (sparc) (CDE)

      Hostname: linux-19
      OS: RedHat Linux 7.3

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

            lmonsantsunw Lynn Monsanto (Inactive)
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: