Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Java-SCA-1.0
-
None
-
Patch Available
Description
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.