flowable / flowable/flowable-engine

FlowableEventListener NullPointException

Open
#3,428 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
9.5k
Forks
2.9k
Avg merge
7h 8m
Merged PRs (30d)
2

Description

FlowableEventListener
I want to execute the (AbstractFlowableEngineEventListener#taskCreated) after the transaction is committed
setOnTransaction(TransactionState.COMMITTED.name());
but taskEntity.getCandidates() throw NullPointException ;
public static CommandContext getCommandContext() {
Stack stack = getStack(commandContextThreadLocal);
if (stack.isEmpty()) {
return null;
}
return stack.peek();
}
stack.isEmpty() == true

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.