org.quartz.SchedulerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Some errors with quartz scheduling
    via by Unknown author,
  • Here's the stack trace: 16:24:04,142 ERROR [ErrorLogger] Job (pat.h7 threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException] at org.quartz.core.JobRunShell.run(JobRunShell.java:214) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) * Nested Exception (Underlying Cause) --------------- java.lang.NullPointerException at org.pentaho.platform.engine.core.system.PentahoBase.genLogIdFromSession(PentahoBase.java:59) at org.pentaho.platform.repository.content.ContentRepository.setSession(ContentRepository.java:82) at org.pentaho.platform.engine.core.system.StandaloneSession.destroy(StandaloneSession.java:93) at org.pentaho.platform.engine.core.system.UserSession.destroy(UserSession.java:78) at org.pentaho.platform.engine.core.system.PentahoSessionHolder.removeSession(PentahoSessionHolder.java:79) at org.pentaho.platform.engine.core.system.SessionCleanupListener.systemExitPoint(SessionCleanupListener.java:48) at org.pentaho.platform.engine.core.system.StandaloneApplicationContext.invokeExitPoints(StandaloneApplicationContext.java:169) at org.pentaho.platform.engine.core.system.PentahoSystem.systemExitPoint(PentahoSystem.java:860) at org.pentaho.platform.scheduler.QuartzExecute.execute(QuartzExecute.java:288) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) To reproduce: 1. Right-click on a file that produces content that can be stored in the content repository and also has no parameters (e.g. Steel Wheels > Reporting > Income Statement). Click Schedule... 2. Specify a Run Once private schedule for immediate execution. 3. Watch the server log for the above stack trace.
    via by Mat Lowery,
  • Every now and then we get the following exception in the log files. Is there just a null check missing or does it actually indicate a problem? 2009-09-14 16:54:47,267 ERROR [DefaultQuartzScheduler_Worker-0] [org.quartz.core.JobRunShell] run Job pluginSchedulerJobGroup.Service Provider Token Remover threw an unhandled Exception: java.lang.NullPointerException at com.atlassian.oauth.serviceprovider.sal.PluginSettingsServiceProviderTokenStore$HasExpired.apply(PluginSettingsServiceProviderTokenStore.java:180) at com.atlassian.oauth.serviceprovider.sal.PluginSettingsServiceProviderTokenStore$HasExpired.apply(PluginSettingsServiceProviderTokenStore.java:169) at com.google.common.collect.Iterators$7.computeNext(Iterators.java:570) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:135) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:130) at com.atlassian.oauth.serviceprovider.sal.PluginSettingsServiceProviderTokenStore.removeExpiredTokens(PluginSettingsServiceProviderTokenStore.java:136) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy291.removeExpiredTokens(Unknown Source) at com.atlassian.oauth.serviceprovider.internal.DelegatingTokenStoreImpl.removeExpiredTokens(DelegatingTokenStoreImpl.java:48) at com.atlassian.oauth.serviceprovider.internal.ExpiredTokenRemover.execute(ExpiredTokenRemover.java:18) at com.atlassian.sal.confluence.scheduling.ConfluencePluginScheduler$ConfluencePluginJob.execute(ConfluencePluginScheduler.java:99) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 2009-09-14 16:54:47,274 ERROR [DefaultQuartzScheduler_Worker-0] [org.quartz.core.ErrorLogger] schedulerError Job (pluginSchedulerJobGroup.Service Provider Token Remover threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException] at org.quartz.core.JobRunShell.run(JobRunShell.java:214) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) * Nested Exception (Underlying Cause) --------------- java.lang.NullPointerException at com.atlassian.oauth.serviceprovider.sal.PluginSettingsServiceProviderTokenStore$HasExpired.apply(PluginSettingsServiceProviderTokenStore.java:180) at com.atlassian.oauth.serviceprovider.sal.PluginSettingsServiceProviderTokenStore$HasExpired.apply(PluginSettingsServiceProviderTokenStore.java:169) at com.google.common.collect.Iterators$7.computeNext(Iterators.java:570) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:135) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:130) at com.atlassian.oauth.serviceprovider.sal.PluginSettingsServiceProviderTokenStore.removeExpiredTokens(PluginSettingsServiceProviderTokenStore.java:136) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy291.removeExpiredTokens(Unknown Source) at com.atlassian.oauth.serviceprovider.internal.DelegatingTokenStoreImpl.removeExpiredTokens(DelegatingTokenStoreImpl.java:48) at com.atlassian.oauth.serviceprovider.internal.ExpiredTokenRemover.execute(ExpiredTokenRemover.java:18) at com.atlassian.sal.confluence.scheduling.ConfluencePluginScheduler$ConfluencePluginJob.execute(ConfluencePluginScheduler.java:99) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    via by Chris Kiehl,
  • Crowd keeps throwing an exception every night during the automated backup. 2014-02-10 02:00:00,010 scheduler_Worker-1 INFO [crowd.manager.backup.BackupJob] Starting scheduled backup to file atlassian-crowd-2014-02-10-020000-automated-backup-2.7.0.xml... 2014-02-10 02:00:00,385 scheduler_Worker-1 INFO [atlassian.crowd.migration.XmlMigrationManagerImpl] Time taken to export (millis): 375 2014-02-10 02:00:00,385 scheduler_Worker-1 ERROR [org.quartz.core.JobRunShell] Job AutomatedBackup.AutomatedBackup threw an unhandled Exception: java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:514) at java.util.Properties.setProperty(Properties.java:161) at com.atlassian.crowd.dao.directory.DirectoryPropertiesMapper.exportProperties(DirectoryPropertiesMapper.java:222) at com.atlassian.crowd.file.FileConfigurationExporter.exportDirectories(FileConfigurationExporter.java:26) at com.atlassian.crowd.manager.backup.DefaultBackupManager.backup(DefaultBackupManager.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy50.backup(Unknown Source) at com.atlassian.crowd.manager.backup.BackupJob.executeInternal(BackupJob.java:30) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:113) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 2014-02-10 02:00:00,385 scheduler_Worker-1 ERROR [org.quartz.core.ErrorLogger] Job (AutomatedBackup.AutomatedBackup threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException] at org.quartz.core.JobRunShell.run(JobRunShell.java:214) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) * Nested Exception (Underlying Cause) --------------- java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:514) at java.util.Properties.setProperty(Properties.java:161) at com.atlassian.crowd.dao.directory.DirectoryPropertiesMapper.exportProperties(DirectoryPropertiesMapper.java:222) at com.atlassian.crowd.file.FileConfigurationExporter.exportDirectories(FileConfigurationExporter.java:26) at com.atlassian.crowd.manager.backup.DefaultBackupManager.backup(DefaultBackupManager.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy50.backup(Unknown Source) at com.atlassian.crowd.manager.backup.BackupJob.executeInternal(BackupJob.java:30) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:113) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    via by Peter Hanraets,
  • Here's the stack trace: 16:24:04,142 ERROR [ErrorLogger] Job (pat.h7 threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException] at org.quartz.core.JobRunShell.run(JobRunShell.java:214) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) * Nested Exception (Underlying Cause) --------------- java.lang.NullPointerException at org.pentaho.platform.engine.core.system.PentahoBase.genLogIdFromSession(PentahoBase.java:59) at org.pentaho.platform.repository.content.ContentRepository.setSession(ContentRepository.java:82) at org.pentaho.platform.engine.core.system.StandaloneSession.destroy(StandaloneSession.java:93) at org.pentaho.platform.engine.core.system.UserSession.destroy(UserSession.java:78) at org.pentaho.platform.engine.core.system.PentahoSessionHolder.removeSession(PentahoSessionHolder.java:79) at org.pentaho.platform.engine.core.system.SessionCleanupListener.systemExitPoint(SessionCleanupListener.java:48) at org.pentaho.platform.engine.core.system.StandaloneApplicationContext.invokeExitPoints(StandaloneApplicationContext.java:169) at org.pentaho.platform.engine.core.system.PentahoSystem.systemExitPoint(PentahoSystem.java:860) at org.pentaho.platform.scheduler.QuartzExecute.execute(QuartzExecute.java:288) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) To reproduce: 1. Right-click on a file that produces content that can be stored in the content repository and also has no parameters (e.g. Steel Wheels > Reporting > Income Statement). Click Schedule... 2. Specify a Run Once private schedule for immediate execution. 3. Watch the server log for the above stack trace.
    via by Mat Lowery,
  • Crowd keeps throwing an exception every night during the automated backup. 2014-02-10 02:00:00,010 scheduler_Worker-1 INFO [crowd.manager.backup.BackupJob] Starting scheduled backup to file atlassian-crowd-2014-02-10-020000-automated-backup-2.7.0.xml... 2014-02-10 02:00:00,385 scheduler_Worker-1 INFO [atlassian.crowd.migration.XmlMigrationManagerImpl] Time taken to export (millis): 375 2014-02-10 02:00:00,385 scheduler_Worker-1 ERROR [org.quartz.core.JobRunShell] Job AutomatedBackup.AutomatedBackup threw an unhandled Exception: java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:514) at java.util.Properties.setProperty(Properties.java:161) at com.atlassian.crowd.dao.directory.DirectoryPropertiesMapper.exportProperties(DirectoryPropertiesMapper.java:222) at com.atlassian.crowd.file.FileConfigurationExporter.exportDirectories(FileConfigurationExporter.java:26) at com.atlassian.crowd.manager.backup.DefaultBackupManager.backup(DefaultBackupManager.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy50.backup(Unknown Source) at com.atlassian.crowd.manager.backup.BackupJob.executeInternal(BackupJob.java:30) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:113) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 2014-02-10 02:00:00,385 scheduler_Worker-1 ERROR [org.quartz.core.ErrorLogger] Job (AutomatedBackup.AutomatedBackup threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException] at org.quartz.core.JobRunShell.run(JobRunShell.java:214) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) * Nested Exception (Underlying Cause) --------------- java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:514) at java.util.Properties.setProperty(Properties.java:161) at com.atlassian.crowd.dao.directory.DirectoryPropertiesMapper.exportProperties(DirectoryPropertiesMapper.java:222) at com.atlassian.crowd.file.FileConfigurationExporter.exportDirectories(FileConfigurationExporter.java:26) at com.atlassian.crowd.manager.backup.DefaultBackupManager.backup(DefaultBackupManager.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy50.backup(Unknown Source) at com.atlassian.crowd.manager.backup.BackupJob.executeInternal(BackupJob.java:30) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:113) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    via by Peter Hanraets,
    • org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException] at org.quartz.core.JobRunShell.run(JobRunShell.java:214) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    1 more bugmates