Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-19001

Scheduled events for deleted document types keep throwing errors

    XMLWordPrintable

    Details

      Description

      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)
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: