-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running daemon with Version 2.0 ends in NullPointerException #11
Comments
How have you started the musicsync? It seems like it did not detect any fitting input plugin. |
I've got the same problem. Running
I also tried to debug |
Hi @paschmal, |
I´ve experienced the same problem that no plugins were loaded. I started the application via the script: |
I run the same command as @matthiaslau using |
Is there an solution for this? I have the same issue... |
What JDK version do you use? It seems to be an issue with reflections |
[~/src/music-sync/package/target/output]$ java -cp musicsync-application-2.0-SNAPSHOT.jar:musicsync-plugins-input-spotify-2.0-SNAPSHOT.jar:musicsync-plugins-output-filesystem-2.0-SNAPSHOT.jar:musicsync-plugins-output-toniebox-2.0-SNAPSHOT.jar:musicsync-plugins-output-toniebox-2.0-SNAPSHOT.jar rocks.voss.musicsync.Application --input "spotify:playlist:ZZZ" --output "toniebox:XXX:YYY" [~/src/music-sync/package/target/output]$ java -version Its an Ubuntu 18.04 derivative. |
Thanks for confirmation. It seems to be a Java 9+ issue as the module management with Jigsaw has changed which prevents easy reflection. I will have a look to get this resolved. |
Hi everyone, I tried to set up this project this weekend and ran into this same issue. Thanks for the note, that this is related to the java version. I downgraded to version 8 for testing (https://askubuntu.com/questions/1133216/downgrading-java-11-to-java-8) and got rid of this.
|
Code was merged and it should work now on JDK8 |
I have tested the refactored Version 2.0 on my RPI. But if i am starting the daemon, it ends in NullpointerExceptions every ms.
Does somebody else have this problem as well? @maximilianvoss any idea?
The text was updated successfully, but these errors were encountered: