I've made an update to address an issue I was seeing with NPEs.

Avoid NPE by only setting username and password if not null.
Specifying Java version for compilation's sake.
Using latest version of Quartz.