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

JCK13a, JCK14, api/javax_swing/RepaintManager/descriptions.html#getset,b75,c1,c2

    Details

    • Subcomponent:
    • CPU:
      x86, sparc
    • OS:
      generic, linux, windows_98

      Description

      JDK : 1.4.0-beta_refresh-b75
      JCK : JCK13a, JCK14-b08
      Platform[s] : Solaris Sparc/Intel, Failed on all OS.
      switch/Mode : -Client and all other switches
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Test : api/javax_swing/RepaintManager/descriptions.html#getset [RepaintManager2010, RepaintManager2015]
          
      Test source location:
      =====================

      1)/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/javax_swing/RepaintManager/getsetTests.java

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

      1)file:///net/jtgb4u4c/export/sail16/results/merlin/b75/jck14/sparc/s8_client_d64_jtg-s120/workDir/api/javax_swing/RepaintManager/descriptions_getset.jtr

      jtr files is attached.

      How to reproduce:
      =================
      Attached script

      RepaintManager-getset.ksh

      --------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

      JCK=${TESTBASE}/JCK-runtime-14


      executeClass="javasoft.sqe.tests.api.javax.swing.RepaintManager.getsetTests"
      excludeCmd=
      executeClassArgs=
      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 javax.swing.RepaintManager._getOffscreenBuffer(RepaintManager.java:596)
              at javax.swing.RepaintManager.getOffscreenBuffer(RepaintManager.java:522)
              at javasoft.sqe.tests.api.javax.swing.RepaintManager.getsetTests.RepaintManager2010(getsetTests.java:436)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
              at java.lang.reflect.Method.invoke(Method.java:313)
              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.RepaintManager.getsetTests.main(getsetTests.java:37)
      RepaintManager2010: Failed. Test case throws exception: java.lang.NullPointerException
      java.lang.NullPointerException
              at javax.swing.RepaintManager._getOffscreenBuffer(RepaintManager.java:596)
              at javax.swing.RepaintManager.getVolatileOffscreenBuffer(RepaintManager.java:540)
              at javasoft.sqe.tests.api.javax.swing.RepaintManager.getsetTests.RepaintManager2015(getsetTests.java:576)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
              at java.lang.reflect.Method.invoke(Method.java:313)
              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.RepaintManager.getsetTests.main(getsetTests.java:37)
      RepaintManager2015: Failed. Test case throws exception: java.lang.NullPointerException

      STATUS:Failed.tests: 13; passed: 11; failed: 2; first test case failure: RepaintManager2010


      Specific Machine Info:
      =====================
      SunOS jtg-s118 5.7 Generic_106541-15 sun4u sparc SUNW,Ultra-2
      SunOS jtg-i108 5.8 Generic i86pc i386 i86pc



      ###@###.### 2001-08-14

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                svioletsunw Scott Violet (Inactive)
                Reporter:
                schappidsunw Srilakshmi Chappidi (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: