JDK-8061392 : PrinterJob NPE when drawing translucent image with null user clip
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 6u10,9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-10-17
  • Updated: 2015-06-04
  • Resolved: 2014-10-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
8u40Fixed 9 b38Fixed
Related Reports
Relates :  
If you call g2d.setClip(null) on the printer graphics then draw a transparent image
you get the following exception :-
        at sun.awt.windows.WPathGraphics.redrawRegion(WPathGraphics.java:1401)
        at sun.print.RasterPrinterJob.printPage(RasterPrinterJob.java:2143)
        at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1480)
        at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1323)
        at ARGB.main(ARGB.java:53)