-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.5-SNAPSHOT
-
Fix Version/s: 5.5
-
Component/s: None
The event bundle transaction handler is printing the following error when the tx manager is not configured and an error occured in the event handling.
18:28:26,920 ERROR [EventBundleTransactionHandler] Exception caught while setting the transaction as rollback only java.lang.NullPointerException at org.nuxeo.ecm.core.event.tx.EventBundleTransactionHandler.setTransactionRollbackOnly(EventBundleTransactionHandler.java:189) at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$Job.run(AsyncEventExecutor.java:163) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680)
We should avoid this by testing the disabled flag before setting the rollback only flag.
- depends on
-
NXP-7170 don't allow method invokes on core session without a transaction
- Resolved