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 270431 - IllegalArgumentException: Token id must not be null. Fix lexer org.netbeans.freemarker.lexer.FTLLexer@60e5a66a
Summary: IllegalArgumentException: Token id must not be null. Fix lexer org.netbeans.f...
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Lexer (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-18 13:13 UTC by terje7601
Modified: 2017-04-18 13:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 226208


Attachments
stacktrace (5.25 KB, text/plain)
2017-04-18 13:13 UTC, terje7601
Details

Note You need to log in before you can comment on or make changes to this bug.
Description terje7601 2017-04-18 13:13:28 UTC
Build: NetBeans IDE Dev (Build 201703100002)
VM: OpenJDK 64-Bit Server VM, 25.121-b14, OpenJDK Runtime Environment, 1.8.0_121-b14
OS: Linux

User Comments:
GUEST: Trying to use the += assignment operator in a FTL file.  The editor won't let me type it due to the exception.

terje7601: Trying to replace &lt; with <

GUEST: I typed " (quotation mark) in an .ftl-File and the Exception occured. It happens all the time now...
Does not happen for ' (single quotation mark)




Stacktrace: 
java.lang.IllegalArgumentException: Token id must not be null. Fix lexer org.netbeans.freemarker.lexer.FTLLexer@60e5a66a
   at org.netbeans.lib.lexer.LexerInputOperation.checkTokenIdNonNull(LexerInputOperation.java:309)
   at org.netbeans.lib.lexer.LexerInputOperation.createToken(LexerInputOperation.java:314)
   at org.netbeans.spi.lexer.TokenFactory.createToken(TokenFactory.java:105)
   at org.netbeans.freemarker.lexer.FTLLexer.nextToken(FTLLexer.java:94)
   at org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:216)
   at org.netbeans.lib.lexer.inc.TokenListUpdater.relex(TokenListUpdater.java:627)
Comment 1 terje7601 2017-04-18 13:13:31 UTC
Created attachment 164136 [details]
stacktrace