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
Priority: Minor
Fix For: Java-SCA-1.0.1
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]