org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]

Atlassian JIRA | Peter Hanraets | 3 years ago
  1. 0

    Some errors with quartz scheduling [Archive] - Pentaho Community Forums

    pentaho.com | 11 months ago
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
  2. 0

    Some errors with quartz scheduling

    pentaho.com | 1 year ago
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    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.

    Pentaho BI Platform Tracking | 7 years ago | Mat Lowery
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
  5. 0

    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)

    Ecosystem JIRA | 7 years ago | Chris Kiehl
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]

    5 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.quartz.SchedulerException

      Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]

      at org.quartz.core.JobRunShell.run()
    2. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:214)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      2 frames