synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Malith Dhanushka (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SYNAPSE-897) Concurrency issue at Iterate Mediator
Date Mon, 30 Jul 2012 19:57:34 GMT
Malith Dhanushka created SYNAPSE-897:
----------------------------------------

             Summary: Concurrency issue at Iterate Mediator
                 Key: SYNAPSE-897
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-897
             Project: Synapse
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.1
         Environment: Any
            Reporter: Malith Dhanushka
             Fix For: FUTURE


Iterate mediator randomly generates following exception,

[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:176)
	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)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message