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 155221 - IndexOutOfBoundsException: Invalid line index=181 >= lineCount=141
Summary: IndexOutOfBoundsException: Invalid line index=181 >= lineCount=141
Status: RESOLVED DUPLICATE of bug 155880
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-11 12:46 UTC by cbulcu
Modified: 2009-02-19 20:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 11592


Attachments
stacktrace (1.28 KB, text/plain)
2008-12-11 12:47 UTC, cbulcu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cbulcu 2008-12-11 12:46:51 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Windows XP, 5.1, x86

User Comments:
marco_bresciani: 
I got this kind of thing when I deleted line 15 in my SQL in "SQL Command 1" window and then hit "Line 15, column 1" that was hyperlinked in my "SQL Command 1 execution" panel on the bottom.

GUEST: Finding Bugs

giorgio42: Double clicked entry in FindBugs result list.

wobster: moving through find bugs output



Stacktrace: 
java.lang.IndexOutOfBoundsException: Invalid line index=181 >= lineCount=141
        at org.netbeans.editor.LineRootElement.getElement(LineRootElement.java:112)
        at org.openide.text.NbDocument$DocumentRenderer.run(NbDocument.java:669)
        at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1362)
        at org.openide.text.NbDocument$DocumentRenderer.renderToInt(NbDocument.java:644)
        at org.openide.text.NbDocument.findLineOffset(NbDocument.java:176)
        at org.openide.text.DocumentLine$Set.offset(DocumentLine.java:1026)
Comment 1 cbulcu 2008-12-11 12:47:00 UTC
Created attachment 74851 [details]
stacktrace
Comment 2 Vitezslav Stejskal 2009-01-05 15:11:20 UTC

*** This issue has been marked as a duplicate of 155880 ***