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

JCK13a: api/java_awt/dnd/DragSource/index.html#createDSC

XMLWordPrintable

    • x86
    • linux, windows_nt



      Name: asR10013 Date: 01/26/2001



      Bug description ---> The following test failed with
      java.lang.NullPointerException.
      ****************************************************************************
      Failing Test:
      =============
      api/java_awt/dnd/DragSource/index.html#createDSC

      JCK :
      =====
      jck1.3a

      Test source location:
      ====================
      /net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_awt/dnd/DragSource/createDCSTests.java

      Platforms:
      =============
      Red Hat 6.2 Linux
      Windows NT 4.0

      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:
      ==================
      /net/jtgb4u4c.eng/export/sail7/JavaWebServer1.1.3/public_html/QA/merlin/b48/jck13a/linux/redhat6.2_smp_kde_client_linux-5/workDir/api/java_awt/dnd/DragSource/index_createDSC.jtr


      How to reproduce:
      ====================
        Run the following script.
        You may need to set JDK and TESTBASE.
      Source
      ======
      #!/bin/ksh
       
      SWITCH=$@
       
      JDK=/net/jdk/export/disk8/local.java/jdk1.4.0
       
      #This is where you want the JCK to be used.
      #Example: TESTBASE=/net/jdk/export/disk8/local.java/jck1.3a
      TESTBASE=/net/jdk/export/disk8/local.java/jck1.3a
      JCK=${TESTBASE}/JCK-runtime-13a
       
      executeClass=javasoft.sqe.tests.api.java.awt.dnd.DragSource.createDSCTests
      excludeCmd=""
      executeClassArgs=""
      executeTestURL=""
       
      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:
      =============
      DragSource0006: Failed. Unexpected exception:
      java.lang.NullPointerException: offset
      STATUS:Failed.tests: 8; passed: 7; failed: 1; first test case failure:
      DragSource0006


      Specific Machine Info:
      =====================
      hostname: linux-11

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


      ======================================================================

            dmendenhsunw David Mendenhall (Inactive)
            alssunw Als Als (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: