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 203435 - IndexOutOfBoundsException: Invalid line index=5 >= lineCount=5
Summary: IndexOutOfBoundsException: Invalid line index=5 >= lineCount=5
Status: RESOLVED WONTFIX
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@third-party
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-10 12:14 UTC by Exceptions Reporter
Modified: 2012-10-11 11:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 181833


Attachments
stacktrace (3.98 KB, text/plain)
2011-10-10 12:14 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2011-10-10 12:14:10 UTC
This issue was reported manually by mkristofic.
It already has 6 duplicates 


Build: NetBeans IDE Dev (Build nbms-and-javadoc-7582-on-20110725)
VM: Java HotSpot(TM) Client VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Windows XP

User Comments:
GUEST: crtl+space




Stacktrace: 
java.lang.IndexOutOfBoundsException: Invalid line index=5 >= lineCount=5
   at org.netbeans.editor.LineRootElement.getElement(LineRootElement.java:115)
   at org.openide.text.NbDocument$DocumentRenderer.run(NbDocument.java:691)
   at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1422)
   at org.openide.text.NbDocument$DocumentRenderer.renderToInt(NbDocument.java:666)
   at org.openide.text.NbDocument.findLineOffset(NbDocument.java:187)
   at org.enclojure.ide.nb.editor.hyperlinks$do_get_hyperlink_provider$fn__2108.invoke(hyperlinks.java:71)
Comment 1 Exceptions Reporter 2011-10-10 12:14:14 UTC
Created attachment 111773 [details]
stacktrace
Comment 2 Milutin Kristofic 2011-10-10 12:28:32 UTC
I am closing bug https://netbeans.org/bugzilla/show_bug.cgi?id=155880 and I took current reports and reassign it to particular components. It's usually problem with not locking line information.
Comment 3 Marian Mirilovic 2011-11-07 08:59:37 UTC
please report against http://enclojure.org/