-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 7.10, 8.10
-
Component/s: Events / Works
-
Tags:
-
Sprint:nxSL Sprint 9.1.1, nxSL Sprint 9.1.2
-
Story Points:4
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)
- is required by
-
NXP-21114 Fix random failure on DefaultFileSystemItemFactoryFixture in T&P and full build
- Resolved