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 229006 - IndexOutOfBoundsException: Invalid line index=1 >= lineCount=1
Summary: IndexOutOfBoundsException: Invalid line index=1 >= lineCount=1
Status: VERIFIED FIXED
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: 2013-04-25 11:13 UTC by Alexander Simon
Modified: 2015-10-26 16:41 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 197609


Attachments
stacktrace (4.00 KB, text/plain)
2013-04-25 11:13 UTC, Alexander Simon
Details
stacktrace (3.60 KB, text/plain)
2013-06-05 11:19 UTC, williambacchi
Details
stacktrace (3.60 KB, text/plain)
2013-07-28 04:48 UTC, janario
Details
stacktrace (3.60 KB, text/plain)
2013-07-28 04:51 UTC, janario
Details
stacktrace (3.60 KB, text/plain)
2013-08-18 03:40 UTC, Exceptions Reporter
Details
stacktrace (3.60 KB, text/plain)
2014-03-28 11:27 UTC, IrianR
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2013-04-25 11:13:32 UTC
Build: NetBeans IDE 7.3.1 (Build 20130417-7b2099c0ac45)
VM: Java HotSpot(TM) Client VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: SunOS

User Comments:
alexvsimon: hyperlink om header

alexvsimon: hyperlink on header




Stacktrace: 
java.lang.IndexOutOfBoundsException: Invalid line index=1 >= lineCount=1
   at org.netbeans.modules.editor.lib2.document.LineRootElement.getElement(LineRootElement.java:84)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.updateLine(ViewBuilder.java:1277)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createNextView(ViewBuilder.java:922)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:731)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createReplaceRepaintViews(ViewBuilder.java:685)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.reinitAllViews(ViewUpdates.java:201)
Comment 1 Alexander Simon 2013-04-25 11:13:34 UTC
Created attachment 133792 [details]
stacktrace
Comment 2 williambacchi 2013-06-05 11:19:27 UTC
Created attachment 135379 [details]
stacktrace

ctrl-x
Comment 3 janario 2013-07-28 04:48:57 UTC
Created attachment 137907 [details]
stacktrace

coding
Comment 4 janario 2013-07-28 04:51:57 UTC
Created attachment 137908 [details]
stacktrace

.
Comment 5 Exceptions Reporter 2013-08-18 03:40:03 UTC
Created attachment 138829 [details]
stacktrace

no me de
Comment 6 IrianR 2014-03-28 11:27:58 UTC
Created attachment 146374 [details]
stacktrace

Fixing a regular java class javadoc and formatting.
Comment 7 Lou Dasaro 2014-09-23 18:00:09 UTC
Exception continued after upgrade to NB 7.4. However, after upgrade to NB 8.0.1, anomaly disappeared! 
Resolving as FIXED. Please reopen if you experience this anomaly with NB 8.0.1 or greater, and specify the version of NetBeans and the JDK you are using.