You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org> on 2013/07/19 23:14:49 UTC

[jira] [Resolved] (SYNAPSE-892) JS mediator child dependancies (includes) not properly serializing throwing Class Cast Exception

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

Hiranya Jayathilaka resolved SYNAPSE-892.
-----------------------------------------

    Resolution: Fixed

Applied the patch with a test case. Thanks Dushan for the contribution.
                
> JS mediator child dependancies (includes) not properly serializing throwing Class Cast Exception
> ------------------------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-892
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-892
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1
>         Environment: ubuntu 12.04
>            Reporter: Dushan Sachinda Abeyruwan
>            Assignee: Hiranya Jayathilaka
>             Fix For: FUTURE
>
>         Attachments: synapse-extensions.patch
>
>
> When script mediator modifies as
> <script language="js" key="jsMaster" function="functionFoo">
>                         <include key="jschild1"/>
>                         <include key="jschild2/>
>   </script>
> seems child includes are not properly serializing
> java.lang.ClassCastException: org.apache.synapse.mediators.Value cannot be cast to java.lang.Comparable 
> INFO | jvm 1 | 2012/06/13 13:17:16 | at java.util.TreeMap.put(TreeMap.java:542) 
> INFO | jvm 1 | 2012/06/13 13:17:16 | at org.apache.synapse.mediators.bsf.ScriptMediatorFactory.getIncludeKeysMap(ScriptMediatorFactory.java:131) 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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