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.
This bug was originally marked as duplicate of bug 204691, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 20131115-7233d1d805df) VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18 OS: Linux User Comments: jglick: Had a r/o Java source open; tried to open a file using File > Open. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.editor.lib.drawing.DrawEngine.initInfo(DrawEngine.java:227) at org.netbeans.modules.editor.lib.drawing.DrawEngine.drawInternal(DrawEngine.java:1194) at org.netbeans.modules.editor.lib.drawing.DrawEngine.draw(DrawEngine.java:1103) at org.netbeans.modules.editor.lib.drawing.DrawEngine.draw(DrawEngine.java:1070) at org.netbeans.editor.BaseDocument.print(BaseDocument.java:1307) at org.netbeans.modules.print.editor.Editor.actionPerformed(Editor.java:98)
Created attachment 142249 [details] stacktrace
Printing.
Also happens in 7.4
Also happens in my SQL Editor built w Platform 7.4 when hitting File/Print
Created attachment 151965 [details] stacktrace Attempted to print code.