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 198304 - [70cat] NullPointerException at org.netbeans.modules.editor.lib2.view.DocumentView.checkFontRenderContext
Summary: [70cat] NullPointerException at org.netbeans.modules.editor.lib2.view.Documen...
Status: CLOSED DUPLICATE of bug 201102
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.0
Hardware: All All
: P1 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
: 199173 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-04 07:30 UTC by aquaglia
Modified: 2011-11-28 09:11 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 178673


Attachments
stacktrace (3.22 KB, text/plain)
2011-05-04 07:30 UTC, aquaglia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aquaglia 2011-05-04 07:30:50 UTC
Build: NetBeans IDE Dev (Build 201104290000)
VM: Java HotSpot(TM) Client VM, 20.0-b02, Java(TM) SE Runtime Environment, 1.7.0-ea-b118
OS: Windows XP

User Comments:
aquaglia: Modifying watch




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.editor.lib2.view.DocumentView.checkFontRenderContext(DocumentView.java:607)
   at org.netbeans.modules.editor.lib2.view.DocumentView.checkViewsInited(DocumentView.java:587)
   at org.netbeans.modules.editor.lib2.view.DocumentView.getPreferredSpan(DocumentView.java:390)
   at javax.swing.plaf.basic.BasicTextUI$RootView.getPreferredSpan(BasicTextUI.java:1355)
   at javax.swing.plaf.basic.BasicTextUI.getPreferredSize(BasicTextUI.java:921)
   at javax.swing.JComponent.getPreferredSize(JComponent.java:1660)
Comment 1 aquaglia 2011-05-04 07:30:54 UTC
Created attachment 108095 [details]
stacktrace
Comment 2 Exceptions Reporter 2011-09-27 09:16:36 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=178673
Comment 3 Miloslav Metelka 2011-10-10 15:09:19 UTC
*** Bug 199173 has been marked as a duplicate of this bug. ***
Comment 4 Marian Mirilovic 2011-11-23 11:18:23 UTC
104 duplicates , at least 30 this month - P1
Comment 5 Miloslav Metelka 2011-11-24 16:49:51 UTC
All reports are from 7.0.1 or older builds.
The code from exception no longer exists in DocumentView (it was split by issue #201102) so the issue can no longer trigger in this form.
I'd like to ask QE to verify that this is no issue in 7.1. Thanks.

*** This bug has been marked as a duplicate of bug 201102 ***
Comment 6 Marian Mirilovic 2011-11-28 09:11:09 UTC
no reports from a build after 7.0.1 ... v/c