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 122299 - Exception after adding comment
Summary: Exception after adding comment
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Alexei Mokeev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-19 15:20 UTC by Mikhail Kondratyev
Modified: 2007-11-22 15:43 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 Mikhail Kondratyev 2007-11-19 15:20:39 UTC
Steps to reproduce:
 - create a new JavaFX Application
 - place cursor below the 'add you code here' comment
 - type /* 
 - Exception will be thrown:
Annotation: An error occurred during parsing of
'/home/mikhail/NetBeansProjects/JavaFXApplication1/src/javafxapplication1/Main.fx'. Please report a bug against ruby and
attach dump file '/home/mikhail/.netbeans/dev/var/log/Main_16.dump'.
Annotation: An error occurred during parsing of
'/home/mikhail/NetBeansProjects/JavaFXApplication1/src/javafxapplication1/Main.fx'. Please report a bug against ruby and
attach dump file '/home/mikhail/.netbeans/dev/var/log/Main_16.dump'.
An error occurred during parsing of '/home/mikhail/NetBeansProjects/JavaFXApplication1/src/javafxapplication1/Main.fx'.
Please report a bug against ruby and attach dump file '/home/mikhail/.netbeans/dev/var/log/Main_16.dump'.
An error occurred during parsing of '/home/mikhail/NetBeansProjects/JavaFXApplication1/src/javafxapplication1/Main.fx'.
Please report a bug against ruby and attach dump file '/home/mikhail/.netbeans/dev/var/log/Main_16.dump'.
Caused: net.java.javafx.typeImpl.completion.TokenMgrError: Lexical error at line 20, column 3.  Encountered: <EOF> after
: ""
	at net.java.javafx.typeImpl.completion.CompletionParserTokenManager.getNextToken(CompletionParserTokenManager.java:2078)
	at net.java.javafx.typeImpl.completion.CompletionParser.getNextToken(CompletionParser.java:13793)
	at org.netbeans.modules.javafx.parser.FXParser.fillResultsForFolding(FXParser.java:366)
	at org.netbeans.modules.javafx.parser.FXParser.parseFiles(FXParser.java:228)
	at org.netbeans.napi.gsfret.source.Source.moveToPhase(Source.java:880)
	at org.netbeans.napi.gsfret.source.Source$CompilationJob.run(Source.java:1192)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
[catch] at java.lang.Thread.run(Thread.java:619)
Comment 1 Mikhail Kondratyev 2007-11-19 16:17:47 UTC
Same after typing \\
Comment 2 Alexandr Scherbatiy 2007-11-21 15:02:56 UTC
The issue is not reproduced in NetBeans 5.5
Comment 3 Oleg Barbashov 2007-11-22 11:39:16 UTC
Fixed.
Comment 4 Alexandr Scherbatiy 2007-11-22 15:43:16 UTC
verified