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

NPE in PNGImageReader found using IRPTest

XMLWordPrintable

    • rc1
    • generic
    • solaris_7
    • Verified

        The PNG reader plug-in optimizes the case where a particular progressive
      pass is empty, avoiding the creation of a one-scanline high Raster used to
      transfer data from the image being read into the output image. However,
      in some cases this Raster is (correctly) not created, but an attempt is
      made to create a child Raster which will never be used. The fix is to
      add a check for a null vlaue prior to attempting to create the child Raster.

        The test test/javax/imageio/IRPTest.java will act as a regression test
      for this bug.
      --------------------------------------------

      al.smith@eng 2001-04-17

      Regression test javax/imageio/IRPTest.java fails with Merlin build build60 on sol2.7, host tiggr. The previous build this test passed with was b57.

       For test hardware config's, see http://sqesvr.eng/st3/jdk1.4/docs/Merlin-hw.html

      #Test Results (version 2)
      #Mon Apr 16 22:06:13 PDT 2001
      #checksum:35b124bd20532eb0
      #-----testdescription-----
      $file=/export1/regression/merlin/jdk1.4Tests/b60/javax/imageio/IRPTest.java
      $root=/export1/regression/merlin/jdk1.4Tests/b60
      keywords=bug4395755 bug4399454 bug4399473 bug4399076 bug4284166 bug4409804 bug4409809
      run=USER_SPECIFIED main IRPTest\n
      source=IRPTest.java
      title=Checks that the geoemtric clipping and subsampling performed by ImageReadParams work correctly for the standard plug-ins

      #-----environment-----

      #-----testresult-----
      description=file:///export1/regression/merlin/jdk1.4Tests/b60/javax/imageio/IRPTest.java
      end=Mon Apr 16 22:06:13 PDT 2001
      environment=regtest
      execStatus=Failed. Execution failed: Program `/export1/java/jdk14b60/bin/java' interrupted! (timed out?)
      javatestOS=SunOS 5.7 (sparc)
      javatestVersion=2.1.5
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile main
      start=Mon Apr 16 22:04:10 PDT 2001
      status=Failed. Execution failed: Program `/export1/java/jdk14b60/bin/java' interrupted! (timed out?)
      test=javax/imageio/IRPTest.java
      work=/export0/results/regression/merlin/b60/tiggr5.7-jthb60-jdk14b60.04-16.19.50-noAwt2-64/javax/imageio

      #section:script_messages
      ----------messages:(5/239)----------
      JDK under test: (/export1/java/jdk14b60)
      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b60)
      Java HotSpot(TM) Client VM (build 1.4.0-beta-b60, mixed mode)
      Timeout signalled after 120.0 seconds

      #section:build
      ----------messages:(3/93)----------
      command: build IRPTest
      reason: Named class compiled on demand
      elapsed time (seconds): 3.238
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/168)----------
      command: compile /export1/regression/merlin/jdk1.4Tests/b60/javax/imageio/IRPTest.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 3.236
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:main
      ----------messages:(3/103)----------
      command: main IRPTest
      reason: User specified action: run main IRPTest
      elapsed time (seconds): 120.008
      ----------System.out:(3/254)----------
      Testing /export1/regression/merlin/jdk1.4Tests/b60/javax/imageio/images/basi0g01.png
      Testing /export1/regression/merlin/jdk1.4Tests/b60/javax/imageio/images/bgbn4a08.png
      Testing /export1/regression/merlin/jdk1.4Tests/b60/javax/imageio/images/gosling.jpg
      ----------System.err:(0/0)----------
      result: Failed. Execution failed: Program `/export1/java/jdk14b60/bin/java' interrupted! (timed out?)

      test result: Failed. Execution failed: Program `/export1/java/jdk14b60/bin/java' interrupted! (timed out?)

            dricesunw Daniel Rice (Inactive)
            dricesunw Daniel Rice (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: