B4J Question WebSocketClient NoClassDefFoundError

Blueforcer

Well-Known Member
Licensed User
Longtime User
Hello,
im using the jWebSocketClient on my NonUI Serverapplication.
It runs fine on my PC but on raspberry i get this error:


B4X:
java.lang.RuntimeException: java.lang.NoClassDefFoundError: javafx/beans/value/ChangeListener
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:120)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:78)
    at de.awtrix.main.main(main.java:28)
Caused by: java.lang.NoClassDefFoundError: javafx/beans/value/ChangeListener
    at de.awtrix.main._vvvvvvvvvvvvvvvvvv5(main.java:992)
    at de.awtrix.main._appstart(main.java:195)
    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:497)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:91)
    ... 2 more
Caused by: java.lang.ClassNotFoundException: javafx.beans.value.ChangeListener
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 9 more

java.lang.NullPointerException
   at anywheresoftware.b4j.object.WebSocketModule$Adapter$ThreadHandler.run(WebSocketModule.java:191)
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   at java.lang.Thread.run(Thread.java:745)


Does this websocketclient use any javaFX related functions?
 
Top