org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: plaut.jfos.framework.shared.JfosSystemException: Couldn't update misfired trigger 'ORSR_CORWIN.6BmNugrJRPaoULS42pjFEw': nu ll]

Terracotta Project Issue Tracker | Robert Kristofic | 3 years ago
  1. 0

    We have 4 tomcat nodes in cluster. NullPointerException is thrown on this line in JobStoreSupport: if(trig.getNextFireTime().getTime() > misfireTime) Configuration: {code} #============================================================================ # Configure Main Scheduler Properties #============================================================================ org.quartz.scheduler.instanceName = StandardScheduler org.quartz.scheduler.instanceId = AUTO #============================================================================ # Configure ThreadPool #============================================================================ org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool org.quartz.threadPool.threadCount = 3 org.quartz.threadPool.threadPriority = 5 #============================================================================ # Configure JobStore #============================================================================ org.quartz.jobStore.misfireThreshold = 300000 org.quartz.jobStore.class=org.springframework.scheduling.quartz.LocalDataSourceJobStore org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.oracle.OracleDelegate org.quartz.jobStore.useProperties=false org.quartz.jobStore.tablePrefix=QRTZ_ org.quartz.jobStore.isClustered=true org.quartz.jobStore.lockOnInsert=false org.quartz.jobStore.acquireTriggersWithinLock=true org.quartz.jobStore.lockHandler.class=org.quartz.impl.jdbcjobstore.UpdateLockRowSemaphore org.quartz.scheduler.jmx.export=true {code} Stacktrace: {code} Feb 24 13:08:00 anv2 BATCH [/opt/anv2/tomcat22][ INFO BATCH: SchedulerHelper riadok 114]: Resuming group ORSR_CORWIN Feb 24 13:08:00 anv2 BATCH [/opt/anv2/tomcat22][ERROR BATCH: SchedulerHelper riadok 118]: Couldn't update misfired trigger 'ORSR_CORWIN.6BmNugrJRPaoULS42pjFEw': null Feb 24 13:08:00 anv2 BATCH org.quartz.JobPersistenceException: Couldn't update misfired trigger 'ORSR_CORWIN.6BmNugrJRPaoULS42pjFEw': null [See nested exception: java.lang.NullPointerException] Feb 24 13:08:00 anv2 BATCH at org.quartz.impl.jdbcjobstore.JobStoreSupport.updateMisfiredTrigger(JobStoreSupport.java:1018) Feb 24 13:08:00 anv2 BATCH at org.quartz.impl.jdbcjobstore.JobStoreSupport.resumeTrigger(JobStoreSupport.java:2364) Feb 24 13:08:00 anv2 BATCH at org.quartz.impl.jdbcjobstore.JobStoreSupport.resumeTriggerGroup(JobStoreSupport.java:2570) Feb 24 13:08:00 anv2 BATCH at org.quartz.impl.jdbcjobstore.JobStoreSupport$32.execute(JobStoreSupport.java:2541) Feb 24 13:08:00 anv2 BATCH at org.quartz.impl.jdbcjobstore.JobStoreSupport$40.execute(JobStoreSupport.java:3716) Feb 24 13:08:00 anv2 BATCH at org.quartz.impl.jdbcjobstore.JobStoreCMT.executeInLock(JobStoreCMT.java:242) Feb 24 13:08:00 anv2 BATCH at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInLock(JobStoreSupport.java:3712) Feb 24 13:08:00 anv2 BATCH at org.quartz.impl.jdbcjobstore.JobStoreSupport.resumeTriggerGroup(JobStoreSupport.java:2537) Feb 24 13:08:00 anv2 BATCH at org.quartz.core.QuartzScheduler.resumeTriggerGroup(QuartzScheduler.java:1235) Feb 24 13:08:00 anv2 BATCH at org.quartz.impl.StdScheduler.resumeTriggerGroup(StdScheduler.java:426) Feb 24 13:08:00 anv2 BATCH at plaut.jfos.framework.scheduling.SchedulerHelper.resumeGroup(SchedulerHelper.java:116) Feb 24 13:08:00 anv2 BATCH at plaut.jfos.framework.scheduling.ResumeJob.executeTask(ResumeJob.java:26) Feb 24 13:08:00 anv2 BATCH at plaut.jfos.framework.scheduling.QuartzMasterJob.execute(QuartzMasterJob.java:54) Feb 24 13:08:00 anv2 BATCH at org.quartz.core.JobRunShell.run(JobRunShell.java:223) Feb 24 13:08:00 anv2 BATCH at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Feb 24 13:08:00 anv2 BATCH Caused by: java.lang.NullPointerException Feb 24 13:08:00 anv2 BATCH at org.quartz.impl.jdbcjobstore.JobStoreSupport.updateMisfiredTrigger(JobStoreSupport.java:1007) Feb 24 13:08:00 anv2 BATCH ... 14 more Feb 24 13:08:00 anv2 BATCH [/opt/anv2/tomcat51][ INFO BATCH: JobLoggingListener riadok 29]: Pabk2AsyncCommunicationTask begins at 24.2.2014 13:08. Feb 24 13:08:00 anv2 BATCH [/opt/anv2/tomcat22][ERROR BATCH: JfosSchedulerListener riadok 12]: Job (DEFAULT.groupResumeJob threw an exception. Feb 24 13:08:00 anv2 BATCH org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: plaut.jfos.framework.shared.JfosSystemException: Couldn't update misfired trigger 'ORSR_CORWIN.6BmNugrJRPaoULS42pjFEw': nu ll] Feb 24 13:08:00 anv2 BATCH at org.quartz.core.JobRunShell.run(JobRunShell.java:234) Feb 24 13:08:00 anv2 BATCH at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Feb 24 13:08:00 anv2 BATCH Caused by: plaut.jfos.framework.shared.JfosSystemException: Couldn't update misfired trigger 'ORSR_CORWIN.6BmNugrJRPaoULS42pjFEw': null Feb 24 13:08:00 anv2 BATCH at plaut.jfos.framework.scheduling.SchedulerHelper.resumeGroup(SchedulerHelper.java:119) Feb 24 13:08:00 anv2 BATCH at plaut.jfos.framework.scheduling.ResumeJob.executeTask(ResumeJob.java:26) Feb 24 13:08:00 anv2 BATCH at plaut.jfos.framework.scheduling.QuartzMasterJob.execute(QuartzMasterJob.java:54) Feb 24 13:08:00 anv2 BATCH at org.quartz.core.JobRunShell.run(JobRunShell.java:223) Feb 24 13:08:00 anv2 BATCH ... 1 more {code}

    Terracotta Project Issue Tracker | 3 years ago | Robert Kristofic
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: plaut.jfos.framework.shared.JfosSystemException: Couldn't update misfired trigger 'ORSR_CORWIN.6BmNugrJRPaoULS42pjFEw': nu ll]
  2. 0

    We have 4 tomcat nodes in cluster. NullPointerException is thrown on this line in JobStoreSupport: if(trig.getNextFireTime().getTime() > misfireTime) Configuration: {code} #============================================================================ # Configure Main Scheduler Properties #============================================================================ org.quartz.scheduler.instanceName = StandardScheduler org.quartz.scheduler.instanceId = AUTO #============================================================================ # Configure ThreadPool #============================================================================ org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool org.quartz.threadPool.threadCount = 3 org.quartz.threadPool.threadPriority = 5 #============================================================================ # Configure JobStore #============================================================================ org.quartz.jobStore.misfireThreshold = 300000 org.quartz.jobStore.class=org.springframework.scheduling.quartz.LocalDataSourceJobStore org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.oracle.OracleDelegate org.quartz.jobStore.useProperties=false org.quartz.jobStore.tablePrefix=QRTZ_ org.quartz.jobStore.isClustered=true org.quartz.jobStore.lockOnInsert=false org.quartz.jobStore.acquireTriggersWithinLock=true org.quartz.jobStore.lockHandler.class=org.quartz.impl.jdbcjobstore.UpdateLockRowSemaphore org.quartz.scheduler.jmx.export=true {code} Stacktrace: {code} Feb 24 13:08:00 anv2 BATCH [/opt/anv2/tomcat22][ INFO BATCH: SchedulerHelper riadok 114]: Resuming group ORSR_CORWIN Feb 24 13:08:00 anv2 BATCH [/opt/anv2/tomcat22][ERROR BATCH: SchedulerHelper riadok 118]: Couldn't update misfired trigger 'ORSR_CORWIN.6BmNugrJRPaoULS42pjFEw': null Feb 24 13:08:00 anv2 BATCH org.quartz.JobPersistenceException: Couldn't update misfired trigger 'ORSR_CORWIN.6BmNugrJRPaoULS42pjFEw': null [See nested exception: java.lang.NullPointerException] Feb 24 13:08:00 anv2 BATCH at org.quartz.impl.jdbcjobstore.JobStoreSupport.updateMisfiredTrigger(JobStoreSupport.java:1018) Feb 24 13:08:00 anv2 BATCH at org.quartz.impl.jdbcjobstore.JobStoreSupport.resumeTrigger(JobStoreSupport.java:2364) Feb 24 13:08:00 anv2 BATCH at org.quartz.impl.jdbcjobstore.JobStoreSupport.resumeTriggerGroup(JobStoreSupport.java:2570) Feb 24 13:08:00 anv2 BATCH at org.quartz.impl.jdbcjobstore.JobStoreSupport$32.execute(JobStoreSupport.java:2541) Feb 24 13:08:00 anv2 BATCH at org.quartz.impl.jdbcjobstore.JobStoreSupport$40.execute(JobStoreSupport.java:3716) Feb 24 13:08:00 anv2 BATCH at org.quartz.impl.jdbcjobstore.JobStoreCMT.executeInLock(JobStoreCMT.java:242) Feb 24 13:08:00 anv2 BATCH at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInLock(JobStoreSupport.java:3712) Feb 24 13:08:00 anv2 BATCH at org.quartz.impl.jdbcjobstore.JobStoreSupport.resumeTriggerGroup(JobStoreSupport.java:2537) Feb 24 13:08:00 anv2 BATCH at org.quartz.core.QuartzScheduler.resumeTriggerGroup(QuartzScheduler.java:1235) Feb 24 13:08:00 anv2 BATCH at org.quartz.impl.StdScheduler.resumeTriggerGroup(StdScheduler.java:426) Feb 24 13:08:00 anv2 BATCH at plaut.jfos.framework.scheduling.SchedulerHelper.resumeGroup(SchedulerHelper.java:116) Feb 24 13:08:00 anv2 BATCH at plaut.jfos.framework.scheduling.ResumeJob.executeTask(ResumeJob.java:26) Feb 24 13:08:00 anv2 BATCH at plaut.jfos.framework.scheduling.QuartzMasterJob.execute(QuartzMasterJob.java:54) Feb 24 13:08:00 anv2 BATCH at org.quartz.core.JobRunShell.run(JobRunShell.java:223) Feb 24 13:08:00 anv2 BATCH at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Feb 24 13:08:00 anv2 BATCH Caused by: java.lang.NullPointerException Feb 24 13:08:00 anv2 BATCH at org.quartz.impl.jdbcjobstore.JobStoreSupport.updateMisfiredTrigger(JobStoreSupport.java:1007) Feb 24 13:08:00 anv2 BATCH ... 14 more Feb 24 13:08:00 anv2 BATCH [/opt/anv2/tomcat51][ INFO BATCH: JobLoggingListener riadok 29]: Pabk2AsyncCommunicationTask begins at 24.2.2014 13:08. Feb 24 13:08:00 anv2 BATCH [/opt/anv2/tomcat22][ERROR BATCH: JfosSchedulerListener riadok 12]: Job (DEFAULT.groupResumeJob threw an exception. Feb 24 13:08:00 anv2 BATCH org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: plaut.jfos.framework.shared.JfosSystemException: Couldn't update misfired trigger 'ORSR_CORWIN.6BmNugrJRPaoULS42pjFEw': nu ll] Feb 24 13:08:00 anv2 BATCH at org.quartz.core.JobRunShell.run(JobRunShell.java:234) Feb 24 13:08:00 anv2 BATCH at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Feb 24 13:08:00 anv2 BATCH Caused by: plaut.jfos.framework.shared.JfosSystemException: Couldn't update misfired trigger 'ORSR_CORWIN.6BmNugrJRPaoULS42pjFEw': null Feb 24 13:08:00 anv2 BATCH at plaut.jfos.framework.scheduling.SchedulerHelper.resumeGroup(SchedulerHelper.java:119) Feb 24 13:08:00 anv2 BATCH at plaut.jfos.framework.scheduling.ResumeJob.executeTask(ResumeJob.java:26) Feb 24 13:08:00 anv2 BATCH at plaut.jfos.framework.scheduling.QuartzMasterJob.execute(QuartzMasterJob.java:54) Feb 24 13:08:00 anv2 BATCH at org.quartz.core.JobRunShell.run(JobRunShell.java:223) Feb 24 13:08:00 anv2 BATCH ... 1 more {code}

    Terracotta Project Issue Tracker | 3 years ago | Robert Kristofic
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: plaut.jfos.framework.shared.JfosSystemException: Couldn't update misfired trigger 'ORSR_CORWIN.6BmNugrJRPaoULS42pjFEw': nu ll]

    Root Cause Analysis

    1. plaut.jfos.framework.shared.JfosSystemException

      Couldn't update misfired trigger 'ORSR_CORWIN.6BmNugrJRPaoULS42pjFEw': null

      at plaut.jfos.framework.scheduling.SchedulerHelper.resumeGroup()
    2. plaut.jfos.framework
      QuartzMasterJob.execute
      1. plaut.jfos.framework.scheduling.SchedulerHelper.resumeGroup(SchedulerHelper.java:119)
      2. plaut.jfos.framework.scheduling.ResumeJob.executeTask(ResumeJob.java:26)
      3. plaut.jfos.framework.scheduling.QuartzMasterJob.execute(QuartzMasterJob.java:54)
      3 frames
    3. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:223)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
      2 frames