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.
This bug was originally marked as duplicate of bug 220938, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.0 (Build 201403101706) VM: Java HotSpot(TM) 64-Bit Server VM, 24.55-b03, Java(TM) SE Runtime Environment, 1.7.0_55-b13 OS: Linux User Comments: GUEST: Opening an index.gsp page. There's no problem opening this page with a text editor and the application works with grails run-app. Seems the problem is with currencySymbol="\$" Stacktrace: java.lang.IllegalStateException: Lexer org.netbeans.modules.groovy.gsp.lexer.GspLexer@fcdfbe returned null token but lexerInput.readLength()=199 lexer-state: GSTART_TAG_BACKSLASH_EXPR tokenStartOffset=1827, readOffset=2026, lookaheadOffset=2027 Chars: ""\\$" /></td></tr>\n </g:each>\n </table>\n </g:each>\n </div>\n </g:if>\n </div>\n\n </body>\n</html>\n\n" - 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.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:195) at org.netbeans.lib.lexer.inc.IncTokenList.tokenCount(IncTokenList.java:152) at org.netbeans.lib.lexer.TokenListList.scanTokenList(TokenListList.java:149) at org.netbeans.lib.lexer.TokenListList.<init>(TokenListList.java:128)
Created attachment 147178 [details] stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=209600