Jobs cannot be loaded if the project is inside a directory with a space in its name
So I constantly ran into this error:
INFO [2016-05-18 13:20:15,003] org.quartz.classloading.CascadingClassLoadHelper: Package: 'nl.glu.voteapp.jobs' becomes Resource: 'file:/E:/Development/Studenten%20App/glu-app-backend/target/classes/nl/glu/voteapp/jobs'
ERROR [2016-05-18 13:20:15,006] org.knowm.sundial.ee.SundialInitializerListener: Sundial Scheduler failed to initialize:
! java.lang.NullPointerException: null
Then I removed the space in the directory name and it worked. I guess the fix is to not encode the directory path so that it doesn't add the %20 but instead uses a normal space.
I've seen this before, and I think was fixed somewhere else in the code. I'll look into it.
OK, fix pushed. please try snapshot jar.
I am still getting this error using the latest version (1.3.1). I am on Windows and my username contains spaces. My project folder resides in "C:\Users\User Name With Spaces\Documents".
I tried moving the project folder to root a.k.a. " C:\ " and the problem went away.
If you can take another look at this issue, I'll be happy to test and verify a fix.
Thanks for a great project!