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.
Build: NetBeans IDE 6.8 (Build 200912041610) VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12 OS: Windows XP, 5.1, x86 User Comments: _m4c0_: inside a scala file on a nbm project (editing XML with CDATA) Stacktrace: java.lang.IllegalStateException: Lexer org.netbeans.modules.scala.core.lexer.ScalaLexer@1f5445b returned null token but lexerInput.readLength()=1 lexer-state: null tokenStartOffset=448, readOffset=449, lookaheadOffset=475 Chars: "]" - these characters need to be tokenized. Fix the lexer to not return null token in this state. at org.netbeans.lib.lexer.LexerInputOperation.checkLexerInputFinished(LexerInputOperation.java:415) at org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:192) at org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:185) at org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:180) at org.netbeans.lib.lexer.LexerUtilsConstants.tokenIndexLazyTokenCreation(LexerUtilsConstants.java:266) at org.netbeans.lib.lexer.inc.IncTokenList.tokenIndex(IncTokenList.java:164)
Created attachment 92654 [details] stacktrace
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=163684