You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Scott Kurz (JIRA)" <tu...@ws.apache.org> on 2007/07/05 16:27:05 UTC

[jira] Created: (TUSCANY-1412) NPE in DataBindingRuntimeWireProcessor in null output boundary case (and null input?)

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


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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Resolved: (TUSCANY-1412) NPE in DataBindingRuntimeWireProcessor in null output boundary case (and null input?)

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Feng resolved TUSCANY-1412.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: Java-SCA-Next

Fixed at the level r555163. 

> 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
>             Fix For: Java-SCA-Next
>
>
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Assigned: (TUSCANY-1412) NPE in DataBindingRuntimeWireProcessor in null output boundary case (and null input?)

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
     [ 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org