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.
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) ...
Steps to reproduce: - type File - press Tab to expand code template - press anything (e.g. a) and exception is thrown
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.
Verified.