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

JCK13:api/java_util/Timer/index.html#Timer java.lang.NullPointerExecption.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.3.1
    • 1.3.1
    • hotspot
    • beta
    • x86
    • generic
    • Verified

        The following test failed with java.lang.NullPointerExecption when using "-server -Xcomp" switch on Intel sol 2.6, 5.7, 5.8.

         Sub-test failed
            Timoer0016, Timer0021
        =================================
        Error Message:

        Timer0016: Passed. OKAY
        java.lang.NullPointerException
                <<no stack trace available>>
        Timer0017: Failed. Test case throws exception: java.lang.NullPointerException
        Timer0018: Passed. OKAY
        Timer1004: Passed. OKAY
        Timer1005: Passed. OKAY
        Timer0019: Passed. OKAY
        Timer0020: Passed. OKAY
        Timer0021: Passed. OKAY
        java.lang.NullPointerException
                <<no stack trace available>>
        Timer0022: Failed. Test case throws exception: java.lang.NullPointerException
        Timer0023: Passed. OKAY
        Timer1006: Passed. OKAY

        ======================
        JCK Test File
          api/java_util/Timer/index.html#Timer
        source location:
           /net/ultraowl.eng/export/ultraowl1/javatb/testbase/src/JCK-runtime-13fcs/tests/api/java_util/Timer

        ======================
        JDK info

        java version "1.3.1beta"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1beta-b08)
        Java HotSpot(TM) Server VM (build 1.3.1beta-b08, compiled mode)

        ========================
        To reporduce it:

           Run the attachd script Timer.ksh -server -Xcomp
            You may have to modify the JDK to point to your JDK on your system

        Script

        SWITCH=${1+$@}
        uname -np | read HOST ARCH
        JDK=/export/home/jtg-test/JH_JDK131_b08_JCK133/jdk1.3.1beta

        TESTBASE=/net/ultraowl.eng/export/ultraowl1/javatb/testbase
        JCK=${TESTBASE}/src/JCK-runtime-13fcs
        CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
        DISPLAY=${DISPLAY-$HOST:0.0}
        LD_LIBRARY_PATH=${JCK}/lib/${ARCH}

        executeClass=javasoft.sqe.tests.api.java.util.Timer.TimerTests
        #excludeCmd=""
        #executeClassArgs="-TestCaseID Timer0016"
        #executeContextArgs="-nativeCodeSupported true"
        #executeTestURL=""
        #executeWorkURL=""

        export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH

        echo
        $JDK/bin/java ${SWITCH} -version
        echo
        $JDK/bin/java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.p
        olicy ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${execut
        eTestURL} ${executeWorkURL}

        ===========================
        System info

        Hostname: jtg-i112
        Hostid: 33d1ad3d
        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: 11/21/00 14:14:52
          Processor has been on-line since 09/30/00 12:02:02.
          The i386 processor operates at 450 MHz,
                and has an i387 compatible floating point processor.
        Status of processor 1 as of: 11/21/00 14:14:52
          Processor has been on-line since 09/30/00 12:02:06.
          The i386 processor operates at 450 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
        ===========


              cclicksunw Clifford Click (Inactive)
              tacheung Tak Wing Cheung (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: