During server startup I am getting error " [org.nuxeo.runtime.model.impl.RegistrationInfoImpl] Component service:org.nuxeo.ecm.core.scheduler.Sched ulerService notification of application started failed: null"

Hi, While starting server I am getting following error .

ulerService notification of application started failed: null
java.lang.NullPointerException
at com.novemberain.quartz.mongodb.util.Keys.toFilter(Keys.java:58)
at com.novemberain.quartz.mongodb.dao.JobDao.getJob(JobDao.java:69)
at com.novemberain.quartz.mongodb.TriggerAndJobPersister.getTriggersForJob(TriggerAndJobPersister.java:35)
at com.novemberain.quartz.mongodb.MongoDBJobStore.getTriggersForJob(MongoDBJobStore.java:321)
at org.quartz.core.QuartzScheduler.getTriggersOfJob(QuartzScheduler.java:1476)
at org.quartz.core.QuartzScheduler.deleteJob(QuartzScheduler.java:989)
at org.quartz.impl.StdScheduler.deleteJob(StdScheduler.java:301)
at org.nuxeo.ecm.core.scheduler.SchedulerServiceImpl.unschedule(SchedulerServiceImpl.java:255)
at org.nuxeo.ecm.core.scheduler.SchedulerServiceImpl.unregisterSchedule(SchedulerServiceImpl.java:250)
at org.nuxeo.ecm.core.scheduler.SchedulerServiceImpl.schedule(SchedulerServiceImpl.java:226)
at org.nuxeo.ecm.core.scheduler.SchedulerServiceImpl.registerSchedule(SchedulerServiceImpl.java:189)
at org.nuxeo.ecm.core.scheduler.SchedulerServiceImpl.registerSchedule(SchedulerServiceImpl.java:178)
at org.nuxeo.ecm.core.scheduler.SchedulerServiceImpl.setupScheduler(SchedulerServiceImpl.java:118)
at org.nuxeo.ecm.core.scheduler.SchedulerServiceImpl.applicationStarted(SchedulerServiceImpl.java:146)
at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.notifyApplicationStarted(RegistrationInfoImpl.java:331)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.notifyComponentsOnStarted(OSGiRuntimeService.java:459)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.fireApplicationStarted(OSGiRuntimeService.java:495)
at org.nuxeo.runtime.api.ServicePassivator$Waiter.proceed(ServicePassivator.java:415)
at org.nuxeo.runtime.api.ServicePassivator.proceed(ServicePassivator.java:83)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.frameworkEvent(OSGiRuntimeService.java:507)
at org.nuxeo.osgi.OSGiAdapter.fireFrameworkEvent(OSGiAdapter.java:232)
at org.nuxeo.osgi.application.loader.FrameworkLoader.doStart(FrameworkLoader.java:226)
at org.nuxeo.osgi.application.loader.FrameworkLoader.start(FrameworkLoader.java:125)
at org.nuxeo.runtime.deployment.NuxeoStarter.start(NuxeoStarter.java:120)
at org.nuxeo.runtime.deployment.NuxeoStarter.contextInitialized(NuxeoStarter.java:93)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5068)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5584)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:679)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1966)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
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:748)
2018-01-22 18:13:26,115 INFO [localhost-startStop-1] [org.nuxeo.ecm.platform.query.core.PageProviderClassReplacerRegistry] List of page provider names that a
re superseded:
- default_search: org.nuxeo.elasticsearch.provider.ElasticSearchNxqlPageProvider
- expired_search: org.nuxeo.elasticsearch.provider.ElasticSearchNxqlPageProvider
- DEFAULT_DOCUMENT_SUGGESTION: org.nuxeo.elasticsearch.provider.ElasticSearchNxqlPageProvider
- advanced_document_content: org.nuxeo.elasticsearch.provider.ElasticSearchNxqlPageProvider
- default_document_suggestion: org.nuxeo.elasticsearch.provider.ElasticSearchNxqlPageProvider
- domain_documents: org.nuxeo.elasticsearch.provider.ElasticSearchNxqlPageProvider

2018-01-22 18:13:30,359 ERROR [localhost-startStop-1] [org.nuxeo.runtime.osgi.OSGiRuntimeService] Nuxeo Platform Started
======================================================================
= Component Loading Status: Pending: 0 / Missing: 0 / Unstarted: 1 / Total: 645
- service:org.nuxeo.ecm.core.scheduler.SchedulerService
======================================================================
0 votes

1 answers

3465 views

ANSWER



I have such problem, my fix: remove all documents from DB.quartz_jobs and DB.quartz_triggers

0 votes