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

2 JCK1.5-runtime api/java/awt/Image tests fail

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      b58
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description



      Name: iaR10016 Date: 06/27/2004


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b57
                        (passes using JDK1.5.0-b56,
                         the tests are not valid for JDK1.4.2 and absent in JCK1.4a)
      JCK : JCK1.5-runtime (b22)
      Platform[s] : all
      switch/Mode : default
      JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/1.5/project/data_reports/owners.jto
      Falling test[s]:
               api/java_awt/Image/LookupOp/index.html#FilterTesttestCase1 [testCase1]
               api/java_awt/Image/RescaleOp/index.html#FilterTesttestCase1 [testCase1]

      Two JCK1.5-runtime (b22) api/java_awt/Image tests fail using JDK1.5.0-b57 on all platforms
      with "java.lang.NullPointerException: BufferedImage cannot be null" exception.

      Test source location:
      =====================
      /java/re/jck/1.5/promoted/beta2/b22/binaries/JCK-runtime-15/tests/api/java_awt/Image/LookupOp/FilterTest.java
      /java/re/jck/1.5/promoted/beta2/b22/binaries/JCK-runtime-15/tests/api/java_awt/Image/RescaleOp/FilterTest.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b57/jck15/sparc/Solaris_8_sparc_CDE__linux-1/workDir/api/java_awt/Image/LookupOp/index_FilterTesttestCase1.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b57/jck15/sparc/Solaris_8_sparc_CDE__linux-1/workDir/api/java_awt/Image/RescaleOp/index_FilterTesttestCase1.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)

      --- script start ---
      #!/bin/sh

      #Paths in Java Software:
      JDK="/java/re/jdk/1.5.0/promoted/all/b57/binaries/solaris-sparc"
      JCK="/java/re/jck/1.5/promoted/beta2/b22/binaries/JCK-runtime-15"

      #Alternative paths outside Java Software
      #JDK="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b57/binaries/solaris-sparc"
      #JCK="/net/koori.sfbay/onestop/jck/1.5/promoted/beta2/b22/binaries/JCK-runtime-15"

      CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"

      TEST="javasoft.sqe.tests.api.java.awt.Image.LookupOp.FilterTest -TestCaseID testCase1"

      echo `cat $JCK/build.txt | grep JCK_VERSION` `cat $JCK/build.txt | grep JCK_BUILD`
      $JDK/bin/java -showversion $SWITCHES -cp $CLASSPATH $TEST $TESTCASES

      --- script end ---

      Test output (jtr part):
      =======================

      JCK_VERSION=1.5 JCK_BUILD_ID=b22
      java version "1.5.0-beta3"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta3-b57)
      Java HotSpot(TM) Client VM (build 1.5.0-beta3-b57, mixed mode)

      java.lang.NullPointerException: BufferedImage cannot be null
               at sun.awt.image.SurfaceManager.getManager(SurfaceManager.java:61)
               at sun.awt.image.SurfaceManager.getManager(SurfaceManager.java:45)
               at sun.awt.image.ImagingLib.filter(ImagingLib.java:227)
               at java.awt.image.LookupOp.filter(LookupOp.java:165)
               at javasoft.sqe.tests.api.java.awt.Image.LookupOp.FilterTest.testCase1(FilterTest.java:97)
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:582)
               at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
               at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
               at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
               at javasoft.sqe.tests.api.java.awt.Image.LookupOp.FilterTest.main(FilterTest.java:49)
      testCase1: Failed. Test case throws exception: java.lang.NullPointerException: BufferedImage cannot be null
      STATUS:Failed.test cases: 1; all failed; first test case failure: testCase1

      Specific machine info:
      ======================
      Hostname: linux-1
      OS: Solaris 8 (sparc) (CDE)
      Hostname: linux-21
      OS: Windows XP Home

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

        Attachments

          Activity

            People

            • Assignee:
              tdv Dmitri Trembovetski (Inactive)
              Reporter:
              irasunw Ira Ira (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: