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

unavailable work's queue at completion time

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.10, 8.10
    • Fix Version/s: 8.10-HF01, 9.1
    • Component/s: Events / Works
    • Tags:
    • Sprint:
      nxSL Sprint 9.1.1, nxSL Sprint 9.1.2
    • Story Points:
      4

      Description

      During the work manager init, works are executed as soon as a queue is activated. At completion time, works are scheduling others related to their changes. If these works complete before the related queues are activated, they terminate in errors.

      Nuxeo-Work-default-1:test:33aaa060-cf9c-4b56-b8ff-0e9cee817a31:sqlFulltextExtractor 11:06:16,754 WARN  [TransactionImpl] Unexpected exception from afterCompletion; continuing{{fRepeat,1}{fState,beforeMethodRun}{fSuite,class org.nuxeo.drive.fixtures.DefaultFileSystemItemFactoryFixture}{fTest,testFolderItemChildrenPageProviderOverride}{tx,48100000047544d4944}}
      java.lang.NullPointerException
      	at org.nuxeo.ecm.core.redis.contribs.RedisWorkQueuing.workSchedule(RedisWorkQueuing.java:204)
      	at org.nuxeo.ecm.core.work.WorkManagerImpl.schedule(WorkManagerImpl.java:709)
      	at org.nuxeo.ecm.core.work.WorkManagerImpl$WorkScheduling.afterCompletion(WorkManagerImpl.java:468)
      	at org.apache.geronimo.transaction.manager.TransactionImpl.afterCompletion(TransactionImpl.java:540)
      	at org.apache.geronimo.transaction.manager.TransactionImpl.afterCompletion(TransactionImpl.java:533)
      	at org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:329)
      	at org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:252)
      	at org.nuxeo.runtime.jtajca.NuxeoContainer$UserTransactionImpl.commit(NuxeoContainer.java:535)
      	at org.nuxeo.runtime.transaction.TransactionHelper.commitOrRollbackTransaction(TransactionHelper.java:359)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:441)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:377)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:338)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:57)
      	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:745)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: