synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Udayanga Wickramasinghe (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SYNAPSE-901) Concurrency issue at Clone Mediator
Date Wed, 15 Aug 2012 10:06:38 GMT

     [ https://issues.apache.org/jira/browse/SYNAPSE-901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Udayanga Wickramasinghe resolved SYNAPSE-901.
---------------------------------------------

    Resolution: Fixed

committed in rev 1373302.Thanx Malith for your contribution..
                
> 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
>            Priority: Critical
>             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 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