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

JCK13: 6 api/java_io/Serialization/ tests failed with NullPointerException

XMLWordPrintable

      Bug description

         The following tests failed with java.lang.NullPointerException on b46, but they passed on b44.

      ****************************************************************************
      Failing Tests:
      =============
      1) api/java_io/Serialization/ObjectOutputStream/func.html#NotSerialTest:
      2) api/java_io/Serialization/ObjectStreamClass/misc.html#ForClass0001:
      3) api/java_io/Serialization/ObjectStreamClass/misc.html#GetName0001:
      4) api/java_io/Serialization/ObjectStreamClass/lookup.html#Lookup0001:
      5) api/java_io/Serialization/ObjectStreamClass/misc.html#ToStr0001:
      6) api/java_io/Serialization/ObjectOutputStream/func.html#SubclassTest:

      JCK :
      =====
      JCK1.3


      Test source location:
      ====================
      Note: /net/jdk/export/disk8/local.java is same as /usr/local/java.

      1)
      /net/jdk/export/disk8/local.java/jck1.3/JCK-runtime-13fcs/tests/api/java_io/Serialization/ObjectOutputStream/DumpOutputStream.java
      /net/jdk/export/disk8/local.java/jck1.3/JCK-runtime-13fcs/tests/api/java_io/Serialization/ObjectOutputStream/NotSerialTest.java

      2) , 3) , 5)
      /net/jdk/export/disk8/local.java/jck1.3/JCK-runtime-13fcs/tests/api/java_io/Serialization/ObjectStreamClass/MiscTests.java

      4)
      /net/jdk/export/disk8/local.java/jck1.3/JCK-runtime-13fcs/tests/api/java_io/Serialization/ObjectStreamClass/LookupTests.java


      6)
      /net/jdk/export/disk8/local.java/jck1.3/JCK-runtime-13fcs/tests/api/java_io/Serialization/ObjectOutputStream/DumpOutputStream.java
      /net/jdk/export/disk8/local.java/jck1.3/JCK-runtime-13fcs/tests/api/java_io/Serialization/ObjectOutputStream/SubclassTest.java




      Platforms:
      =============
      Solaris 7/sparc
      Solaris 5.6/Intel

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

      default switches
      -client -Xmixed

      jtr file location:
      ==================
      1) /net/jtg-s117/export/home/jtg-test/JH_jdk14_b46_jck13/workDir/api/java_io/Serialization/ObjectOutputStream/func_NotSerialTest.jtr
      2)
      /net/jtg-s117/export/home/jtg-test/JH_jdk14_b46_jck13/workDir/api/java_io/Serialization/ObjectStreamClass/misc_ForClass0001.jtr
      3)
      /net/jtg-s117/export/home/jtg-test/JH_jdk14_b46_jck13/workDir/api/java_io/Serialization/ObjectStreamClass/misc_GetName0001.jtr
      4)
      /net/jtg-s117/export/home/jtg-test/JH_jdk14_b46_jck13/workDir/api/java_io/Serialization/ObjectStreamClass/lookup_Lookup0001.jtr
      5)
      /net/jtg-s117/export/home/jtg-test/JH_jdk14_b46_jck13/workDir/api/java_io/Serialization/ObjectStreamClass/misc_ToStr0001.jtr
      6) /net/jtg-s117/export/home/jtg-test/JH_jdk14_b46_jck13/workDir/api/java_io/Serialization/ObjectOutputStream/func_SubclassTest.jtr


      One of the jtr files is attached (func_NotSerialTest.jtr) .

      How to reproduce:
      ====================
      func_NotSerialTest.jtr ---> Ser_Obj_Output_NotSerialTest.ksh
      misc_ForClass0001.jtr ---> Ser_Obj_Stream_MiscTests.ksh
      misc_GetName0001.jtr ---> Ser_Obj_Stream_MiscTests_getName.ksh
      lookup_Lookup0001.jtr ---> Ser_Obj_Stream_MiscTests_Lookup.ksh
      misc_ToStr0001.jtr ---> Ser_Obj_Stream_MiscTests_toStr.ksh
      func_SubclassTest.jtr ---> Ser_Obj_Output_SubclassTest.ksh


      Test output of Ser_Obj_Output_NotSerialTest.ksh
      =============
      java.lang.NullPointerException
              at javasoft.sqe.tests.api.java.io.Serialization.ObjectOutputStream.NotSerialTest.run(NotSerialTest.java:82)
              at javasoft.sqe.tests.api.java.io.Serialization.ObjectOutputStream.NotSerialTest.main(NotSerialTest.java:126)
      Input remaining
      00000000: 70 >p<
      STATUS:Failed. An Exception occurred: null

      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: 01/09/01 10:04:18
        Processor has been on-line since 12/20/00 10:44:13.
        The sparcv9 processor operates at 296 MHz,
              and has a sparcv9 floating point processor.
      Status of processor 2 as of: 01/09/01 10:04:18
        Processor has been on-line since 12/20/00 10:44:14.
        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-i104
      Hostid: 1a2c637f
      Release: 5.6
      Kernel architecture: i86pc
      Application architecture: i386
      Hardware provider:
      Domain: javasoft.eng.sun.com
      Kernel version: SunOS 5.6 Generic 105182-23 July 2000
      ===========
      Status of processor 0 as of: 01/09/01 10:05:02
        Processor has been on-line since 01/05/01 16:06:23.
        The i386 processor operates at 232 MHz,
              and has an i387 compatible floating point processor.
      Status of processor 1 as of: 01/09/01 10:05:02
        Processor has been on-line since 01/05/01 16:06:23.
        The i386 processor operates at 232 MHz,
              and has an i387 compatible floating point processor.
      ===========
                                  Solaris 2.6 s297_37c INTEL
                 Copyright 1996 Sun Microsystems, Inc. All Rights Reserved.
                            Manufactured in the USA 16 July 1997
      ===========


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


      takwing.cheung@Eng 2001-01-09

            mwarressunw Michael Warres (Inactive)
            tacheung Tak Wing Cheung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: