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 182931 - NullPointerException at org.netbeans.modules.editor.lib2.view.NewlineView.getPreferredSpan
Summary: NullPointerException at org.netbeans.modules.editor.lib2.view.NewlineView.get...
Status: RESOLVED FIXED
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:
Depends on:
Blocks:
 
Reported: 2010-03-26 16:09 UTC by Vladimir Voskresensky
Modified: 2010-04-06 13:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 167119


Attachments
stacktrace (3.75 KB, text/plain)
2010-03-26 16:09 UTC, Vladimir Voskresensky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2010-03-26 16:09:37 UTC
Build: NetBeans IDE Dev (Build 100326-cf6cffc3bbd1)
VM: Java HotSpot(TM) Server VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: SunOS

User Comments:
vv159170: just opening ide




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.editor.lib2.view.NewlineView.getPreferredSpan(NewlineView.java:119)
   at org.netbeans.modules.editor.lib2.view.EditorBoxViewChildren.replace(EditorBoxViewChildren.java:159)
   at org.netbeans.modules.editor.lib2.view.EditorBoxView.replace(EditorBoxView.java:260)
   at org.netbeans.modules.editor.lib2.view.ViewReplace.replaceViews(ViewReplace.java:108)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.repaintAndReplaceViews(ViewBuilder.java:393)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.reinitViews(ViewUpdates.java:132)
Comment 1 Vladimir Voskresensky 2010-03-26 16:09:45 UTC
Created attachment 95980 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2010-03-26 16:17:53 UTC
I can not open any C++ file
Comment 3 Jan Jancura 2010-04-06 13:16:46 UTC
fixed by 121357