0
Fixed
[ 2.0 ] java.lang.NoClassDefFoundError: javafx/fxml/Initializable
Hi,
Got this java error while trying to start Ubooquity 2.0 :
root@jayjay:/opt/ubooquity$ java -Dfile.encoding=UTF-8 -jar Ubooquity.jar -webadmin -headless -port 2202
java.lang.NoClassDefFoundError: javafx/fxml/Initializable
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at com.ubooquity.e.a.d(SourceFile:597)
at com.ubooquity.e.a.loadClass(SourceFile:962)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
at java.lang.Class.getMethod0(Class.java:3018)
at java.lang.Class.getMethod(Class.java:1784)
at com.ubooquity.e.a.a(SourceFile:802)
at com.ubooquity.Launcher.main(SourceFile:10)
Caused by: java.lang.ClassNotFoundException: Failure to load: javafx.fxml.Initializable
at com.ubooquity.e.a.loadClass(SourceFile:992)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 12 more
On the same server that host Ubooquity 1.10.1. Any idea ?
zer.
Customer support service by UserEcho
I'm seeing the same thing, except I was just trying to run the --help option.
I read the doc :D , but no more luck with an updated command line :
java -jar Ubooquity.jar --headless --libraryport 2202 --adminport 2502 --remoteadmin --workdir /config
I got the same error
Could you try with the following jar and let me know if it changed something ?
http://vaemendis.net/ubooquity/downloads/special/SimpletofMars/Ubooquity.jar
Same error for me
I got the same error too, with the first file and the last file.
I don't know if it is important, but I use it on my NAS with Docker.
I'm getting this too.
I had this problem too on my Ubuntu 16.04 install with Oracle Java 8. I installed Oracle Java 9 and that fixed it :)
Guide here if needed: http://tipsonubuntu.com/2016/07/31/install-oracle-java-8-9-ubuntu-16-04-linux-mint-18/
Same error for me with java 9 :
# java --version
See my post. I wrote ORACLE java, not openJDK. They are not the same.
Just tried with Oracle java 9 and I got another error :
java.lang.NumberFormatException: For input string: ""
at com.ubooquity.Launcher.main(SourceFile:10)
I am also using the .jar linked by Tom above. Try that one. Other than that I can't help you, it's working fine for me. Even older themes seem to be working as I'm running a customised material-theme that I was previously using with 1.10.
I fully re-install my server as you said : Ubuntu 16.04 & Oracle Java 9 and Ubboquity's last jar from Tom. And ...
A great set is done : Ubooquity is running !
But ... I got an error 500 while accessing the admin interface :
HTTP ERROR 500
Problem accessing /. Reason:
Powered by Jetty:// 9.4.0.v20161208
There are stille java errors though... Here are the complete Ubooquity logs :
Caught and handled this exception :
This is how I launch (replace #### with portnumbers)
Also to reach the admin page: http://ipadress:##/admin
My bad... I guessed that as there is a specific port for admin page, it was accessible through /.
it is working through /admin !
Thanks @SwedishGojira
So it means i can't use it on a synology if you need java 9 ?
I tried with java8 and no luck, it wouldn't start while the previous version of ubooquity is working smoothly.
It's a community solution, not an official one.
Also, keep in mind that's it's a beta version.
Wait for an official announce from @Tom.
Some info (but no definitive solution) and advices:
* Forget about Java 9: the final version is not out yet (planned for end of July, if not postponed again), and you will gain nothing by using it (except some new bugs and incompatibilities with libraries used by Ubooquity).
* Ubooquity 2.0.0 desktop UI has been rewritten using the new Java UI framework JavaFX (which replaces the old one: Swing). Apparently, the libraries of this framework are not present in all JDK/JRE. They especially seems to be missing from OpenJDK versions. To run Ubooquity, you should use an Oracle JDK or JRE (by the way, a JRE is enough, though a JDK is fine too).
* The version linked in the 2.0.0 release article contains a bug: Ubooquity tries to load some graphical components event when started in "headless" mode. It might cause crashes on some setups. Hence the fixed version I posted earlier in this thread:
http://vaemendis.net/ubooquity/downloads/special/SimpletofMars/Ubooquity.jar
So if you run on an Oracle Java 8 JDK/JRE and still have the "fixed" version of Ubooquity crashing at startup, please post a message below with details on your setup (precise Java version, OS and hardware type (NAS, PC...)).
Don't hesitate to also let me know if it's working for you. ;)
I'm having the same log bug but the issue is as i launch the command in a ssh window it automatically closes the window... Where can i find the java log on a synology ?
Also i was using your fixed Ubooquity.jar
My setup :
Java version : ejdk-8u121-linux-i586.tar.gz
Java path : /var/packages/java8/target/ejdk1.8.0_121/linux_i586/jre/bin/java
OS : DSM 5.2 5967 Update 2 (on a Xpenology)
Hardware : HP Proliant N54L (4 GB RAM)
Command Line for the launch of Ubooquity 1
exec /var/packages/java8/target/ejdk1.8.0_121/linux_i586/jre/bin/java -jar -Xmx512m /var/packages/Ubooquity/Ubooquity.jar -port 2202 -webadmin -workdir "/volume1/Ubooquity"
Command Line for the launch of Ubooquity 2
exec /var/packages/java8/target/ejdk1.8.0_121/linux_i586/jre/bin/java -jar -Xmx512m /var/packages/Ubooquity2/Ubooquity2.jar --libraryport 2203 --adminport 2204 --remoteadmin --headless --workdir "/volume1/Ubooquity2"
Soooo... Oracle embedded Java versions do not include JavaFX either. Great ! :D
Anyway, I think I found the solution.
Try this one and let me know how it goes:
http://vaemendis.net/ubooquity/downloads/special/beta4/Ubooquity.jar
Don't forget to use the "--headless" flag, or it won't work.
This solved it for me, even still using openjdk. Thanks!
Yeah!!! Thanks it seems to be working, i can access the admin page and im currently configuring it.
However i have a little question, i always wondered for the exclusion pattern, should they be comma separated ?
I currently use this :
but @eaDir still shows up (annoying folders created by synology...)
Try
I also simplified exclusion pattern in 2.0.0, but I think I forgot to write about it.
thanks a lot !
(However the opds still only presents folder, all comics or latest comics ? I thought i had read we would be able to use series and such as filters in opds)
One day possibly, but it's not done yet (I still need to sleep sometimes ;) ).
Sure i'm already so thankful for your hard free work.
Confirmed, it works without ANY error with the following configuration :
Alpine linux with java 8.
I made a docker repo for this version : docker pull zerpex/ubooquity-docker