-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
fx2.1.1
The FXMLExample (http://docs.oracle.com/javafx/2/get_started/FXMLExample.zip) from the document http://docs.oracle.com/javafx/2/get_started/jfxpub-get_started.htm throws exception:
Jun 18, 2012 1:51:23 PM javafx.fxml.FXMLLoader logException
SEVERE: The following error occurred at line 71 in file /D:/FX_NB_projects/FXMLExample/build/classes/fxmlexample/fxml_example.fxml[Ljava.lang.StackTraceElement;@12c2163
Exception in Application start method
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.javafx.main.Main.launchApp(Main.java:453)
at com.javafx.main.Main.main(Main.java:537)
Caused by: java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:379)
at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:28)
at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:98)
at java.lang.Thread.run(Thread.java:722)
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:428)
at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:44)
at javafx.fxml.FXMLLoader$Element.applyProperty(FXMLLoader.java:382)
at javafx.fxml.FXMLLoader$Element.processPropertyAttribute(FXMLLoader.java:368)
at javafx.fxml.FXMLLoader$Element.processInstancePropertyAttributes(FXMLLoader.java:123)
at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:524)
at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2050)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:1839)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:1751)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2293)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2285)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2279)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2273)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2268)
at fxmlexample.FXMLExample.start(FXMLExample.java:49)
at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:299)
at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:153)
at com.sun.javafx.application.PlatformImpl$3.run(PlatformImpl.java:120)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
at com.sun.glass.ui.win.WinApplication$2$1.run(WinApplication.java:62)
... 1 more
Jun 18, 2012 1:51:23 PM javafx.fxml.FXMLLoader logException
SEVERE: The following error occurred at line 71 in file /D:/FX_NB_projects/FXMLExample/build/classes/fxmlexample/fxml_example.fxml[Ljava.lang.StackTraceElement;@12c2163
Exception in Application start method
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.javafx.main.Main.launchApp(Main.java:453)
at com.javafx.main.Main.main(Main.java:537)
Caused by: java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:379)
at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:28)
at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:98)
at java.lang.Thread.run(Thread.java:722)
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:428)
at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:44)
at javafx.fxml.FXMLLoader$Element.applyProperty(FXMLLoader.java:382)
at javafx.fxml.FXMLLoader$Element.processPropertyAttribute(FXMLLoader.java:368)
at javafx.fxml.FXMLLoader$Element.processInstancePropertyAttributes(FXMLLoader.java:123)
at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:524)
at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2050)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:1839)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:1751)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2293)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2285)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2279)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2273)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2268)
at fxmlexample.FXMLExample.start(FXMLExample.java:49)
at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:299)
at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:153)
at com.sun.javafx.application.PlatformImpl$3.run(PlatformImpl.java:120)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
at com.sun.glass.ui.win.WinApplication$2$1.run(WinApplication.java:62)
... 1 more