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 204691 - [71cat] NullPointerException at org.netbeans.modules.editor.lib.drawing.DrawEngine.initInfo
Summary: [71cat] NullPointerException at org.netbeans.modules.editor.lib.drawing.DrawE...
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
Depends on:
Reported: 2011-11-04 15:39 UTC by cezariusz
Modified: 2016-10-12 19:27 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 182601

stacktrace (3.24 KB, text/plain)
2011-11-04 15:39 UTC, cezariusz
stacktrace (3.29 KB, text/plain)
2012-08-12 20:15 UTC, Exceptions Reporter

Note You need to log in before you can comment on or make changes to this bug.
Description cezariusz 2011-11-04 15:39:55 UTC
This bug was originally marked as duplicate of bug 202230, 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 201110310600)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows XP

User Comments:
cezariusz: Trying to print an XSD file.

   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 cezariusz 2011-11-04 15:39:58 UTC
Created attachment 112846 [details]
Comment 2 Miloslav Metelka 2012-06-07 08:31:28 UTC
Not reproduced but it's true that the DrawEngine.initInfo() can no longer work with the current view hierarchy.
Comment 3 Exceptions Reporter 2012-08-12 20:15:47 UTC
Created attachment 123016 [details]

just trying to print
Comment 4 Miloslav Metelka 2013-08-21 13:14:03 UTC
Cannot reproduce.
Comment 5 oliverrettig 2016-10-12 19:27:42 UTC
I see the same stack trace, if I try to print an open xml-editor document. 
Netbeans Platform 8.1, Linux-64bit, JDK1.7