[
https://issues.apache.org/jira/browse/SYNAPSE-892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dushan Sachinda Abeyruwan updated SYNAPSE-892:
----------------------------------------------
Description:
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)
was:
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)
I send you the zip file in our FTP folder.
> 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
> Fix For: FUTURE
>
>
> 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:
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: [email protected]
For additional commands, e-mail: [email protected]