-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
7u40
-
None
-
Any
ALL my FXML files generate a NullPointer Exception when I try to open them.
Recently I reconfigured my project. The FXML files are in the package:
org.ed4becky...
The style sheet is in a resource directory:
resources/styles/stylesheet.css
The FXML file has this line:
<stylesheets>
<URL value="@/resources/styles/evidentia.css" />
</stylesheets>
IN netbeans all the files are under src:
src/org/ed4becky/xxx.fxml
src/resources/styles/stylesheet.css
Everything works great running from Netbeans. Everything works great when this is put into a native package.
Everything blows up when I try to open the FXML in scenebuilder 1.1. Null Pointer Exceptrion. Turns out that this occurs because SB can't find the style sheet?
So two things: 1) SB should tell me it can't find the style sheet, not just close with a NullPointerException
2) what do I need to do so that SB can find the files needed without reconfiguring a project that works everywhere elde?
Recently I reconfigured my project. The FXML files are in the package:
org.ed4becky...
The style sheet is in a resource directory:
resources/styles/stylesheet.css
The FXML file has this line:
<stylesheets>
<URL value="@/resources/styles/evidentia.css" />
</stylesheets>
IN netbeans all the files are under src:
src/org/ed4becky/xxx.fxml
src/resources/styles/stylesheet.css
Everything works great running from Netbeans. Everything works great when this is put into a native package.
Everything blows up when I try to open the FXML in scenebuilder 1.1. Null Pointer Exceptrion. Turns out that this occurs because SB can't find the style sheet?
So two things: 1) SB should tell me it can't find the style sheet, not just close with a NullPointerException
2) what do I need to do so that SB can find the files needed without reconfiguring a project that works everywhere elde?
- is blocked by
-
JDK-8123729 FXML loader: bad exception returned in case of incorrect URL
-
- Resolved
-