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

Fix error at shutdown on WorkManager in DAM tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.9.6-SNAPSHOT
    • Fix Version/s: 6.0
    • Component/s: Core
    • Tags:
    • Impact type:
      API change
    • Upgrade notes:
      Hide

      New method org.nuxeo.ecm.core.work.api.WorkManager.isStarted()

      Show
      New method org.nuxeo.ecm.core.work.api.WorkManager.isStarted()
    • Sprint:
      DevOps Sprint 6
    • Story Points:
      1

      Description

      The following error appears in logs at shutdown:

      2014-09-08 15:20:34,020 ERROR [localhost-startStop-2] [org.nuxeo.runtime.model.impl.ComponentInstanceImpl] Failed to deactivate component: service:org.nuxeo.ecm.platform.video.service.VideoService
      java.lang.IllegalStateException: Work manager not started, could not access to executors
      	at org.nuxeo.ecm.core.work.WorkManagerImpl.getExecutor(WorkManagerImpl.java:310)
      	at org.nuxeo.ecm.core.work.WorkManagerImpl.shutdownQueue(WorkManagerImpl.java:328)
      	at org.nuxeo.ecm.platform.video.service.VideoServiceImpl.deactivate(VideoServiceImpl.java:79)
      	at org.nuxeo.runtime.model.impl.ComponentInstanceImpl.deactivate(ComponentInstanceImpl.java:142)
      	at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.deactivate(RegistrationInfoImpl.java:429)
      	at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.unresolve(RegistrationInfoImpl.java:462)
      

      visible here: https://qa.nuxeo.org/jenkins/job/IT-nuxeo-master-tests-dam-tomcat/652/

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: