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

JCK13a javax_swing/JInternalFrame & DefaultDesktopManage w/ NullPointerException

XMLWordPrintable

    • beta
    • x86, sparc
    • linux, solaris_7, solaris_8, windows_nt, windows_2000
    • Verified

      The following tests failed with java.lang.NullPointerException was thrown using jdk-1.4 b52 and b53 on Solaris 5.7 sparc/ 5.8 intel, Linux RedHat 6.2, and WinNT, Win2000. Tests passed using jdk-1.4 b51.

      Failing Test:
      =============
      1)api/javax_swing/DefaultDesktopManager/descriptions.html#xxxFrame
      subtest
         DefaultDesktopManager2007

      2)api/javax_swing/JInternalFrame/descriptions.html#getset
      subtest
        JInternalFrame2019

      3)api/javax_swing/JInternalFrame/descriptions.html#protected
      subtest
        JInternalFrame2063

      JCK :
      =====
      JCK13a


      Test source location:
      ====================

      1) /net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/javax_swing/DefaultDesktopManager/xxxFrameTests.java

      2) /net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/javax_swing/JInternalFrame/getsetTests.java
      3) /net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/javax_swing/JInternalFrame/protectedTests.java

      Platforms:
      =============
      Solaris - 5.7 sparc/ 5.8 intel were tested.
      Linux - RedHat 6.2
      Win32 - Win2000 winNT were tested.

      JDK, switches Info:
      ===================
      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b53)
      Java HotSpot(TM) Client VM (build 1.4beta-B53, mixed mode)

      default switche.


      jtr file location:
      ==================
      1)file:/net/jtg-s120/export/home/jtg-test/JH_JDK14_b52_JCK13a_c1Xint/workDir/api/javax_swing/DefaultDesktopManager/descriptions_xxxFrame.jtr

      2)file:/net/jtg-s120/export/home/jtg-test/JH_JDK14_b52_JCK13a_c1Xint/workDir/api/javax_swing/JInternalFrame/descriptions_getset.jtr

      3)file:/net/jtg-s120/export/home/jtg-test/JH_JDK14_b52_JCK13a_c1Xint/workDir/api/javax_swing/JInternalFrame/descriptions_protected.jtr


      Jtr files also attached.

      How to reproduce:
      ====================
      Run the following attache scripts

      1)swing_DesktopManager_xFrame.ksh
      2)swing_JInternalFrame_getsetTests.ksh
      3)swing_JInternalFrame_protected.ksh


      Test output:
      =============
      1)DefaultDesktopManager2007: Failed. Unexpected java.lang.NullPointerException thrown
      STATUS:Failed.tests: 1; failed: 1; first test case failure: DefaultDesktopManager2007

      2)
      JInternalFrame2019: Failed. Unexpected java.lang.NullPointerException thrown
      ====== JInternalFrame2019 ====== public void setIcon(boolean b) and public boolean isIcon()
      STATUS:Failed.tests: 1; failed: 1; first test case failure: JInternalFrame2019
      3)
      JInternalFrame2063: Failed. Unexpected java.lang.NullPointerException thrown
      ====== JInternalFrame2063 ====== protected boolean isIcon
      STATUS:Failed.tests: 1; failed: 1; first test case failure: JInternalFrame2063
        

      Specific Machine Info:
      =====================
      Sparc:
      ------
      Hostname: jtg-s117
      Hostid: 808fe83f
      Release: 5.7
      Kernel architecture: sun4u
      Application architecture: sparc
      Hardware provider: Sun_Microsystems
      Domain: javasoft.eng.sun.com
      Kernel version: SunOS 5.7 Generic 106541-12 May 2000
      ===========
      Status of processor 0 as of: 02/22/01 11:32:27
        Processor has been on-line since 01/17/01 13:34:53.
        The sparcv9 processor operates at 296 MHz,
              and has a sparcv9 floating point processor.
      Status of processor 2 as of: 02/22/01 11:32:27
        Processor has been on-line since 01/17/01 13:34:54.
        The sparcv9 processor operates at 296 MHz,
              and has a sparcv9 floating point processor.
      ===========
                          Solaris 7 11/99 s998s_u4SunServer_10 SPARC
                 Copyright 1999 Sun Microsystems, Inc. All Rights Reserved.
                                  Assembled 15 October 1999
      ===========

      Intel:
      ------
      Hostname: jtg-i109
      Hostid: 1956cfe7
      Release: 5.8
      Kernel architecture: i86pc
      Application architecture: i386
      Hardware provider:
      Domain: javasoft.eng.sun.com
      Kernel version: SunOS 5.8 Generic February 2000
      ===========
      Status of processor 0 as of: 02/22/01 11:51:44
        Processor has been on-line since 01/17/01 13:51:24.
        The i386 processor operates at 613 MHz,
              and has an i387 compatible floating point processor.
      Status of processor 1 as of: 02/22/01 11:51:44
        Processor has been on-line since 01/17/01 13:51:28.
        The i386 processor operates at 613 MHz,
              and has an i387 compatible floating point processor.
      ===========
                                 Solaris 8 s28_38shwp2 INTEL
                 Copyright 2000 Sun Microsystems, Inc. All Rights Reserved.
                                  Assembled 21 January 2000
      ===========


      Additional JCK related info:
      ============================
      URL to find JCK test owners: http://javaweb.eng/jck/usr/owners.jto


      takwing.cheung@Eng 2001-02-22

            joutwatesunw Joshua Outwater (Inactive)
            tacheung Tak Wing Cheung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: