badvision / lawless-legends

Open-source code and assets from Lawless Legends and its supporting tools
Apache License 2.0
67 stars 15 forks source link

Outlaw crash on startup - missing file? #9

Closed martinhaye closed 10 years ago

martinhaye commented 10 years ago

Built Outlaw this morning and each time I start it I get the following stack trace as it crashes. Perhaps a "stylesheets" file wasn't checked in?

Property "stylesheets" does not exist or is read-only. /Users/mhaye/Dropbox/Apple%20II/Projects/Lawless%20Legends/repo/OutlawEditor/target/classes/mapEditorTab.fxml:7 /Users/mhaye/Dropbox/Apple%20II/Projects/Lawless%20Legends/repo/OutlawEditor/target/classes/ApplicationUI.fxml:23 at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:423) at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:37) at javafx.fxml.FXMLLoader$Element.applyProperty(FXMLLoader.java:464) at javafx.fxml.FXMLLoader$Element.processPropertyAttribute(FXMLLoader.java:287) at javafx.fxml.FXMLLoader$Element.processInstancePropertyAttributes(FXMLLoader.java:195) at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:586) at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2430) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2136) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2028) at javafx.fxml.FXMLLoader$IncludeElement.constructValue(FXMLLoader.java:936) at javafx.fxml.FXMLLoader$ValueElement.processStartElement(FXMLLoader.java:565) at javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2314) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2131) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2028) at org.badvision.outlaweditor.Application.start(Application.java:49) at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319) at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:215) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:176) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:176) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)

Property "stylesheets" does not exist or is read-only. /Users/mhaye/Dropbox/Apple%20II/Projects/Lawless%20Legends/repo/OutlawEditor/target/classes/mapEditorTab.fxml:7 /Users/mhaye/Dropbox/Apple%20II/Projects/Lawless%20Legends/repo/OutlawEditor/target/classes/ApplicationUI.fxml:23 at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:423) at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:37) at javafx.fxml.FXMLLoader$Element.applyProperty(FXMLLoader.java:464) at javafx.fxml.FXMLLoader$Element.processPropertyAttribute(FXMLLoader.java:287) at javafx.fxml.FXMLLoader$Element.processInstancePropertyAttributes(FXMLLoader.java:195) at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:586) at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2430) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2136) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2028) at javafx.fxml.FXMLLoader$IncludeElement.constructValue(FXMLLoader.java:936) at javafx.fxml.FXMLLoader$ValueElement.processStartElement(FXMLLoader.java:565) at javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2314) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2131) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2028) at org.badvision.outlaweditor.Application.start(Application.java:49) at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319) at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:215) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:176) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:176) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)

Exception in Application start method Exception in thread "main" java.lang.RuntimeException: Exception in Application start method at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:403) at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:47) at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:115) at java.lang.Thread.run(Thread.java:724) Caused by: com.sun.javafx.fxml.PropertyNotFoundException: Property "stylesheets" does not exist or is read-only. at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:423) at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:37) at javafx.fxml.FXMLLoader$Element.applyProperty(FXMLLoader.java:464) at javafx.fxml.FXMLLoader$Element.processPropertyAttribute(FXMLLoader.java:287) at javafx.fxml.FXMLLoader$Element.processInstancePropertyAttributes(FXMLLoader.java:195) at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:586) at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2430) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2136) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2028) at javafx.fxml.FXMLLoader$IncludeElement.constructValue(FXMLLoader.java:936) at javafx.fxml.FXMLLoader$ValueElement.processStartElement(FXMLLoader.java:565) at javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2314) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2131) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2028) at org.badvision.outlaweditor.Application.start(Application.java:49) at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319) at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:215) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:176) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:176)

at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)

BUILD FAILURE

Total time: 5.846s Finished at: Sun Jun 01 07:29:28 PDT 2014

Final Memory: 5M/22M

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project OutlawEditor: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch. Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

badvision commented 10 years ago

I'll have a look. I probably forgot to vet my changes with a clean and build before checking in. Doh! On Jun 1, 2014 9:34 AM, "Martin Haye" notifications@github.com wrote:

Built Outlaw this morning and each time I start it I get the following stack trace as it crashes. Perhaps a "stylesheets" file wasn't checked in?

Property "stylesheets" does not exist or is read-only.

/Users/mhaye/Dropbox/Apple%20II/Projects/Lawless%20Legends/repo/OutlawEditor/target/classes/mapEditorTab.fxml:7

/Users/mhaye/Dropbox/Apple%20II/Projects/Lawless%20Legends/repo/OutlawEditor/target/classes/ApplicationUI.fxml:23 at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:423) at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:37) at javafx.fxml.FXMLLoader$Element.applyProperty(FXMLLoader.java:464) at javafx.fxml.FXMLLoader$Element.processPropertyAttribute(FXMLLoader.java:287) at javafx.fxml.FXMLLoader$Element.processInstancePropertyAttributes(FXMLLoader.java:195) at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:586) at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2430) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2136) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2028) at javafx.fxml.FXMLLoader$IncludeElement.constructValue(FXMLLoader.java:936) at javafx.fxml.FXMLLoader$ValueElement.processStartElement(FXMLLoader.java:565) at javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2314) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2131) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2028) at org.badvision.outlaweditor.Application.start(Application.java:49) at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319) at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:215) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:176) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:176) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)

Property "stylesheets" does not exist or is read-only.

/Users/mhaye/Dropbox/Apple%20II/Projects/Lawless%20Legends/repo/OutlawEditor/target/classes/mapEditorTab.fxml:7

/Users/mhaye/Dropbox/Apple%20II/Projects/Lawless%20Legends/repo/OutlawEditor/target/classes/ApplicationUI.fxml:23 at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:423) at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:37) at javafx.fxml.FXMLLoader$Element.applyProperty(FXMLLoader.java:464) at javafx.fxml.FXMLLoader$Element.processPropertyAttribute(FXMLLoader.java:287) at javafx.fxml.FXMLLoader$Element.processInstancePropertyAttributes(FXMLLoader.java:195) at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:586) at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2430) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2136) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2028) at javafx.fxml.FXMLLoader$IncludeElement.constructValue(FXMLLoader.java:936) at javafx.fxml.FXMLLoader$ValueElement.processStartElement(FXMLLoader.java:565) at javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2314) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2131) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2028) at org.badvision.outlaweditor.Application.start(Application.java:49) at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319) at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:215) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:176) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:176) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)

Exception in Application start method Exception in thread "main" java.lang.RuntimeException: Exception in Application start method at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:403) at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:47) at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:115) at java.lang.Thread.run(Thread.java:724) Caused by: com.sun.javafx.fxml.PropertyNotFoundException: Property "stylesheets" does not exist or is read-only. at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:423) at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:37) at javafx.fxml.FXMLLoader$Element.applyProperty(FXMLLoader.java:464) at javafx.fxml.FXMLLoader$Element.processPropertyAttribute(FXMLLoader.java:287) at javafx.fxml.FXMLLoader$Element.processInstancePropertyAttributes(FXMLLoader.java:195) at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:586) at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2430) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2136) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2028) at javafx.fxml.FXMLLoader$IncludeElement.constructValue(FXMLLoader.java:936) at javafx.fxml.FXMLLoader$ValueElement.processStartElement(FXMLLoader.java:565) at javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2314) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2131) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2028) at org.badvision.outlaweditor.Application.start(Application.java:49) at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319) at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:215) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:176) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:176) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76) BUILD FAILURE

Total time: 5.846s Finished at: Sun Jun 01 07:29:28 PDT 2014 Final Memory: 5M/22M

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project OutlawEditor: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch. Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

— Reply to this email directly or view it on GitHub https://github.com/badvision/lawless-legends/issues/9.

badvision commented 10 years ago

Ok, I figured it out. During the mega refactoring and UI cleanup, the new Scene Builder app for Java 8 rewrote all the UI files to support the new Java 8 features -- which is good but unfortunately that also means that in order to use Outlaw Editor, you have to now use Java 8. :-/ Sorry about that.

8bitweapon commented 10 years ago

I installed java runtime 8 :)

On Fri, Jun 6, 2014 at 11:36 PM, Brendan Robert notifications@github.com wrote:

Ok, I figured it out. During the mega refactoring and UI cleanup, the new Scene Builder app for Java 8 rewrote all the UI files to support the new Java 8 features -- which is good but unfortunately that also means that in order to use Outlaw Editor, you have to now use Java 8. :-/ Sorry about that.

— Reply to this email directly or view it on GitHub https://github.com/badvision/lawless-legends/issues/9#issuecomment-45402699 .

Seth Sternberger www.8bitweapon.com www.ComputeHer.com