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/25 09:56:37 UTC
[jira] [Reopened] (SLING-5805) Eventing: NPE in JobSchedulerImpl
when shutting down instance
[ https://issues.apache.org/jira/browse/SLING-5805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Seifert reopened SLING-5805:
-----------------------------------
oh, it's happened again.
yesterday it did not happen with ~2.000 scheduled jobs on shutting down the cluster master.
today there were ~10.000 schedules jobs, and this error happened ~2.000 times on shutdown.
{noformat}
25.06.2016 10:46:47.765 *ERROR* [sling-rrd-sling-scheduler-275-org.apache.sling.event.jobs.Job:c5335a20-2a70-46f4-81cb-d7700cd89b60-0] org.apache.sling.commons.scheduler.impl.QuartzScheduler Exception during job execution of org.apache.sling.event.impl.jobs.scheduling.JobSchedulerImpl@5aaa164c : 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:289)
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}
(yes, its not ideal to have 10.000 or 30.000 scheduled jobs, but this is another issue we are currently investigating)
> 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
> Assignee: Carsten Ziegeler
> Priority: Minor
> Fix For: Event 4.1.0
>
>
> 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)