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

[jira] [Commented] (NETBEANS-4190) Running Scenebuilder I get this error "java.io.IOException: javafx.fxml.LoadException"

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

Tim Hofheins commented on NETBEANS-4190:
----------------------------------------

This is the same issue as NETBEANS-4189. I was told to close that issue and open a new one so that I could describe more detailed step by step instructions of how to duplicate the problem. That is what I have done. Thank you for your help.

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