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.
Summary: | unable to print | ||
---|---|---|---|
Product: | utilities | Reporter: | colemanc <colemanc> |
Component: | Assignee: | Vladimir Yaroslavskiy <yaroslavskiy> | |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | Other | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Print application |
Description
colemanc
2007-12-15 15:32:38 UTC
Please provide details: 1. Version of NetBeans: File > Help > About 2. Can you print from another applications? 3. Please run attach java program and try to print from it. What is the result? Created attachment 54314 [details]
Print application
From email thread: 1. netbeans ide 6.0 build 200711261600 also I am using java jdk 1.6.0_03. 2. Yes, I can print from several other applications including Firefox and Abiword. (My husband also cannot print and he has the netbeans 6.0 installed under Fedora. I am using Ubuntu.) 3. It appears to be having an exception at the following code line: dialog = new ServiceDialog(gc, x + gcBounds.x, y + gcBounds.y, services, defaultIndex, flavor, attributes, (Dialog)owner); } here is the error dump when I run it: init: deps-jar: compile: run: Exception in thread "Thread-1" java.lang.NullPointerException: null attribute at sun.print.IPPPrintService.isAttributeValueSupported(IPPPrintService.java:1147) at sun.print.ServiceDialog$OrientationPanel.updateInfo(ServiceDialog.java:2121) at sun.print.ServiceDialog$PageSetupPanel.updateInfo(ServiceDialog.java:1263) at sun.print.ServiceDialog.updatePanels(ServiceDialog.java:437) at sun.print.ServiceDialog.initPrintDialog(ServiceDialog.java:195) at sun.print.ServiceDialog.<init>(ServiceDialog.java:124) at javax.print.ServiceUI.printDialog(ServiceUI.java:188) at sun.print.RasterPrinterJob.printDialog(RasterPrinterJob.java:855) at sun.print.PSPrinterJob.printDialog(PSPrinterJob.java:421) at printtest2.Print.printData(Print.java:68) at printtest2.Print$2$1.run(Print.java:40) Looks like the problem is in jdk 6.0 under unix, see stack trace, it can't print AttributedCharacters. Fix should be in next patch/release of jdk. |