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.
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.
Created attachment 68734 [details] log of null pointer exception when printing to shared printer
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.
Created attachment 68753 [details] log from 6.5 beta: install of beta and attempted printing of file
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.
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