Hi ,

This is regarding a strange issue which we are getting .

We have scheduled few KTL jobs via pentaho data integration server . Later removed one of the job from the scheduling window . But now we get frequent errors in tomcat logs saying error occurred while marking executed job complete , but the same job/schedule is removed and not available in quartz database as well

Any help would be highly appreciated ?

ERROR [ErrorLogger] An error occured while marking executed job complete (will continue attempts). job= '*************************'
org.quartz.JobPersistenceException: Failed to obtain DB connection from data source '*****************': java.lang.NullPointerException [See nested exception: java.lang.NullPointerException]
at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:690)
at org.quartz.impl.jdbcjobstore.JobStoreTX.getNonManagedTXConnection(JobStoreTX.java:69)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3732)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3704)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.triggeredJobComplete(JobStoreSupport.java:2953)
at org.quartz.core.QuartzScheduler.notifyJobStoreJobComplete(QuartzScheduler.java:1698)
at org.quartz.core.JobRunShell.completeTriggerRetryLoop(JobRunShell.java:394)
at org.quartz.core.JobRunShell.run(JobRunShell.java:276)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)
Caused by: java.lang.NullPointerExceptionERROR [ErrorLogger] An error occured while marking executed job complete (will continue attempts). job= '***********************'
org.quartz.JobPersistenceException: Failed to obtain DB connection from data source '***********'': java.lang.NullPointerException [See nested exception: java.lang.NullPointerException]
at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:690)
at org.quartz.impl.jdbcjobstore.JobStoreTX.getNonManagedTXConnection(JobStoreTX.java:69)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3732)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3704)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.triggeredJobComplete(JobStoreSupport.java:2953)
at org.quartz.core.QuartzScheduler.notifyJobStoreJobComplete(QuartzScheduler.java:1698)
at org.quartz.core.JobRunShell.completeTriggerRetryLoop(JobRunShell.java:394)
at org.quartz.core.JobRunShell.run(JobRunShell.java:276)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)
Caused by: java.lang.NullPointerException