You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Geertjan Wielenga (Jira)" <ji...@apache.org> on 2020/04/18 17:11:00 UTC

[jira] [Commented] (NETBEANS-4189) When I try to run Scenebuilder I get this error "java.io.IOException: javafx.fxml.LoadException"

    [ https://issues.apache.org/jira/browse/NETBEANS-4189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17086537#comment-17086537 ] 

Geertjan Wielenga commented on NETBEANS-4189:
---------------------------------------------

Have you registered the Scene Builder?

You weren’t getting errors in 11.3, instead, you hadn’t added the javafx:run to nbactions, which is done automatically for you in 12.0.

> When I try to run Scenebuilder I get this error "java.io.IOException: javafx.fxml.LoadException"
> ------------------------------------------------------------------------------------------------
>
>                 Key: NETBEANS-4189
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4189
>             Project: NetBeans
>          Issue Type: Bug
>         Environment: Windows 10, HP desktop computer w/ 8Gig of ram, AMD processor
>            Reporter: Tim Hofheins
>            Priority: Major
>
> I am writing a JavaFX application. When I try to open Scenebuilder by right clicking my fxml file and choosing Open I get the above error. The Scenebuilder error log says "Caused by: java.lang.IllegalArgumentException: Invalid URL: Invalid URL or resource not found" This is the Imageview entry in my fxml file: <Image url="Consumer.jpg" />
> I am running Netbeans 12.0 beta 2 with Maven. I received the beta version from you guys because of other errors I was getting with Netbeans 11.3. I put the jpg file in the resources folder. I can run the app with no problems. It's just when I try to bring up Scenebuilder.



--
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