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

JCK1.4, api/java_awt/java2d/font/TextLayout/index.html#GetCaretTesttestCase8,b75

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      beta3
    • CPU:
      x86, sparc
    • OS:
      generic, linux, windows_2000
    • Verification:
      Verified

      Description

      JDK : JDK1.4.0-beta_refresh-b75
      JCK : JCK1.4-b07
      Platform[s] : Solaris Sparc/Intel on all OS.
      switch/Mode : -client (All other switches)
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Test :

       api/java_awt/java2d/font/TextLayout/index.html#GetCaretTesttestCase8

      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_awt/java2d/font/TextLayout/GetCaretTest.java

      jtr file location:
      ==================
      file:///net/jtg-s120/export/home/jtg-test/testing-sri/workDir/api/java_awt/java2d/font/TextLayout/index_GetCaretTesttestCase8.jtr

      jtr file is attached.

      How to reproduce:
      ==================

      GetCaretTestcase8.ksh

      ---------------Script Start-------------------------------
      #!/bin/ksh
      SWITCH=${1+$@}
      JDK=/net/jtg-s120/export/home/jtg-test/testing-sri/b75/j2sdk1.4.0

      TESTBASE=/net/jdk/export/disk8/local.java/jck1.4
      JCK=${TESTBASE}/JCK-runtime-14

      executeClass="javasoft.sqe.tests.api.java.awt.java2d.font.TextLayout.GetCaretTes
      t"
      excludeCmd=
      executeClassArgs="-TestCaseID testCase8"
      executeTestURL=
      headless=
      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/java.auth.policy -Djava.security.auth.login.config=${JCK}/lib/java.login.config -Djava.rmi.activation.port=${executeClass} ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}
      -----------------End Script-------------------------------------------

      Test output:
      =============

      java.lang.NullPointerException
              at java.awt.font.TextLayout.getJustifiedLayout(TextLayout.java:935)
              at javasoft.sqe.tests.api.java.awt.java2d.font.TextLayout.GetCaretTest.testCase8(GetCaretTest.java:430)
              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.java.awt.java2d.font.TextLayout.GetCaretTest.main(GetCaretTest.java:62)
      testCase8: Failed. Test case throws exception: java.lang.NullPointerException
      STATUS:Failed.tests: 1; failed: 1; first test case failure: testCase8

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

      SunOS jtg-s120 5.8 Generic sun4u sparc SUNW,Ultra-60
      SunOS jtg-i112 5.8 Generic i86pc i386 i86pc



      srilakshmi.chappidi@Eng 2001-08-10

        Attachments

          Activity

            People

            • Assignee:
              dougfelt Doug Felt
              Reporter:
              schappidsunw Srilakshmi Chappidi (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: