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

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

XMLWordPrintable

    • 2d
    • beta2
    • x86, sparc
    • generic, linux, windows_2000
    • Verified



      Name: iaR10016 Date: 07/17/2001


      JDK : JDK1.4.0-beta-b71
      JCK : JCK1.4-b06
      Platform[s] : RedHat Linux 6.2, Windows 2000, Windows NT, Windows 98
      switch/Mode : -client -Xmixed
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Test : api/java_awt/java2d/font/TextLayout/index.html#GetCaretTesttestCase7

      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:
      ==================
      /net/jtgb4u4c.eng/export/sail16/results/merlin/b71/jck14/linux/redhat6.2_single_kde_client_incgc_future_linux-12/workDir/api/java_awt/java2d/font/TextLayout/index_GetCaretTesttestCase7.jtr

      How to reproduce:
      ====================
      Run the following script under RedHat Linux 6.2
      (probably, you need to change JCK and JAVA_HOME paths):
      --------Script START---------------------
      #!/bin/sh
      JAVA_HOME=/net/jdk/export/disk8/local.java/jdk1.4/linux-i386
      JCK=/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14
      export CLASSPATH="$JCK/classes:$JCK/javatest.jar"
      executeClass="javasoft.sqe.tests.api.java.awt.java2d.font.TextLayout.GetCaretTest -TestCaseID testCase7"
      $JAVA_HOME/bin/java ${executeClass}
      ---------Script END----------------------

      Test output:
      =============
      java.lang.NullPointerException
              at java.awt.font.TextLayout.hitToCaret(TextLayout.java:1352)
              at java.awt.font.TextLayout.getCaretShape(TextLayout.java:1793)
              at javasoft.sqe.tests.api.java.awt.java2d.font.TextLayout.GetCaretTest.testCase7(GetCaretTest.java:346)
              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.java.awt.java2d.font.TextLayout.GetCaretTest.main(GetCaretTest.java:62)
      testCase7: Failed. Test case throws exception: java.lang.NullPointerException
      STATUS:Failed.tests: 1; failed: 1; first test case failure: testCase7

      Specific Machine Info:
      =====================
      Hostname: linux-14
      OS: RedHat Linux 6.2

      Hostname: Linux-2
      OS: Windows 2000

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

            dougfelt Doug Felt
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: