You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Raymond Feng (JIRA)" <tu...@ws.apache.org> on 2007/11/08 19:48:50 UTC

[jira] Resolved: (TUSCANY-1902) Input2InputTransformer doesn't handle null input going from SDO->AXIOM

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

Raymond Feng resolved TUSCANY-1902.
-----------------------------------

    Resolution: Fixed
      Assignee: Raymond Feng

Patch applied under r593250. Thank Scott for providing the patch.

> Input2InputTransformer doesn't handle null input going from SDO->AXIOM
> ----------------------------------------------------------------------
>
>                 Key: TUSCANY-1902
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1902
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Data Binding Runtime
>    Affects Versions: Java-SCA-1.0
>            Reporter: Scott Kurz
>            Assignee: Raymond Feng
>            Priority: Minor
>         Attachments: 1902.patch
>
>
> I get the following: 
>   java.lang.NullPointerException
> 	at org.apache.tuscany.sca.core.databinding.transformers.Input2InputTransformer.transform(Input2InputTransformer.java:127)
> 	at org.apache.tuscany.sca.core.databinding.transformers.Input2InputTransformer.transform(Input2InputTransformer.java:46)
> 	at org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediate(MediatorImpl.java:73)
> when invoking a method such as:
> public Person getGreetings() 
> where Person is an SDO causing the SDO databinding to be set at the impl DB level, and where I am using the WS binding, causing AXIOM to be used as the target DB.
> I'll attach a simple patch to check for null first in the unwrapped->wrapped case in which the problem occurs.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org