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 178722 - IllegalStateException: Lexer org.netbeans.modules.scala.core.lexer.ScalaLexer@1f5445b returned null token but lexerInput.readLength()=1 lexer-state: null tokenStartOffset=448, readOffset=449, lo
Summary: IllegalStateException: Lexer org.netbeans.modules.scala.core.lexer.ScalaLexer...
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Scala (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: _ dcaoyuan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-16 03:05 UTC by Eduardo.m Costa
Modified: 2016-04-20 15:39 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 163684


Attachments
stacktrace (4.60 KB, text/plain)
2009-12-16 03:05 UTC, Eduardo.m Costa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eduardo.m Costa 2009-12-16 03:05:36 UTC
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)
Comment 1 Eduardo.m Costa 2009-12-16 03:05:41 UTC
Created attachment 92654 [details]
stacktrace
Comment 2 Exceptions Reporter 2016-04-20 15:36:01 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=163684
Comment 3 Exceptions Reporter 2016-04-20 15:39:00 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=163684