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 198415 - NullPointerException at org.netbeans.modules.editor.lib2.view.DocumentView.checkFontRenderContext
Summary: NullPointerException at org.netbeans.modules.editor.lib2.view.DocumentView.ch...
Status: RESOLVED DUPLICATE of bug 198719
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:
Depends on:
Blocks:
 
Reported: 2011-05-07 18:21 UTC by revathskumar
Modified: 2011-06-22 12:57 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 177525


Attachments
stacktrace (2.47 KB, text/plain)
2011-05-07 18:21 UTC, revathskumar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description revathskumar 2011-05-07 18:21:49 UTC
Build: NetBeans IDE 7.0 (Build 201104080000)
VM: Java HotSpot(TM) Client VM, 1.6.0-b105, Java(TM) SE Runtime Environment, 1.6.0-b105
OS: Windows Vista

User Comments:
GUEST: i opened one of my classes and then when i closed it, this exception appeared.
NOTE : This project had some stuffs not resolved!

GUEST: -------------------------------------------------------------------------------
>Log Session: Wednesday, April 27, 2011 9:29:00 AM SGT
>System Info: 
  Product Version         = NetBeans IDE 7.0 (Build 201104080000) (#a693229ccdbb)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b101; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0-rc-b101
  Java Home               = C:\Program Files\Java\jdk1.6.0\jre
  System Locale; Encoding = en_US (nb); Cp1252
  Home Directory          = C:\Documents and Settings\c-laptop
  Current Directory       = C:\Documents and Settings\c-laptop
  User Directory          = C:\Documents and Settings\c-laptop\.netbeans\7.0
  Installation            = C:\Program Files\netbeans\nb
                            C:\Program Files\netbeans\ergonomics
                            C:\Program Files\netbeans\ide
                            C:\Pr

GUEST: This pops up most of the time especially when i run the project..

GUEST: I just Ran my project....

GUEST: -------------------------------------------------------------------------------
>Log Session: Tuesday, April 12, 2011 12:38:03 PM IST
>System Info: 
  Product Version         = NetBeans IDE 7.0 RC2 (Build 201104070802) (#04aa9273784e)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0-b105
  Java Home               = C:\Program Files\Java\jdk1.6.0\jre
  System Locale; Encoding = en_US (nb); Cp1252
  Home Directory          = C:\Documents and Settings\Administrator
  Current Directory       = C:\Program Files\NetBeans 7.0 RC2
  User Directory          = C:\Documents and Settings\Administrator\.netbeans\7.0rc2
  Installation            = C:\Program Files\NetBeans 7.0 RC2\nb
                            C:\Program Files\NetBeans 7.0 RC2\ide
                            C:\Program Files\NetBeans 7.0 RC2\websvccommon

GUEST: I dont know when it came, but i saw it after i ran my project.

GUEST: ???? ??NullPointerException

GUEST: pressed "ctrl" + close tab

revathskumar: Happened when closing a document




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.modelToViewChecked(DocumentView.java:1033)
   at org.netbeans.modules.editor.lib2.view.EditorView.modelToView(EditorView.java:253)
   at javax.swing.plaf.basic.BasicTextUI$RootView.modelToView(BasicTextUI.java:1496)
   at javax.swing.plaf.basic.BasicTextUI.modelToView(BasicTextUI.java:1034)
Comment 1 revathskumar 2011-05-07 18:21:53 UTC
Created attachment 108163 [details]
stacktrace
Comment 2 Exceptions Reporter 2011-06-19 02:44:18 UTC
This bug already has 100 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=177525
Comment 3 Miloslav Metelka 2011-06-22 12:56:48 UTC
This is fixed by issue 198719 which is already integrated in 7.0.1.
Comment 4 Miloslav Metelka 2011-06-22 12:57:20 UTC

*** This bug has been marked as a duplicate of bug 198719 ***