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

Ernie Rael updated NETBEANS-4718:
---------------------------------
    Description: 
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.

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.

  was:
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 unknow. The 
first comment

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.


> 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
>             Fix For: Next
>
>
> 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.
> 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.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to