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 127402 - ArrayIndexOutOfBoundsException: 77
Summary: ArrayIndexOutOfBoundsException: 77
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 6.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: Marek Fukala
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-14 15:07 UTC by Jindrich Sedek
Modified: 2008-04-28 13:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 27407


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2008-02-14 15:07:36 UTC
Build: NetBeans IDE Dev (Build 080214)
VM: Java HotSpot(TM) Client VM, 1.6.0_10-ea-b07
OS: SunOS, 5.11, x86
User comments: 

Type in CSS file:
--------------------
h1{
 font-family: '
--------------------

after pressing " ' " AIOOBE is thrown and editor becomes unstable

STACKTRACE: (first 10 lines)
java.lang.ArrayIndexOutOfBoundsException: 77
        at org.netbeans.modules.css2.lexer.CSSLexer.nextToken(CSSLexer.java:98)
        at org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:274)
        at org.netbeans.lib.lexer.inc.TokenListUpdater.update(TokenListUpdater.java:376)
        at org.netbeans.lib.lexer.TokenHierarchyUpdate.updateTokenListByModification(TokenHierarchyUpdate.java:338)
        at org.netbeans.lib.lexer.TokenHierarchyUpdate.update(TokenHierarchyUpdate.java:94)
        at org.netbeans.lib.lexer.TokenHierarchyOperation.textModified(TokenHierarchyOperation.java:460)
        at org.netbeans.spi.lexer.TokenHierarchyControl.textModified(TokenHierarchyControl.java:93)
        at org.netbeans.lib.lexer.inc.DocumentInput.modified(DocumentInput.java:151)
        at org.netbeans.lib.lexer.inc.DocumentInput.insertUpdate(DocumentInput.java:140)
        at
org.netbeans.lib.editor.util.swing.PriorityDocumentListenerList.insertUpdate(PriorityDocumentListenerList.java:70)
Comment 1 Marek Fukala 2008-02-14 15:15:33 UTC
already fixed in javascript2 repo
Comment 2 Jindrich Sedek 2008-02-25 14:44:18 UTC
verified.
NetBeans IDE Dev (Build 200802250003)