[Error] flow API

102 views
Skip to first unread message

Riahi Karim

unread,
Dec 7, 2014, 6:45:55 AM12/7/14
to dataf...@googlegroups.com
Hello,
I got these errors when i build / run  the tutorial 1 from samples project . I am using NETBEANS 8 with jdk8

Executing C:\Users\maison\Documents\NetBeansProjects\flow\dist\run1580906997\flow.jar using platform C:\Program Files\Java\jdk1.8.0_20\jre/bin/java
Exception in Application start method
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:363)
at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:303)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767)
Caused by: java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:875)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$147(LauncherImpl.java:157)
at com.sun.javafx.application.LauncherImpl$$Lambda$48/752848266.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: javassist/util/proxy/MethodHandler
at org.datafx.controller.injection.InjectResourceType.getResource(InjectResourceType.java:16)
at org.datafx.controller.injection.InjectResourceType.getResource(InjectResourceType.java:11)
at org.datafx.controller.context.ContextResolver.injectResources(ContextResolver.java:37)
at org.datafx.controller.ViewFactory.createByController(ViewFactory.java:115)
at org.datafx.controller.flow.FlowHandler.start(FlowHandler.java:136)
at org.datafx.samples.masterdetail.MasterDetailApp.start(MasterDetailApp.java:56)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$153(LauncherImpl.java:821)
at com.sun.javafx.application.LauncherImpl$$Lambda$51/1124707888.run(Unknown Source)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$166(PlatformImpl.java:323)
at com.sun.javafx.application.PlatformImpl$$Lambda$45/584634336.run(Unknown Source)
at com.sun.javafx.application.PlatformImpl.lambda$null$164(PlatformImpl.java:292)
at com.sun.javafx.application.PlatformImpl$$Lambda$47/560595049.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$165(PlatformImpl.java:291)
at com.sun.javafx.application.PlatformImpl$$Lambda$46/501263526.run(Unknown Source)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$141(WinApplication.java:102)
at com.sun.glass.ui.win.WinApplication$$Lambda$37/96639997.run(Unknown Source)
... 1 more
Caused by: java.lang.ClassNotFoundException: javassist.util.proxy.MethodHandler
at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 20 more
Exception running application org.datafx.samples.masterdetail.MasterDetailApp
Java Result: 1

Please respond.

Hendrik Ebbers

unread,
Dec 21, 2014, 10:00:33 AM12/21/14
to dataf...@googlegroups.com
Hi,

as you can see here (http://www.guigarage.com/2014/10/datafx-8-released/) some of the DataFX modules has additional external dependencies. When using maven, gradle or ivy these dependencies will be resolved automatically. If you add the DataFX to your project by hand you need to add the additional jars, too.

Riahi Karim

unread,
Dec 24, 2014, 7:13:58 PM12/24/14
to dataf...@googlegroups.com
There is an example which i cannot run :/ (additionnal jars are in libs)

DemoApp.rar
Reply all
Reply to author
Forward
0 new messages