You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Laws (JIRA)" <tu...@ws.apache.org> on 2007/12/10 17:07:43 UTC
[jira] Updated: (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 ]
Simon Laws updated TUSCANY-1902:
--------------------------------
Fix Version/s: Java-SCA-1.1
> 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
> Fix For: Java-SCA-1.1
>
> 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