[
https://issues.apache.org/jira/browse/TUSCANY-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Raymond Feng reassigned TUSCANY-1412:
-------------------------------------
Assignee: Raymond Feng
> NPE in DataBindingRuntimeWireProcessor in null output boundary case (and null
> input?)
> -------------------------------------------------------------------------------------
>
> Key: TUSCANY-1412
> URL: https://issues.apache.org/jira/browse/TUSCANY-1412
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Data Binding Runtime
> Affects Versions: Java-SCA-M2
> Environment: r540027
> Reporter: Scott Kurz
> Assignee: Raymond Feng
>
> Haven't checked the latest code...but...
> I have a Java method with signature: void myMethod(....whatever...)
> and the WSDL output wrapper elem is defined as:
> <xsd:element name="myMethodResponse">
> <xsd:complexType>
> <xsd:sequence/>
> </xsd:complexType>
> </xsd:element>
> I hit the following NPE when activating the Composite
> Caused by: java.lang.NullPointerException
> at
> org.apache.tuscany.core.databinding.wire.DataBindingRuntimeWireProcessor.isTransformationRequired(DataBindingRuntimeWireProcessor.java:51)
> at
> org.apache.tuscany.core.databinding.wire.DataBindingRuntimeWireProcessor.isTransformationRequired(DataBindingRuntimeWireProcessor.java:72)
> at
> org.apache.tuscany.core.databinding.wire.DataBindingRuntimeWireProcessor.isTransformationRequired(DataBindingRuntimeWireProcessor.java:99)
> at
> org.apache.tuscany.core.databinding.wire.DataBindingRuntimeWireProcessor.process(DataBindingRuntimeWireProcessor.java:116)
> The source DataType is:
> class java.lang.Object org.apache.axiom.om.OMElement Element:
> {http://blah}myMethodResponse Type: null
> But the target DataType corresponding to the 'void' is simply <null>
--
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]