-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: 6.0, 7.10, 8.1
-
Fix Version/s: None
-
Component/s: Events / Works
-
Tags:
When worker are pending in redis and we restart nuxeo, workers tries to starts before the runtime is started so it gets NPE while trying to access ES client for example:
Runtime starting at 03:31:57,056
2016-02-12 03:31:57,056 INFO [localhost-startStop-1] [org.nuxeo.osgi.application.loader.FrameworkLoader] ====================================================================== = Starting Nuxeo Framework =========================================================
Worker NPE at 03:32:10,584
2016-02-12 03:32:10,584 ERROR [Nuxeo-Work-default-3] [org.nuxeo.ecm.core.event.impl.AsyncEventExecutor] Failed to execute async event null on listener nuxeoDriveVirtualEventLoggerListener java.lang.NullPointerException at org.nuxeo.elasticsearch.ElasticSearchComponent.getClient(ElasticSearchComponent.java:234)
Runtime started at 03:32:38,835
2016-02-12 03:32:38,835 INFO [localhost-startStop-1] [org.nuxeo.runtime.osgi.OSGiRuntimeService] Nuxeo Platform Started ====================================================================== = Component Loading Status: Pending: 0 / Unstarted: 0 / Total: 692 ======================================================================
- depends on
-
NXP-19032 enforce runtime for not allowing concurrent accesses during startup and shutdown
- Resolved