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 175098

Summary: AssertionError at org.netbeans.modules.javafx.source.parsing.JavaFXParserTask.run
Product: javafx Reporter: Lukas Hasik <lhasik>
Component: EditorAssignee: Petr Nejedly <pnejedly>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=160427
Issue Type: DEFECT Exception Reporter: 160427
Attachments: stacktrace

Description Lukas Hasik 2009-10-21 12:27:17 UTC
Build: NetBeans IDE 6.8 Beta (Build 200910202101)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.1-b02-92, Java(TM) SE Runtime Environment, 1.6.0_15-b03-226
OS: Mac OS X, 10.5.8, x86_64

User Comments:
lhasik: -start full NB with fresh dir
-create fx project
-deactivate FX
-IDE restarts -> exception appears

ca: deleted WeatherFXApplication sample



Stacktrace: 
java.lang.AssertionError
        at org.netbeans.modules.javafx.source.parsing.JavaFXParserTask.run(JavaFXParserTask.java:60)
        at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:129)
        at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:113)
        at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:190)
        at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:99)
        at org.netbeans.api.javafx.source.JavaFXParserResult.create(JavaFXParserResult.java:82)
Comment 1 Lukas Hasik 2009-10-21 12:27:22 UTC
Created attachment 89852 [details]
stacktrace
Comment 2 Adam Sotona 2009-10-21 12:40:45 UTC
questions are: How can be some JavaFX module active after deactivation?
Does deactivation deactivate all modules?
Comment 3 Lukas Hasik 2009-10-21 13:10:34 UTC
:) good question. After playing with this scenario for a while - it seems that Java FX "cannot" be enabled by the
ergonomics in full IDE's Plugins > Installed tab. The reason is most probably the JavaFX SDK that stay in Java Platforms
forever. 

There is only one way how to deactivate the FX in full IDE. Go to Plugins > Installed tab, select "Show Details" and
THEN select the Fx modules. Only in this case they are deactivated. 
Comment 4 Anton Chechel 2010-03-10 09:28:29 UTC
fx source - petr
Comment 5 J Bachorik 2010-03-18 15:55:36 UTC
ErrorAnnotator has been replaced with ErrorsCache. This issue seems not to be reproducable any more.
Comment 6 Alexandr Scherbatiy 2010-05-12 09:06:26 UTC
verified in netbeans-trunk-nightly-201005112200-javafx-full-windows.exe