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 182640 - NullPointerException at org.netbeans.modules.editor.lib2.view.ViewUtils.repaint
Summary: NullPointerException at org.netbeans.modules.editor.lib2.view.ViewUtils.repaint
Status: RESOLVED DUPLICATE of bug 182625
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: issues@editor
URL:
Keywords:
: 183368 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-24 09:40 UTC by Tomas Mysik
Modified: 2010-04-06 21:22 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 166874


Attachments
stacktrace (3.76 KB, text/plain)
2010-03-24 09:40 UTC, Tomas Mysik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2010-03-24 09:40:15 UTC
Build: NetBeans IDE Dev (Build 100324-d64a3e230a37)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux

User Comments:
tmysik: Tools > Options > Fonts & Colors




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.editor.lib2.view.ViewUtils.repaint(ViewUtils.java:168)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.repaintAndReplaceViews(ViewBuilder.java:414)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.checkRebuild(ViewUpdates.java:424)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates$FactoriesListener.viewFactoryChanged(ViewUpdates.java:452)
   at org.netbeans.modules.editor.lib2.view.EditorViewFactory.fireEvent(EditorViewFactory.java:194)
   at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.highlightChanged(HighlightsViewFactory.java:226)
Comment 1 Tomas Mysik 2010-03-24 09:40:18 UTC
Created attachment 95647 [details]
stacktrace
Comment 2 David Strupl 2010-04-04 21:43:09 UTC
*** Bug 183368 has been marked as a duplicate of this bug. ***
Comment 3 David Strupl 2010-04-04 21:43:54 UTC
Seems like this exception blocks the CND team (breaks their tests) --> P2.
Comment 4 David Strupl 2010-04-04 21:47:23 UTC
BTW Milo in the report that I have marked as duplicate this exception is thrown in non-AWT EDT. Is it ok for these methods to be called out of EDT?
Comment 5 David Strupl 2010-04-06 21:09:42 UTC
*** Bug 183595 has been marked as a duplicate of this bug. ***
Comment 6 David Strupl 2010-04-06 21:22:23 UTC
I think this is the same as 182625.

The only difference is that these 2 reports were run with assertions disabled so the very end of the stack trace is different since the assertion did not catch the problem.

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