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.
[exec] java.lang.IllegalStateException: Lexer org.netbeans.modules.javafx.fxd.composer.lexer.FXDLexer@4a0002 [exec] returned null token but lexerInput.readLength()=2 [exec] lexer-state: null [exec] tokenStartOffset=8, readOffset=10, lookaheadOffset=0 [exec] Chars: "\b" - these characters need to be tokenized. [exec] Fix the lexer to not return null token in this state. [exec] at org.netbeans.lib.lexer.LexerInputOperation.checkLexerInputFinished(LexerInputOperation.java:415) [exec] at org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:192) [exec] at org.netbeans.lib.lexer.BatchTokenList.tokenOrEmbeddingImpl(BatchTokenList.java:175) [exec] at org.netbeans.lib.lexer.BatchTokenList.tokenOrEmbedding(BatchTokenList.java:170) [exec] at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:454) [exec] at org.netbeans.modules.javafx.fxd.composer.editor.parser.FXDSyntaxErrorParser$FXDParserResult.getSyntaxErrors(FXDSyntaxErrorParser.java:107) [exec] at org.netbeans.modules.javafx.fxd.composer.editor.SyntaxErrorsHighlightingTask.run(SyntaxErrorsHighlightingTask.java:76) [exec] at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:654) [exec] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [exec] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [exec] at java.util.concurrent.FutureTask.run(FutureTask.java:138) [exec] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [exec] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [exec] [catch] at java.lang.Thread.run(Thread.java:619)
fixed http://hg.netbeans.org/javafx/rev/88766d87322e I do not know steps to stably reproduce an issue. David, could you please verify if it works well for your case now.
I am not too. It just happens occasionally. Let's consider it fixed and I will file/reopen the issue if it happens again.
commits: http://hg.netbeans.org/javafx/rev/84b7729538bc http://hg.netbeans.org/javafx/rev/8ffbb26f9b62 I is not reproducible for me anymore. please reopen if you meet this exception again.
see also issue 184230. it's fix is also applicable for this issue: http://hg.netbeans.org/javafx/rev/e7700f326805