This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 189624 - NullPointerException at sun.awt.windows.WPrinterJob.getPrintService
Summary: NullPointerException at sun.awt.windows.WPrinterJob.getPrintService
Status: RESOLVED INCOMPLETE
Alias: None
Product: db
Classification: Unclassified
Component: Show Data (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-18 09:29 UTC by Maksim Khramov
Modified: 2010-08-24 13:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 172006


Attachments
stacktrace (2.68 KB, text/plain)
2010-08-18 09:29 UTC, Maksim Khramov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Khramov 2010-08-18 09:29:02 UTC
Build: NetBeans IDE 6.8 (Build 200912041610)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows XP

Stacktrace: 
java.lang.NullPointerException
   at sun.awt.windows.WPrinterJob.getPrintService(WPrinterJob.java:566)
   at sun.print.RasterPrinterJob$3.run(RasterPrinterJob.java:810)
   at java.security.AccessController.doPrivileged(AccessController.java:0)
   at sun.print.RasterPrinterJob.printDialog(RasterPrinterJob.java:806)
   at javax.swing.JTable.print(JTable.java:6246)
   at javax.swing.JTable.print(JTable.java:6097)
Comment 1 Maksim Khramov 2010-08-18 09:29:08 UTC
Created attachment 101479 [details]
stacktrace
Comment 2 Jiri Rechtacek 2010-08-24 13:04:20 UTC
Could you describe steps to reproduce this problem? Thanks
Comment 3 Maksim Khramov 2010-08-24 13:43:13 UTC
I have opened SQL query data results table and some selected cells in it. Once I call context menu and invoke 'Print Table Data' I see this exception.
However it was not reproduced any more.