Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 270596 - Exception when creating FXML
Exception when creating FXML
Product: javafx
Classification: Unclassified
Component: Project
PC Linux
: P2 (vote)
: Dev
Assigned To: Svata Dedic
Depends on:
  Show dependency treegraph
Reported: 2017-05-09 06:43 UTC by Svata Dedic
Modified: 2017-05-09 09:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description Svata Dedic 2017-05-09 06:43:30 UTC
Use maven J2SE project (probably not relevant). Create Other/Empty File, use fxml extension. The following exception is thrown:

java.lang.AssertionError: this shall be called just from AWT thread
	at org.netbeans.modules.javafx2.editor.fxml.FXMLOpenAction.init(
	at org.netbeans.modules.javafx2.editor.fxml.FXMLOpenAction.isEnabled(
	at org.netbeans.modules.javafx2.editor.fxml.FXMLDataObject$1.getPreferredAction(
	at org.openide.loaders.TemplateWizard$DefaultIterator.instantiate(
	at org.openide.loaders.TemplateWizard.handleInstantiate(
	at org.openide.loaders.TemplateWizard.instantiateNewObjects(
	at org.openide.loaders.TemplateWizardIterImpl.instantiate(
	at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(
	at org.openide.WizardDescriptor.callInstantiateOpen(
Comment 1 Svata Dedic 2017-05-09 09:40:57 UTC
Fixed in jet-main#02e9cd8e597e

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo