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 145720 - java.lang.NullPointerException exception printing to remote printer
Summary: java.lang.NullPointerException exception printing to remote printer
Status: RESOLVED WONTFIX
Alias: None
Product: utilities
Classification: Unclassified
Component: Print (show other bugs)
Version: 6.x
Hardware: Other Linux
: P1 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-31 16:51 UTC by billwalton76104
Modified: 2008-09-01 11:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log of null pointer exception when printing to shared printer (1.63 KB, text/plain)
2008-08-31 19:19 UTC, billwalton76104
Details
log from 6.5 beta: install of beta and attempted printing of file (33.90 KB, text/plain)
2008-08-31 23:22 UTC, billwalton76104
Details

Note You need to log in before you can comment on or make changes to this bug.
Description billwalton76104 2008-08-31 16:51:11 UTC
I'm running NetBeans 6.0.1 Ruby-only distro on Ubuntu 8.0.4.  I'm printing to a shared Windows XP printer.  I can print
successfully from other applications (e.g., FireFox) but not from NetBeans.  Selecting 'Print' from the File menu throws
an 'Unexpected Exception": java.lang.NullPointerException exception has occurred.  I would have attached the
messages.log file except that it is empty.
Comment 1 billwalton76104 2008-08-31 19:19:21 UTC
Created attachment 68734 [details]
log of null pointer exception when printing to shared printer
Comment 2 Petr Dvorak 2008-08-31 20:32:00 UTC
This issue is reported agains 6.0.1, therefore it is probably not present in 6.5 due to new printing API. I am lowering
the priority to P3 (normal) for this reason, please feel free to raise the priority if the problem persists.
Comment 3 billwalton76104 2008-08-31 23:22:33 UTC
Created attachment 68753 [details]
log from 6.5 beta: install of beta and attempted printing of file
Comment 4 billwalton76104 2008-08-31 23:26:31 UTC
I've installed the 6.5 beta (Ruby-only), again on Ubuntu 8.0.4, and the problem persists.  I've attached a log showing
the installation, opening an existing, very small .rb file, and an attempted print.  I've changed the 'Version' to 6.5
and changed the'Priority' back to P1.  Please let me know if I can be of assistance.
Comment 5 Vladimir Yaroslavskiy 2008-09-01 11:46:09 UTC
It is bug in jdk 6 on Linux, CR 6741351.
It can not be fixed by NetBeans team, so closing as WONTFIX.

WORKAROUND: use jdk 1.5.

related issue: 143868