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 111647 - AIOOBE: 64 from o.n.lib.lexer.LanguageOperation.tokenValidator(LanguageOperation.java:164)
Summary: AIOOBE: 64 from o.n.lib.lexer.LanguageOperation.tokenValidator(LanguageOperat...
Status: VERIFIED WORKSFORME
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-01 15:35 UTC by Tomas Danek
Modified: 2007-08-27 12:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2007-08-01 15:35:07 UTC
Product Version: NetBeans IDE Dev (Build 200707311200) Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04 System:
Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb) Userdir: /tmp/ud2
--------------------------
no exact steps to reproduce, just editing some piece of code..

java.lang.ArrayIndexOutOfBoundsException: 64
	at org.netbeans.lib.lexer.LanguageOperation.tokenValidator(LanguageOperation.java:164)
	at org.netbeans.lib.lexer.inc.TokenListUpdater.update(TokenListUpdater.java:278)
	at org.netbeans.lib.lexer.TokenHierarchyOperation.textModified(TokenHierarchyOperation.java:293)
	at org.netbeans.spi.lexer.TokenHierarchyControl.textModified(TokenHierarchyControl.java:81)
	at org.netbeans.lib.lexer.inc.DocumentInput.modified(DocumentInput.java:115)
	at org.netbeans.lib.lexer.inc.DocumentInput.insertUpdate(DocumentInput.java:104)
	at org.netbeans.lib.editor.util.swing.PriorityDocumentListenerList.insertUpdate(PriorityDocumentListenerList.java:48)
	at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:184)
	at org.netbeans.editor.BaseDocument.fireInsertUpdate(BaseDocument.java:1342)
	at org.netbeans.editor.BaseDocument.insertString(BaseDocument.java:599)
	at org.netbeans.editor.BaseKit$DefaultKeyTypedAction.insertString(BaseKit.java:1067)
	at
org.netbeans.modules.gsf.GsfEditorKitFactory$GsfEditorKit$GsfDefaultKeyTypedAction.insertString(GsfEditorKitFactory.java:380)
	at org.netbeans.editor.BaseKit$DefaultKeyTypedAction.actionPerformed(BaseKit.java:1031)
	at org.netbeans.editor.ext.ExtKit$ExtDefaultKeyTypedAction.actionPerformed(ExtKit.java:1003)
	at
org.netbeans.modules.gsf.GsfEditorKitFactory$GsfEditorKit$GsfDefaultKeyTypedAction.actionPerformed(GsfEditorKitFactory.java:360)
	at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:266)
...
Comment 1 Jiri Skrivanek 2007-08-07 13:51:32 UTC
Steps to reproduce:

- type File
- press Tab to expand code template
- press anything (e.g. a) and exception is thrown
Comment 2 Torbjorn Norbye 2007-08-25 22:32:19 UTC
I think this is a duplicate of a lexer bug that was fixed a while back. I just tried the steps to reproduce, and they
work fine now.
Comment 3 Jiri Skrivanek 2007-08-27 12:41:10 UTC
Verified.