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

View: New views
5 Messages — Rating Filter:   Alert me  

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

by JIRA jira@apache.org :: Rate this Message:

| View Threaded | Show Only this Message

Dushan Sachinda Abeyruwan created SYNAPSE-892:
-------------------------------------------------

             Summary: 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: Improvement
          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)

I send you the zip file in our FTP folder.

--
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@...
For additional commands, e-mail: dev-help@...


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

by JIRA jira@apache.org :: Rate this Message:

| View Threaded | Show Only this Message


     [ 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: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


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

by JIRA jira@apache.org :: Rate this Message:

| View Threaded | Show Only this Message


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

Dushan Sachinda Abeyruwan updated SYNAPSE-892:
----------------------------------------------

    Issue Type: Bug  (was: Improvement)
   

> 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)
> I send you the zip file in our FTP folder.

--
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@...
For additional commands, e-mail: dev-help@...


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

by JIRA jira@apache.org :: Rate this Message:

| View Threaded | Show Only this Message


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

Dushan Sachinda Abeyruwan updated SYNAPSE-892:
----------------------------------------------

    Attachment: synapse-extensions.patch
   

> 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
>
>         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: 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@...
For additional commands, e-mail: dev-help@...


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

by JIRA jira@apache.org :: Rate this Message:

| View Threaded | Show Only this Message


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

Andreas Veithen commented on SYNAPSE-892:
-----------------------------------------

Can you please submit a unit test?
               

> 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
>
>         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: 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@...
For additional commands, e-mail: dev-help@...