I am using servicemix ode bpe to run a simple BPEL process flow manipulating
multiple start activities.
The engine can process my flow and no error is found if I set a <receive> at
the beginning to create an initial instance like this:
<receive ... createInstance="yes"><correlations ...>
<flow>
<receive ... createInstance="no"><correlations ...>
<receive ... createInstance="no"><correlations ...>
</flow>
However when I want to receive multiple start messages which come in a
random order, I write the BPEL code like this:
<flow>
<receive ... createInstance="yes"><correlations ...>
<receive ... createInstance="yes"><correlations ...>
<receive ... createInstance="yes"><correlations ...>
</flow>
The following error is shown. I would like to know what this error is
talking about. Is there any suggestion for manipulating multiple start
activities? Thanks
ERROR - BaseLifeCycle$2.run(242) | Error processing exchange
[EMAIL PROTECTED]
org.apache.ode.bpe.interaction.NonExistentNodeException: Node null not
found. Check the associated business process to
ensure that the source variable has been initialized and check runtime data
to ensure that the requested element exists
in the source variable.
at
org.apache.ode.bpe.interaction.operations.GetTextValueOperation.execute(GetTextValueOperation.java:40)
at
org.apache.ode.bpe.interaction.operations.DocumentOperation.execute(DocumentOperation.java:62)
at
org.apache.ode.bpe.interaction.Invocation.execute(Invocation.java:79)
at
org.apache.ode.bpe.interaction.BaseInteraction.invoke(BaseInteraction.java:41)
at
org.apache.ode.bpe.interaction.BaseInteraction.invoke(BaseInteraction.java:77)
at
org.apache.ode.bpe.correlation.keys.CorrelationKeysUtil.getPartData(CorrelationKeysUtil.java:141)
at
org.apache.ode.bpe.correlation.keys.CorrelationKeysUtil.setCorrelationKeys(CorrelationKeysUtil.java:105)
at
org.apache.ode.bpe.action.bpel.ReceiveAction.execute(ReceiveAction.java:141)
at
org.apache.ode.bpe.engine.ProcessInstance.executeActions(ProcessInstance.java:359)
at
org.apache.ode.bpe.engine.ProcessInstance.evaluate(ProcessInstance.java:325)
at
org.apache.ode.bpe.engine.ProcessInstance.evaluate(ProcessInstance.java:414)
at
org.apache.ode.bpe.engine.ProcessInstance.processInternalEvent(ProcessInstance.java:254)
at
org.apache.ode.bpe.engine.ProcessInstance.processEvent(ProcessInstance.java:209)
at
org.apache.ode.bpe.correlation.CorrelationService.createInstanceAndRoute(CorrelationService.java:230)
at
org.apache.ode.bpe.correlation.CorrelationService.correlateEvent(CorrelationService.java:337)
at
org.apache.ode.bpe.bped.unmanaged.EventDirectorSLImpl.sendEvent(EventDirectorSLImpl.java:116)
at
org.apache.servicemix.bpe.BPEEndpoint.process(BPEEndpoint.java:128)
at
org.apache.servicemix.common.BaseLifeCycle.processExchange(BaseLifeCycle.java:374)
at
org.apache.servicemix.common.BaseLifeCycle$2.run(BaseLifeCycle.java:240)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
--
View this message in context:
http://www.nabble.com/multiple-start-activities-tf1904685.html#a5212503
Sent from the ServiceMix - User forum at Nabble.com.