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 182629

Summary: [69cat] AssertionError: Line view index is -1
Product: editor Reporter: zolta <zolta>
Component: Painting & PrintingAssignee: issues@editor <issues>
Status: RESOLVED FIXED    
Severity: normal CC: dstrupl, ivansidorkin, jglick, jocke, juhrik, kharezlak, mklaehn, mmirilovic, moonko, mryzl, pjiricka, stefan79, tnleeuw, zolta
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 166868
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description zolta 2010-03-24 07:14:50 UTC
Build: NetBeans IDE Dev (Build 201003240200)
VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07
OS: Linux

User Comments:
zolta: started NB after installing daily trunk




Stacktrace: 
java.lang.AssertionError: Line view index is -1
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.checkRebuild(ViewUpdates.java:418)
   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)
   at org.netbeans.spi.editor.highlighting.support.AbstractHighlightsContainer.fireHighlightsChange(AbstractHighlightsContainer.java:110)
   at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.access$000(CompoundHighlightsContainer.java:64)
Comment 1 zolta 2010-03-24 07:14:54 UTC
Created attachment 95635 [details]
stacktrace
Comment 2 stefan79 2010-03-24 07:51:18 UTC
Created attachment 95637 [details]
stacktrace

Started NetBeans.
Comment 3 stefan79 2010-03-24 07:58:47 UTC
I´ve removed my var folder and started the build 201003240200.
Then this exception occured.

Changed Priority to P2, because it should fixed before beta-release.
Comment 4 stefan79 2010-03-24 09:20:20 UTC
Created attachment 95641 [details]
stacktrace
Comment 5 Petr Jiricka 2010-03-24 09:33:21 UTC
Created attachment 95642 [details]
stacktrace

Creating a project - activating features.
Comment 6 David Strupl 2010-03-24 09:34:20 UTC
Created attachment 95643 [details]
stacktrace
Comment 7 Jaromir Uhrik 2010-03-24 09:35:21 UTC
Created attachment 95644 [details]
stacktrace

-Logged in to kenai.com 
-opened one of my project hosted on kenai
-checked out sources of this project together with opening of the project in IDE
-->When this j2se project opened the Exception dialog appeared
Comment 8 Marian Mirilovic 2010-03-24 09:42:32 UTC
this must be recent regression, haven't faced it in previous daily build
Comment 9 stefan79 2010-03-24 10:41:21 UTC
Created attachment 95662 [details]
stacktrace
Comment 10 Ivan Sidorkin 2010-03-24 12:16:26 UTC
Created attachment 95668 [details]
stacktrace
Comment 11 Rastislav Komara 2010-03-24 13:09:24 UTC
Created attachment 95672 [details]
stacktrace
Comment 12 Jesse Glick 2010-03-24 13:40:25 UTC
Created attachment 95677 [details]
stacktrace

Started IDE. No editor tabs or projects open.
Comment 13 Miloslav Metelka 2010-03-24 14:38:07 UTC
It should be fixed by b66dfdbd4cf9 integrated on Mar 24, 2010 into jet-main
 (originally integrated with comment
#121357 - Editor View Hierarchy - fixed AssertionError - null textComponent
when invoking Options->Fonts and Colors.)
Comment 14 Jesse Glick 2010-03-24 15:19:27 UTC
Created attachment 95699 [details]
stacktrace
Comment 15 Karol Harezlak 2010-03-24 22:32:36 UTC
Created attachment 95733 [details]
stacktrace