added patch for NPE suggested here : http://www.nabble.com/Question-about-QuartzEndpoint.java-tp17745769s22882p17745769.html