-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Cannot Reproduce
-
Affects Version/s: 8.1
-
Fix Version/s: QualifiedToSchedule
After removing an addon that defined a document type and scheduled events, the scheduled events keep running and throwing errors due to that unkown document type:
2016-02-11 13:55:00,048 ERROR [Quartz_Worker-1] [org.nuxeo.ecm.core.event.impl.EventServiceImpl] Exception during triggerEsclationRules sync listener execution, continuing to run other listeners org.nuxeo.ecm.core.api.DocumentNotFoundException: Unknown document type: MyDocumentType at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.newDocument(SQLSession.java:473) at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.newDocument(SQLSession.java:450) at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.getDocumentById(SQLSession.java:491) at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.getDocumentByUUID(SQLSession.java:175) at org.nuxeo.ecm.core.api.AbstractSession.resolveReference(AbstractSession.java:333) at org.nuxeo.ecm.core.api.AbstractSession.getDocuments(AbstractSession.java:915) at org.nuxeo.ecm.platform.routing.core.impl.DocumentRouteElementImpl.getAttachedDocuments(DocumentRouteElementImpl.java:66) at org.nuxeo.ecm.platform.routing.core.impl.GraphNodeImpl.getWorkflowContextualInfo(GraphNodeImpl.java:433) at org.nuxeo.ecm.platform.routing.core.impl.GraphNodeImpl.getExecutionContext(GraphNodeImpl.java:413) at org.nuxeo.ecm.platform.routing.core.impl.GraphNodeImpl.evaluateEscalationRules(GraphNodeImpl.java:859) at org.nuxeo.ecm.platform.routing.core.impl.DocumentRoutingEscalationServiceImpl.computeEscalationRulesToExecute(DocumentRoutingEscalationServiceImpl.java:70) at org.nuxeo.ecm.platform.routing.core.listener.DocumentRoutingEscalationListener$1.run(DocumentRoutingEscalationListener.java:65) at org.nuxeo.ecm.core.api.UnrestrictedSessionRunner.runUnrestricted(UnrestrictedSessionRunner.java:146) at org.nuxeo.ecm.platform.routing.core.listener.DocumentRoutingEscalationListener.triggerEsclationRulesExecution(DocumentRoutingEscalationListener.java:71) at org.nuxeo.ecm.platform.routing.core.listener.DocumentRoutingEscalationListener.handleEvent(DocumentRoutingEscalationListener.java:51) at org.nuxeo.ecm.core.event.impl.EventServiceImpl.fireEvent(EventServiceImpl.java:200) at org.nuxeo.ecm.core.scheduler.EventJob.execute(EventJob.java:119) at org.nuxeo.ecm.core.scheduler.EventJob.execute(EventJob.java:65) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)