You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2016/06/22 15:38:58 UTC

[jira] [Created] (SLING-5805) Eventing: NPE in JobSchedulerImpl when shutting down instance

Stefan Seifert created SLING-5805:
-------------------------------------

             Summary: Eventing: NPE in JobSchedulerImpl when shutting down instance
                 Key: SLING-5805
                 URL: https://issues.apache.org/jira/browse/SLING-5805
             Project: Sling
          Issue Type: Bug
          Components: Extensions
    Affects Versions: Event 4.0.2
            Reporter: Stefan Seifert
            Priority: Minor


when shutting down a sling instance (part of a cluster) with ~30.000 scheduled jobs, i get thousands of error logs like this in the logs:
{noformat}
22.06.2016 17:25:07.174 *ERROR* [sling-default-593-org.apache.sling.event.jobs.Job:03eb3d10-952e-4b1b-83c8-e7e092495c09-0] org.apache.sling.commons.scheduler.impl.QuartzScheduler Exception during job execution of org.apache.sling.event.impl.jobs.scheduling.JobSchedulerImpl@407bb6e7 : null
java.lang.NullPointerException: null
	at org.apache.sling.event.impl.jobs.JobManagerImpl.addJobInteral(JobManagerImpl.java:537)
	at org.apache.sling.event.impl.jobs.JobManagerImpl.addJob(JobManagerImpl.java:704)
	at org.apache.sling.event.impl.jobs.JobManagerImpl.addJob(JobManagerImpl.java:267)
	at org.apache.sling.event.impl.jobs.scheduling.JobSchedulerImpl.execute(JobSchedulerImpl.java:280)
	at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java:116)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)