synapse-dev mailing list archives

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

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

Hudson commented on SYNAPSE-901:
--------------------------------

Integrated in Synapse - Trunk #4385 (See [https://builds.apache.org/job/Synapse%20-%20Trunk/4385/])
    commiting patches SYNAPSE-898,SYNAPSE-884, SYNAPSE-897 SYNAPSE-899, SYNAPSE-901 (Revision
1373302)

     Result = SUCCESS
uswick : 
Files : 
* /synapse/trunk/java/modules/core/pom.xml
* /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/CloneMediatorFactory.java
* /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/IterateMediatorFactory.java
* /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/IterateMediatorSerializer.java
* /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/TemplateMediatorFactory.java
* /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/TemplateMediatorSerializer.java
* /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/TemplateParameterFactory.java
* /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/TemplateParameterSerializer.java
* /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/libraries/util/LibDeployerUtils.java
* /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/TemplateParameter.java
* /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/template/TemplateContext.java
* /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/template/TemplateMediator.java
* /synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/libraries/eip
* /synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/libraries/eip/AbstractEipLibTestCase.java
* /synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/libraries/eip/EipLibTest.java
* /synapse/trunk/java/modules/core/src/test/resources/synapse-libraries/assembly/assemble-eip-lib.xml
* /synapse/trunk/java/modules/core/src/test/resources/synapse-libraries/synapse-eip-lib
* /synapse/trunk/java/modules/core/src/test/resources/synapse-libraries/synapse-eip-lib/artifacts.xml
* /synapse/trunk/java/modules/core/src/test/resources/synapse-libraries/synapse-eip-lib/eip_systemManagement
* /synapse/trunk/java/modules/core/src/test/resources/synapse-libraries/synapse-eip-lib/eip_systemManagement/artifact.xml
* /synapse/trunk/java/modules/core/src/test/resources/synapse-libraries/synapse-eip-lib/eip_systemManagement/template_splitter.xml
* /synapse/trunk/java/repository/conf/sample/synapse_sample_850.xml
* /synapse/trunk/java/repository/conf/sample/synapse_sample_851.xml
* /synapse/trunk/java/repository/conf/sample/synapse_sample_852.xml
* /synapse/trunk/java/repository/conf/sample/synapse_sample_853.xml
* /synapse/trunk/java/repository/conf/sample/synapse_sample_854.xml
* /synapse/trunk/java/repository/conf/sample/synapse_sample_855.xml
* /synapse/trunk/java/repository/conf/sample/synapse_sample_856.xml
* /synapse/trunk/java/repository/conf/sample/synapse_sample_857.xml

                
> 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