Bug 270596 - Exception when creating FXML
Exception when creating FXML
Status: RESOLVED FIXED
Product: javafx
Classification: Unclassified
Component: Project
Dev
PC Linux
: P2 (vote)
: Dev
Assigned To: Svata Dedic
issues@javafx
:
Depends on:
Blocks:
  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
:


Attachments

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(FXMLOpenAction.java:107)
	at org.netbeans.modules.javafx2.editor.fxml.FXMLOpenAction.isEnabled(FXMLOpenAction.java:123)
	at org.netbeans.modules.javafx2.editor.fxml.FXMLDataObject$1.getPreferredAction(FXMLDataObject.java:83)
	at org.openide.loaders.TemplateWizard$DefaultIterator.instantiate(TemplateWizard.java:923)
	at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:605)
	at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:439)
	at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:248)
	at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:160)
	at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1629)
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