[ https://issues.apache.org/jira/browse/NETBEANS-4189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17086648#comment-17086648 ]
Tim Hofheins commented on NETBEANS-4189: ---------------------------------------- The image definition is in the primary.fxml file that I attached. I should have sent the jpg files also. I have attached them. They need to be copied to the src/main/resources directory. !Consumer.jpg! !GroganLogo.jpg! > 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 > Attachments: Consumer.jpg, GroganLogo.jpg, primary.fxml > > > 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-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists