Bug: NullPointerException in FailedJobListener

Description

The use of "Context.getProcessEngineConfiguration()" in "FailedJobListener" returns null, when I am using "JTAProcessEngineConfiguration" in context with the atomikos transaction manager.

java.lang.NullPointerException
at org.activiti.engine.impl.jobexecutor.FailedJobListener.execute(FailedJobListener.java:38)
at org.activiti.engine.impl.cfg.jta.JtaTransactionContext$TransactionStateSynchronization.afterCompletion(JtaTransactionContext.java:103)

Environment

None

Assignee

Roman Smirnov (camunda)

Reporter

Roman Smirnov (camunda)

Labels

None

Components

Fix versions

Affects versions

Priority

Minor
Configure