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] [Commented] (SYNAPSE-901) Concurrency issue at Clone Mediator
Date Sun, 13 Jul 2014 00:11:04 GMT

    [ https://issues.apache.org/jira/browse/SYNAPSE-901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14059963#comment-14059963
] 

Udayanga Wickramasinghe commented on SYNAPSE-901:
-------------------------------------------------

Yes there seems to be an issue with the patch, I reverted it. 
[~malith] Can you please point to us how to reproduce the issue you were having. was it intermittent
?. your fix does not resolve that issue it seems.

> 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 was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message