org.flowable.engine.common.api.FlowableException: Query return 2 results instead of max 1
at org.flowable.engine.common.impl.AbstractQuery.executeSingleResult(AbstractQuery.java:165)
at org.flowable.engine.common.impl.AbstractQuery.execute(AbstractQuery.java:145)
at org.flowable.engine.impl.interceptor.CommandInvoker$1.run(CommandInvoker.java:51)
at org.flowable.engine.impl.interceptor.CommandInvoker.executeOperation(CommandInvoker.java:93)
at org.flowable.engine.impl.interceptor.CommandInvoker.executeOperations(CommandInvoker.java:72)
at org.flowable.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:56)
at org.flowable.engine.impl.interceptor.BpmnOverrideContextInterceptor.execute(BpmnOverrideContextInterceptor.java:25)
at org.flowable.engine.common.impl.interceptor.TransactionContextInterceptor.execute(TransactionContextInterceptor.java:53)
at org.flowable.engine.common.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:72)
at org.flowable.engine.common.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30)
at org.flowable.engine.common.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:56)
at org.flowable.engine.common.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:51)
at org.flowable.engine.common.impl.AbstractQuery.singleResult(AbstractQuery.java:104)
at org.ow2.petals.flowable.incoming.operation.IntermediateMessageCatchEventOperation.investigateMissingExecution(IntermediateMessageCatchEventOperation.java:192)
at org.ow2.petals.flowable.incoming.operation.IntermediateMessageCatchEventOperation.doExecute(IntermediateMessageCatchEventOperation.java:134)
at org.ow2.petals.flowable.incoming.operation.FlowableOperation.execute(FlowableOperation.java:211)
at org.ow2.petals.flowable.incoming.FlowableJBIListener.onJBIMessage(FlowableJBIListener.java:144)
at org.ow2.petals.component.framework.process.MessageExchangeProcessor.invokeJBIListener(MessageExchangeProcessor.java:525)
at org.ow2.petals.component.framework.process.MessageExchangeProcessor.processAsProvider(MessageExchangeProcessor.java:493)
at org.ow2.petals.component.framework.process.MessageExchangeProcessor.process(MessageExchangeProcessor.java:283)
at org.ow2.petals.component.framework.process.MessageExchangeProcessor.run(MessageExchangeProcessor.java:181)
at org.ow2.petals.component.framework.process.JBIProcessorThreadPoolExecutor$ExchangeRunnable.run(JBIProcessorThreadPoolExecutor.java:90)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
at org.ow2.petals.component.framework.process.JBIProcessorThreadFactory$JBIProcessorThread.run(JBIProcessorThreadFactory.java:99)