You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Scott Kurz (JIRA)" <de...@tuscany.apache.org> on 2009/02/19 17:48:01 UTC

[jira] Created: (TUSCANY-2861) Null input not handled correctly over JMS binding for wireFormat.object, etc.

Null input not handled correctly over JMS binding for wireFormat.object, etc. 
------------------------------------------------------------------------------

                 Key: TUSCANY-2861
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2861
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA JMS Binding Extension
            Reporter: Scott Kurz


When invoking a no-arg method on a service exposed over <binding.jms> with Object wireFormat, we're passing a raw, 'null' as the message body from the binding layer into the Java invoker... causing an IllegalArgumentException.

This is for a Java method:
 xxx  myOperation();

I took a quick look and noticed that, in the binding-ws-axis2, we will send an Object[0] to this JavaImplementationInvoker code, (though that comes from a wrapped-style transform).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (TUSCANY-2861) Null input not handled correctly over JMS binding for wireFormat.object, etc.

Posted by "ant elder (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder reassigned TUSCANY-2861:
----------------------------------

    Assignee: ant elder

> Null input not handled correctly over JMS binding for wireFormat.object, etc. 
> ------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2861
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2861
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA JMS Binding Extension
>            Reporter: Scott Kurz
>            Assignee: ant elder
>
> When invoking a no-arg method on a service exposed over <binding.jms> with Object wireFormat, we're passing a raw, 'null' as the message body from the binding layer into the Java invoker... causing an IllegalArgumentException.
> This is for a Java method:
>  xxx  myOperation();
> I took a quick look and noticed that, in the binding-ws-axis2, we will send an Object[0] to this JavaImplementationInvoker code, (though that comes from a wrapped-style transform).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TUSCANY-2861) Null input not handled correctly over JMS binding for wireFormat.object, etc.

Posted by "ant elder (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder resolved TUSCANY-2861.
--------------------------------

    Resolution: Fixed

Fixed in r745958
An itest for this was added in 745956. 
(Also a couple of unrelated bugs in 745960 and 745961)

> Null input not handled correctly over JMS binding for wireFormat.object, etc. 
> ------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2861
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2861
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA JMS Binding Extension
>            Reporter: Scott Kurz
>            Assignee: ant elder
>
> When invoking a no-arg method on a service exposed over <binding.jms> with Object wireFormat, we're passing a raw, 'null' as the message body from the binding layer into the Java invoker... causing an IllegalArgumentException.
> This is for a Java method:
>  xxx  myOperation();
> I took a quick look and noticed that, in the binding-ws-axis2, we will send an Object[0] to this JavaImplementationInvoker code, (though that comes from a wrapped-style transform).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TUSCANY-2861) Null input not handled correctly over JMS binding for wireFormat.object, etc.

Posted by "ant elder (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder updated TUSCANY-2861:
-------------------------------

    Fix Version/s: Java-SCA-1.5

> Null input not handled correctly over JMS binding for wireFormat.object, etc. 
> ------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2861
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2861
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA JMS Binding Extension
>            Reporter: Scott Kurz
>            Assignee: ant elder
>             Fix For: Java-SCA-1.5
>
>
> When invoking a no-arg method on a service exposed over <binding.jms> with Object wireFormat, we're passing a raw, 'null' as the message body from the binding layer into the Java invoker... causing an IllegalArgumentException.
> This is for a Java method:
>  xxx  myOperation();
> I took a quick look and noticed that, in the binding-ws-axis2, we will send an Object[0] to this JavaImplementationInvoker code, (though that comes from a wrapped-style transform).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.