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 203436 - IndexOutOfBoundsException: Invalid line index=333 >= lineCount=308
Summary: IndexOutOfBoundsException: Invalid line index=333 >= lineCount=308
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-10 12:29 UTC by unr303
Modified: 2011-10-18 14:15 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 181835


Attachments
stacktrace (2.58 KB, text/plain)
2011-10-10 12:29 UTC, unr303
Details

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


Build: NetBeans IDE 7.0 (Build 201104080000)
VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Windows Vista

User Comments:
unr303: Clicking in analyze stack window

GUEST: select line in stack trace analyze window




Stacktrace: 
java.lang.IndexOutOfBoundsException: Invalid line index=333 >= lineCount=308
   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.openide.text.DocumentLine$Set.offset(DocumentLine.java:1066)
Comment 1 unr303 2011-10-10 12:29:41 UTC
Created attachment 111774 [details]
stacktrace
Comment 2 Milutin Kristofic 2011-10-10 12:36:45 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 Jan Becicka 2011-10-17 10:01:12 UTC
Changeset: http://hg.netbeans.org/jet-main/rev/87416e7532b2
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2011-10-17 11:58
Message:   
Issue #203436 - IndexOutOfBoundsException: Invalid line index=333 >= lineCount=308
Comment 4 Quality Engineering 2011-10-18 14:15:10 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/87416e7532b2
User: Jan Becicka <jbecicka@netbeans.org>
Log: Issue #203436 - IndexOutOfBoundsException: Invalid line index=333 >= lineCount=308