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 114647 - IOOBE thrown while editing RHTML file
Summary: IOOBE thrown while editing RHTML file
Status: VERIFIED DUPLICATE of bug 114613
Alias: None
Product: editor
Classification: Unclassified
Component: Lexer (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-04 15:28 UTC by Jiri Skrivanek
Modified: 2007-09-10 08:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Entire stack trace. (3.06 KB, text/plain)
2007-09-04 15:29 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2007-09-04 15:28:20 UTC
IndexOutOfBoundsException is thrown when you type <%= l into RHTML file. It might be related to issue 108617. To reproduce:

- create Ruby project
- open new file wizard
- choose Ruby|RHTML file
- type <%= l and the following exception is thrown:

java.lang.IndexOutOfBoundsException: Index: 1, Size: 0
	at org.netbeans.lib.editor.util.GapList.addArray(GapList.java:576)

Product Version: NetBeans IDE Dev (Build 200709040000) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System:
Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
Comment 1 Jiri Skrivanek 2007-09-04 15:29:11 UTC
Created attachment 48066 [details]
Entire stack trace.
Comment 2 Jiri Skrivanek 2007-09-04 15:34:04 UTC
Increasing priority because it arises after you type any other single character.
Comment 3 Miloslav Metelka 2007-09-06 21:22:38 UTC
This is in fact a dup of issue 114613 (it's eliminated by its fix).

*** This issue has been marked as a duplicate of 114613 ***
Comment 4 Jiri Skrivanek 2007-09-10 08:18:19 UTC
Verified.