You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Tomáš Procházka (Jira)" <ji...@apache.org> on 2021/01/02 22:05:00 UTC

[jira] [Resolved] (NETBEANS-4718) NewFile>JavaFX2>EmptyFXML default controller placement causes runtime error

     [ https://issues.apache.org/jira/browse/NETBEANS-4718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomáš Procházka resolved NETBEANS-4718.
---------------------------------------
    Fix Version/s:     (was: Next)
                   12.2
       Resolution: Fixed

Fix was merged.

> NewFile>JavaFX2>EmptyFXML default controller placement causes runtime error
> ---------------------------------------------------------------------------
>
>                 Key: NETBEANS-4718
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4718
>             Project: NetBeans
>          Issue Type: Bug
>          Components: apisupport - Maven, javafx - Project
>    Affects Versions: 12.0
>         Environment: Windows 10
>            Reporter: Anthony Romano
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 12.2
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> The original description, from the "heat of battle", does not describe a bug and without knowing the error, the problem that OP ran into is unknown. The first comment does describe an error generated by using default values from the wizard. Proceeding with fix for that.
> Please file another issue how to reproduce, if there is still a problem.
> {quote}
> In the Maven-based JavaFx project in Netbeans 12.0, the system generated FXML file in the default package of ${Project}\src\main\resources\fxml is not detected and leads to a Runtime exception when the app tries to load the FXML file using the FXMLLoad.load() API. As a workaround the developer needs to copy the FXML file from the aforementioned default directory to the src\main\resources\org\openjfx\${Project} folder so the build process can process this file.
> {quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists