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

JCK14 11 api/javax_swing/ failed with NullPointerException c1Xcomp on Sparc

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      beta2
    • CPU:
      generic, sparc
    • OS:
      solaris_8
    • Verification:
      Verified

      Description

      JDK : 1.4.0-beta-b70
      JCK : jck1.4 b06
      Platform[s] : Solaris 8 Sparc
      switch/Mode : -c1 -Xcomp ---> Failed
                       c1, c1Xint,c2,c2Xint,c2Xcomp ---> Passed

      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Test :

      api/javax_swing/plaf/basic/BasicComboBoxUI/index.html#public api/javax_swing/plaf/basic/BasicComboPopup/InvocationMouseMotionHandler/index.html#public api/javax_swing/plaf/basic/BasicComboPopup/ListMouseMotionHandler/index.html#public api/javax_swing/plaf/basic/BasicComboPopup/ListMouseHandler/index.html#public api/javax_swing/plaf/basic/BasicComboPopup/PropertyChangeHandler/index.html#public
      api/javax_swing/border/SoftBevelBorder/index.html#Ctor
      api/javax_swing/border/EtchedBorder/index.html#Ctor
      api/javax_swing/border/MatteBorder/index.html#Ctor
      api/javax_swing/border/EmptyBorder/index.html#Ctor
      api/javax_swing/border/LineBorder/index.html#Ctor
      api/javax_swing/plaf/basic/BasicComboPopup/InvocationMouseHandler/index.html#public [InvocationMouseHandler0001]

      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/javax_swing/plaf/basic/BasicComboBoxUI/index.html

      jtr file location:
      ==================
      file:///net/jtgb4u4c/export/sail16/results/merlin/b70/jck14/sparc/s8_client_comp_jtg-s111/workDir/api/javax_swing/plaf/basic/BasicComboBoxUI/index_public.jtr

      How to reproduce:
      ====================
      Run the attached script
         BasicComboBoxUI.ksh -client -Xcomp
      --------Script START---------------------
      #!/bin/ksh
      SWITCH=${1+$@}

      JDK=/net/jdk/export/disk8/local.java/jdk1.4.0
      TESTBASE=/net/jdk/export/disk8/local.java/jck1.4
      TESTBASE=/net/jtgb4u4c.eng/export/sail16/JCK/jck14
      JCK=${TESTBASE}/JCK-runtime-14
      executeClass="javasoft.sqe.tests.api.javax.swing.plaf.basic.BasicComboBoxUI.publicTests"
      excludeCmd=
      executeClassArgs="-TestCaseID BasicComboBoxUI0004"
      executeTestURL=
      headless=
      #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}

      if `echo $SWITCH|grep "\-d64" >/dev/null`; then
        LD_LIBRARY_PATH=${JCK}/lib/sparcv9
      else
        LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
      fi


      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 -Djava.security.auth.policy=${JCK}/lib/jck.auth.policy -Djava.security.auth.login.config=${JCK}/lib/jck.auth.login.config -Djava.rmi.activation.port=${executeClass} ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}



      --------Script END----------------------

      Test output:
      =============
      java.lang.NullPointerException
              at java.awt.Frame.addNotify(Frame.java:477)
              at java.awt.Window.pack(Window.java:414)
              at javasoft.sqe.tests.api.javax.swing.plaf.basic.BasicComboBoxUI.publicTests.BasicComboBoxUI0004(publicTests.java:336)
              at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Method.java:311)
              at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:407)
              at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:203)
              at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:135)
              at javasoft.sqe.tests.api.javax.swing.plaf.basic.BasicComboBoxUI.publicTests.main(publicTests.java:41)
      BasicComboBoxUI0004: Failed. Test case throws exception: java.lang.NullPointerException
      ====== BasicComboBoxUI0004 ====== public void setPopupVisible(JComboBox c, boolean v)
      STATUS:Failed.tests: 1; failed: 1; first test case failure: BasicComboBoxUI0004


      Specific Machine Info:
      =====================

      SunOS jtg-s115 5.8 Generic_108528-01 sun4u sparc SUNW,Ultra-60



      takwing.cheung@Eng 2001-07-11

      ---------------------
      Additional failed tests uisng jdk1.4-b72 -client -Xcomp on a 4m machine.

        api/javax_swing/text/Utilities/index.html#misc [Utilities2005]
        api/javax_swing/text/Utilities/index.html#xxxTabbedText [Utilities2001]
        api/javax_swing/LayoutFocusTraversalPolicy/index.html#Methods [LayoutFocusTraversalPolicy2002]


      takwing.cheung@Eng 2001-07-23

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              never Tom Rodriguez
              Reporter:
              tacheung Tak Wing Cheung (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: