[ https://issues.apache.org/jira/browse/NETBEANS-4190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Geertjan Wielenga closed NETBEANS-4190. --------------------------------------- Resolution: Invalid > Running Scenebuilder I get this error "java.io.IOException: > javafx.fxml.LoadException" > -------------------------------------------------------------------------------------- > > Key: NETBEANS-4190 > URL: https://issues.apache.org/jira/browse/NETBEANS-4190 > 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, Myprimary.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" > I am running Netbeans 12.0 beta 2 with Maven. > Here are the step by step instructions. > 1. Download and install Scenebuilder > 2. In netbeans choose Tools->Options->Java->JavaFX > 3. Browse to c:/program files/Scenebuilder and add it > 4. From File choose New Project > 5. Choose Java with Maven->FXML JavaFX Maven Archetype (Gluon) > 6. Press Next > 7. Name the project TestURL > 8. Press Finish > 9. Expand TestURL > 10. Expand Other Sources > 11. Expand src/main/resources > 12. Expand com.mycompany.testurl > 13. Right click on primary.fxml and choose Edit > 14. Run Notepad > 15. Open the Myprimary.fxml file that I attached > 16. Replace the contents of your Netbeans primary.fxml file with the contents > of the Myprimary.fxml file. > 17. Save the Netbeans primary.fxml file > 18. Copy the two jpg files I attached to c:/users/<your > user>/Documents/NetbeansProjects/TestURL/src/main/resources folder. > 19. Right click on the Netbeans primary.fxml file and choose Open > 20. The error window comes up -- 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