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

Reg-test CloseStreamTest.java Failing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.4.0
    • hotspot
    • sparc
    • solaris



      Name: as83306 Date: 05/31/2001

      Regression test javax/print/CloseStreamTest.java fails with Merlin
      build 63b on Solaris, host jetfly. The
      previous build this test passed with was b63.
       For test hardware config's, see http://sqesvr.eng/st3/jdk1.4/docs/Merlin-hw.html
      #Test Results (version 2)
      #Fri May 25 22:19:05 PDT 2001
      #checksum:6e4606e267aafc56
      #-----testdescription-----
      $file=/net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b63b/javax/print/CloseStrea
      mTest.java
      $root=/net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b63b
      author=prr: area=javax.print
      keywords=bug4420766
      run=USER_SPECIFIED main CloseStreamTest Copyright 2001 Sun Microsystems, Inc. All Rights
      Reserved. This software is the proprietary
      information of Sun Microsystems, Inc. Use is subject to license terms. Runs as a "main"
      test as permission to queue a print job
      obtain a system property & create and delete a file is needed. Throws an exception if any
      stream is left open. The test also
      requires a service that properly implements job notification. It will wait for the job to
      report completion.\n
      source=CloseStreamTest.java
      title=A Print service should close any data streams it requests.

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

      #-----testresult-----
      description=file:///net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b63b/javax/pri
      nt/CloseStreamTest.java
      end=Fri May 25 22:19:05 PDT 2001
      environment=regtest
      execStatus=Failed. Execution failed: `main' threw exception: java.lang.NullPointerException
      javatestOS=SunOS 5.9 (sparc)
      javatestVersion=2.1.5
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile main
      start=Fri May 25 22:18:55 PDT 2001
      status=Failed. Execution failed: `main' threw exception: java.lang.NullPointerException
      test=javax/print/CloseStreamTest.java
      work=/export0/results/regression/merlin/b63b/jetfly5.9-jth13-jdk14b63b.05-25.18.30-ALL/javax
      /print

      #section:script_messages
      ----------messages:(4/252)----------
      JDK under test: (/net/sqesvr/export/st1/jdk14-beta/b63b/solsparc)
      java version "1.4.0-beta_refresh"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b63b)
      Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b63b, mixed mode)

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

      #section:compile
      ----------messages:(3/194)----------
      command: compile
      /net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b63b/javax/print/CloseStreamTest.
      java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 4.59
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:main
      ----------messages:(3/1024)----------
      command: main CloseStreamTestCopyright 2001 Sun Microsystems, Inc. All Rights Reserved. This
      software is the proprietary information
      of Sun Microsystems, Inc. Use is subject to license terms. Runs as a "main" test as
      permission to queue a print job obtain a system
      property & create and delete a file is needed. Throws an exception if any stream is left
      open. The test also requires a service that
      properly implements job notification. It will wait for the job to report completion.
      reason: User specified action: run main CloseStreamTest Copyright 2001 Sun Microsystems,
      Inc. All Rights Reserved. This software is
      the proprietary information of Sun Microsystems, Inc. Use is subject to license terms. Runs
      as a "main" test as permission to queue a
      print job obtain a system property & create and delete a file is needed. Throws an exception
      if any stream is left open. The test
      also requires a service that properly implements job notification. It will wait for the job
      to report completion.
      elapsed time (seconds): 5.718
      ----------System.out:(0/0)----------
      ----------System.err:(44/2493)----------

      Trying flavor : image/gif; class="java.io.InputStream"
      checkStreams:for failure: image/gif; class="java.io.InputStream"
      SUCCESS: no stream left open
      printed image/gif; class="java.io.InputStream"
      checkStreams:for succeed: image/gif; class="java.io.InputStream"
      instream closed
      SUCCESS: no stream left open
      java.lang.NullPointerException
      at java.awt.image.ComponentColorModel.getDataElements(ComponentColorModel.java:1349)
      at sun.java2d.loops.OpaqueCopyArgbToAny.Blit(CustomComponent.java:143)
      at sun.java2d.loops.GraphicsPrimitive.convertTo(GraphicsPrimitive.java:294)
      at sun.java2d.loops.MaskBlit$General.MaskBlit(MaskBlit.java:205)
      at sun.java2d.loops.Blit$GeneralMaskBlit.Blit(Blit.java:140)
      at sun.java2d.loops.BlitBg$General.BlitBg(BlitBg.java:160)
      at sun.java2d.SunGraphics2D.blitSurfaceData(SunGraphics2D.java:2974)
      at sun.java2d.SunGraphics2D.renderSurfaceData(SunGraphics2D.java:2897)
      at sun.java2d.SunGraphics2D.renderImage(SunGraphics2D.java:2881)
      at sun.java2d.SunGraphics2D.renderingPipeImage(SunGraphics2D.java:2860)
      at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2214)
      at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2196)
      at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3244)
      at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3431)
      at sun.print.PSPathGraphics.drawImageToPS(PSPathGraphics.java:984)
      at sun.print.PSPathGraphics.drawImage(PSPathGraphics.java:498)
      at sun.print.PSPathGraphics.drawImage(PSPathGraphics.java:409)
      at sun.print.ImagePrinter.print(ImagePrinter.java:67)
      at sun.print.RasterPrinterJob.printPage(RasterPrinterJob.java:1460)
      at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1034)
      at sun.print.UnixPrintJob.printableJob(UnixPrintJob.java:513)
      at sun.print.UnixPrintJob.print(UnixPrintJob.java:318)
      at CloseStreamTest.runTest(CloseStreamTest.java:119)
      at CloseStreamTest.main(CloseStreamTest.java:87)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:30)
      at
      sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAccessorImpl.java:48)
      at java.lang.reflect.Method.invoke(Method.java:306)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:579)

      JavaTest Message: Test threw exception: java.lang.NullPointerException
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.NullPointerException
      result: Failed. Execution failed: `main' threw exception: java.lang.NullPointerException


      test result: Failed. Execution failed: `main' threw exception:
      java.lang.NullPointerException
      ======================================================================

            Unassigned Unassigned
            apsmith Alan Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: