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 183365 - ISE when closing mediaplayer1.fxz file editor
Summary: ISE when closing mediaplayer1.fxz file editor
Status: RESOLVED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Andrew Korostelev
URL:
Keywords:
Depends on:
Blocks: 182373
  Show dependency tree
 
Reported: 2010-04-01 16:11 UTC by David Kaspar
Modified: 2010-04-21 14:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Kaspar 2010-04-01 16:11:03 UTC
[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)
Comment 1 Andrew Korostelev 2010-04-02 11:24:15 UTC
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.
Comment 2 David Kaspar 2010-04-02 12:03:32 UTC
I am not too. It just happens occasionally. Let's consider it fixed and I will file/reopen the issue if it happens again.
Comment 3 Andrew Korostelev 2010-04-05 12:22:15 UTC
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.
Comment 4 Andrew Korostelev 2010-04-21 14:36:38 UTC
see also issue 184230.
it's fix is also applicable for this issue: http://hg.netbeans.org/javafx/rev/e7700f326805