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 238448 - NullPointerException at org.netbeans.modules.editor.lib.drawing.DrawEngine.initInfo
Summary: NullPointerException at
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
Depends on:
Reported: 2013-11-15 22:31 UTC by Jesse Glick
Modified: 2016-06-13 08:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 205324

stacktrace (4.06 KB, text/plain)
2013-11-15 22:31 UTC, Jesse Glick
stacktrace (3.27 KB, text/plain)
2015-02-11 22:06 UTC, Exceptions Reporter

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2013-11-15 22:31:00 UTC
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.

   at org.netbeans.modules.editor.lib.drawing.DrawEngine.initInfo(
   at org.netbeans.modules.editor.lib.drawing.DrawEngine.drawInternal(
   at org.netbeans.modules.editor.lib.drawing.DrawEngine.draw(
   at org.netbeans.modules.editor.lib.drawing.DrawEngine.draw(
   at org.netbeans.editor.BaseDocument.print(
   at org.netbeans.modules.print.editor.Editor.actionPerformed(
Comment 1 Jesse Glick 2013-11-15 22:31:01 UTC
Created attachment 142249 [details]
Comment 2 Milutin Kristofic 2013-11-18 14:24:36 UTC
Comment 3 ngx472 2013-11-30 17:40:16 UTC
Also happens in 7.4
Comment 4 ngx472 2013-11-30 17:52:13 UTC
Also happens in my SQL Editor built w Platform 7.4 when hitting File/Print
Comment 5 Exceptions Reporter 2015-02-11 22:06:31 UTC
Created attachment 151965 [details]

Attempted to print code.