[ https://issues.apache.org/jira/browse/SYNAPSE-901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Isuru Udana Loku Narangoda reassigned SYNAPSE-901: -------------------------------------------------- Assignee: Isuru Udana Loku Narangoda (was: Hiranya Jayathilaka) > Concurrency issue at Clone Mediator > ----------------------------------- > > Key: SYNAPSE-901 > URL: https://issues.apache.org/jira/browse/SYNAPSE-901 > Project: Synapse > Issue Type: Bug > Components: Core > Affects Versions: 2.1 > Environment: Any > Reporter: Malith Dhanushka > Assignee: Isuru Udana Loku Narangoda > Priority: Blocker > Fix For: FUTURE > > Attachments: SYNAPSE-901.patch > > > This issue is very much identical to the issue SYNAPSE-897. Clone mediator > gives following exception when messages are processed in parallel, > [SynapseWorker-2] ERROR MediatorWorker Unexpected error executing task/async > inject > java.util.EmptyStackException > at java.util.Stack.peek(Stack.java:85) > at > org.apache.synapse.util.xpath.SynapseXPathVariableContext.getVariableValue(SynapseXPathVariableContext.java:157) > at org.jaxen.ContextSupport.getVariableValue(ContextSupport.java:215) > at org.jaxen.Context.getVariableValue(Context.java:196) > at > org.jaxen.expr.DefaultVariableReferenceExpr.evaluate(DefaultVariableReferenceExpr.java:103) > at org.jaxen.expr.DefaultXPathExpr.asList(DefaultXPathExpr.java:102) > at org.jaxen.BaseXPath.selectNodesForContext(BaseXPath.java:677) > at org.jaxen.BaseXPath.selectNodes(BaseXPath.java:216) > at org.jaxen.BaseXPath.evaluate(BaseXPath.java:175) > at > org.apache.synapse.util.xpath.SynapseXPath.stringValueOf(SynapseXPath.java:172) > at > org.apache.synapse.mediators.transform.HeaderMediator.mediate(HeaderMediator.java:79) > at > org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60) > at > org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:114) > at > org.apache.synapse.mediators.MediatorWorker.run(MediatorWorker.java:69) > 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:662) > Exception in thread "SynapseWorker-2" java.lang.NullPointerException > at org.apache.synapse.FaultHandler.handleFault(FaultHandler.java:78) > at > org.apache.synapse.mediators.MediatorWorker.run(MediatorWorker.java:90) > 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:662) -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@synapse.apache.org For additional commands, e-mail: dev-h...@synapse.apache.org