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

Summary: IllegalArgumentException: Token id must not be null. Fix lexer org.netbeans.freemarker.lexer.FTLLexer@60e5a66a
Product: editor Reporter: terje7601
Component: LexerAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 226208
Attachments: stacktrace

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