-
Bug
-
Resolution: Fixed
-
P2
-
5.0
-
b40
-
x86
-
windows_xp
-
Verified
I am printing an image to a disconnected printer from Win XP using the merlin printing APIs. On Tiger-beta2-b38 and before, this causes a NullPointerException in sun.print.Win32PrintService.initMedia(). But when I execute this on the 2D PIT build specified below the VM crashes.
Here is the PIT build:
java version "2d-jcg-win-01-2004-02-18.tiger"
Java(TM) 2 Runtime Environment, Standard Edition (build 2d-jcg-win-01-2004-02-18.tiger)
Java HotSpot(TM) Client VM (build 1.5.0-beta2-b38, mixed mode)
When I use java.awt.print.PrinterJob, i am getting an internal error : cannot open printer. This is seen on the PIT build as well as previous builds.
I have attached a sample test. Execute the sample test on a system which has a disconnected network printer as the default printer. If the VM crashes, the bug is reproduced. I have attached the log files created by the VM at the time of crash.
Here is the PIT build:
java version "2d-jcg-win-01-2004-02-18.tiger"
Java(TM) 2 Runtime Environment, Standard Edition (build 2d-jcg-win-01-2004-02-18.tiger)
Java HotSpot(TM) Client VM (build 1.5.0-beta2-b38, mixed mode)
When I use java.awt.print.PrinterJob, i am getting an internal error : cannot open printer. This is seen on the PIT build as well as previous builds.
I have attached a sample test. Execute the sample test on a system which has a disconnected network printer as the default printer. If the VM crashes, the bug is reproduced. I have attached the log files created by the VM at the time of crash.
- relates to
-
JDK-5020359 Bringing a Native dlg thro' PrinterJob fails silently on a disconnected prtr
-
- Closed
-