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 223907 - IndexOutOfBoundsException: Invalid line index=1085 >= lineCount=1085
Summary: IndexOutOfBoundsException: Invalid line index=1085 >= lineCount=1085
Status: RESOLVED DUPLICATE of bug 218601
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-17 09:11 UTC by gbc
Modified: 2013-01-08 15:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 193515


Attachments
stacktrace (1.72 KB, text/plain)
2012-12-17 09:11 UTC, gbc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gbc 2012-12-17 09:11:54 UTC
Build: NetBeans IDE Dev (Build 201212140001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-b18
OS: Linux

User Comments:
gbc: I just cut the last words of a line of code. FYI, I'm using the jVi plugin.

GUEST: Send info on resolve the problem to mail peterkd@azet.sk.
Thank you.




Stacktrace: 
java.lang.IndexOutOfBoundsException: Invalid line index=1085 >= lineCount=1085
   at org.netbeans.modules.editor.lib2.document.LineRootElement.getElement(LineRootElement.java:84)
   at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.updateLineEndOffset(HighlightsViewFactory.java:301)
   at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.createView(HighlightsViewFactory.java:202)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createNextView(ViewBuilder.java:893)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:730)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createReplaceRepaintViews(ViewBuilder.java:684)
Comment 1 gbc 2012-12-17 09:11:58 UTC
Created attachment 129435 [details]
stacktrace
Comment 2 Milutin Kristofic 2013-01-08 15:50:01 UTC

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