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

JCK13a 7 api/java_beans/beancontext/ Merlin b48 sparc, x86

XMLWordPrintable


      The following tests failed with java.lang.NullPointerException using the jdk1.4 b48 on solaris 7/sparc 2.5/intel.

      Bug description --->
      ****************************************************************************
      Failing Test:
      =============
      [e.g. api/java_awt/MediaTracker]
      1) api/java_beans/beancontext/BeanContextServicesSupport/BCSSChild/serial/index.html#Constructor

      2) api/java_beans/beancontext/BeanContextSupport/serial/index.html#Constructor
      3) api/java_beans/beancontext/BeanContextSupport/BCSChild/serial/index.html#Constructor
      4) api/java_beans/beancontext/BeanContextEvent/serial/index.html#Input:
      5) api/java_beans/beancontext/BeanContextServicesSupport/BCSSChild/serial/index.html#Input

      6) api/java_beans/beancontext/BeanContextSupport/serial/index.html#Input
      7) api/java_beans/beancontext/BeanContextSupport/BCSChild/serial/index.html#Input


      JCK :
      =====
      JCK13a

      Test source location:
      ====================
      1) /net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_beans/beancontext/BeanContextServicesSupport/BCSSChild/serial/ConstructorTests.java

      2)/net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_beans/beancontext/BeanContextSupport/serial/ConstructorTests.java

      3)/net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_beans/beancontext/BeanContextSupport/BCSChild/serial/ConstructorTests.java

      4)/net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_beans/beancontext/BeanContextEvent/serial/InputTests.java

      5)/net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_beans/api/java_beans/beancontext/BeanContextServicesSupport/BCSSChild/serial/InputTests.java

      6)/net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_beans/beancontext/BeanContextSupport/serial/InputTests.java

      7)/net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_beans/beancontext/BeanContextSupport/BCSChild/serial/InputTests.java

      Platforms:
      =============
      Solaris 7 - sparc
      Solaris 2.6 - intel


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


      jtr file location:
      ==================

      1) /net/jtg-s117/export/home/jtg-test/JH_jdk14_b48_jck13a/workDir/api/java_beans/beancontext/BeanContextServicesSupport/BCSSChild/serial/index_Constructor.jtr
      2)
      /net/jtg-s117/export/home/jtg-test/JH_jdk14_b48_jck13a/workDir/api/java_beans/beancontext/BeanContextSupport/serial/index_Constructor.jtr
      3)
      /net/jtg-s117/export/home/jtg-test/JH_jdk14_b48_jck13a/workDir/api/java_beans/beancontext/BeanContextSupport/BCSChild/serial/index_Constructor.jtr
      4)
      /net/jtg-s117/export/home/jtg-test/JH_jdk14_b48_jck13a/workDir/api/java_beans/beancontext/BeanContextEvent/serial/index_Input.jtr
      5)
      /net/jtg-s117/export/home/jtg-test/JH_jdk14_b48_jck13a/workDir/api/java_beans/beancontext/BeanContextServicesSupport/BCSSChild/serial/index_Input.jtr
      6) /net/jtg-s117/export/home/jtg-test/JH_jdk14_b48_jck13a/workDir/api/java_beans/beancontext/BeanContextSupport/serial/index_Input.jtr
      7)

      /net/jtg-s117/export/home/jtg-test/JH_jdk14_b48_jck13a/workDir/api/java_beans/beancontext/BeanContextSupport/BCSChild/serial/index_Input.jtr



      How to reproduce:
      ====================
      run the attached script:
         beans_ServiceSuport_Child_Constructor.ksh

      #!/bin/ksh
      #
      # README: Modify these threev variables to fit your need:
      #
      # - ${executeClass}
      # - ${excludeCmd}
      # - ${executeClassArgs}
      # - ${executeContextArgs}
      # - ${executeTestURL}
      #
      #################################

      SWITCH=${1+$@}

      JDK=/net/jdk/export/disk8/local.java/jdk1.4
      TESTBASE=/net/jdk/export/disk8/local.java/jck1.3a
      JCK=${TESTBASE}/JCK-runtime-13a


      executeClass=javasoft.sqe.tests.api.java.beans.beancontext.BeanContextServicesSu
      pport.BCSSChild.serial.InputTests
      excludeCmd=
      executeClassArgs=
      executeTestURL=

      #executeContextArgs is used for vm testing.
      executeContextArgs=



      case `uname -s` in
        SunOS)
         ARCH=`uname -p`
         case $ARCH in
          sparc)
            sharedJDK=$JDK/solsparc
            ;;
          i386)
            sharedJDK=$JDK/solx86
            ;;
         esac
         ;;
        Linux)
         sharedJDK=$JDK/linux-i386
         ARCH=linux
         ;;

      esac

      CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
      DISPLAY=${DISPLAY-$HOST:0.0}
      LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
      PATH=$JDK/bin:$sharedJDK/bin:$PATH

      export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH


      echo
      java ${SWITCH} -version
      echo
      java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}

      Test output:
      =============
      java.lang.NullPointerException
              at java.util.Locale.toLowerCase(Locale.java:1118)
              at java.util.Locale.convertOldISOCodes(Locale.java:1158)
              at java.util.Locale.readObject(Locale.java:1049)
              at sun.misc.Unsafe.invokeSpecial(Native Method)
              at sun.misc.ClassReflector.invokeSpecial(ClassReflector.java:376)
              at $ClassReflector9.readObject(Unknown Source)
              at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1585)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1508)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1161)
              at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1660)
              at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:407)
              at java.beans.beancontext.BeanContextSupport.readObject(BeanContextSupport.java:1056)
              at sun.misc.Unsafe.invokeSpecial(Native Method)
              at sun.misc.ClassReflector.invokeSpecial(ClassReflector.java:376)
              at $ClassReflector1.readObject(Unknown Source)
              at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1585)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1508)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1161)
              at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1660)
              at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1594)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1508)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1161)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:283)
              at javasoft.sqe.serial.util.Convert.streamObjectToObject(Convert.java:60)
              at javasoft.sqe.tests.api.java.beans.beancontext.BeanContextServicesSupport.BCSSChild.serial.InputTests.serial2002(InputTests.java:104)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:409)
              at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:205)
              at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:137)
              at javasoft.sqe.tests.api.java.beans.beancontext.BeanContextServicesSupport.BCSSChild.serial.InputTests.main(InputTests.java:42)
      serial2002: Failed. Test case throws exception: java.lang.NullPointerException
      Checking for JDK Version : 1.2
      Creating StreamObject from spec
      Setting the value of serial fields
      Converting the StreamObject to Object
      STATUS:Failed.tests: 1; failed: 1; first test case failure: serial2002


      Specific Machine Info:
      =====================
      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/22/01 17:04:31
        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: 01/22/01 17:04:31
        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-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/22/01 17:06:12
        Processor has been on-line since 01/17/01 13:36:28.
        The i386 processor operates at 234 MHz,
              and has an i387 compatible floating point processor.
      Status of processor 1 as of: 01/22/01 17:06:12
        Processor has been on-line since 01/17/01 13:36:28.
        The i386 processor operates at 234 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


      *******************************************************************************
      In addition to this description please attach the jtr file.

            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: