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 254644 - IllegalStateException: Lexer org.netbeans.modules.el.lexer.ELLexer@5892de82 returned null token but lexerInput.readLength()=1 lexer-state: org.netbeans.modules.el.lexer.ELState@35a tokenStartOff
Summary: IllegalStateException: Lexer org.netbeans.modules.el.lexer.ELLexer@5892de82 ...
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Lexer (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-24 09:38 UTC by Maksim Khramov
Modified: 2017-10-11 14:32 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 219382


Attachments
stacktrace (5.51 KB, text/plain)
2015-08-24 09:38 UTC, Maksim Khramov
Details
stacktrace (5.52 KB, text/plain)
2015-12-30 07:29 UTC, sai350
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Khramov 2015-08-24 09:38:45 UTC
This bug was originally marked as duplicate of bug 240826, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201508240002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b09, Java(TM) SE Runtime Environment, 1.8.0_66-b09
OS: Windows 7

User Comments:
mkhramov: Edit JSF XHTML File. Enter \ inside empty JSF EL expression #{}.




Stacktrace: 
java.lang.IllegalStateException: Lexer org.netbeans.modules.el.lexer.ELLexer@5892de82
  returned null token but lexerInput.readLength()=1
  lexer-state: org.netbeans.modules.el.lexer.ELState@35a
  tokenStartOffset=359, readOffset=360, lookaheadOffset=361
  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:457)
   at org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:217)
   at org.netbeans.lib.lexer.inc.TokenListUpdater.relex(TokenListUpdater.java:627)
   at org.netbeans.lib.lexer.inc.TokenListUpdater.updateRegular(TokenListUpdater.java:280)
   at org.netbeans.lib.lexer.inc.TokenHierarchyUpdate$UpdateItem.update(TokenHierarchyUpdate.java:350)
   at org.netbeans.lib.lexer.inc.TokenHierarchyUpdate.processLevelInfos(TokenHierarchyUpdate.java:225)
Comment 1 Maksim Khramov 2015-08-24 09:38:47 UTC
Created attachment 155573 [details]
stacktrace
Comment 2 Exceptions Reporter 2015-12-13 11:58:42 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=219382
Comment 3 sai350 2015-12-30 07:29:01 UTC
Created attachment 157949 [details]
stacktrace

Some times list is not populated for the selected item