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 108655 - IndexOutOfBoundsException: Invalid line index=X >= lineCount=Y
Summary: IndexOutOfBoundsException: Invalid line index=X >= lineCount=Y
Status: RESOLVED DUPLICATE of bug 97342
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-02 15:52 UTC by _ gtzabari
Modified: 2007-07-03 12:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack-trace (1.64 KB, text/plain)
2007-07-02 15:53 UTC, _ gtzabari
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2007-07-02 15:52:46 UTC
dev build 20070720000

There seems to be a race condition in the code that generates Editor Hints. To reproduce:

1) Open a file and let the editor finish generating hints for it
2) Delete a block of text in the middle of the file
3) A second later the editor will try generating hints and throw the attached exception
Comment 1 _ gtzabari 2007-07-02 15:53:04 UTC
Created attachment 44627 [details]
stack-trace
Comment 2 Jiri Prox 2007-07-03 12:52:31 UTC
Looks similar to issue 97342. Thanks for your report.

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