You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "clemens utschig (JIRA)" <tu...@ws.apache.org> on 2008/02/15 22:40:07 UTC

[jira] Updated: (TUSCANY-2049) wsdl/xml promotion of interface fails with NPE

     [ https://issues.apache.org/jira/browse/TUSCANY-2049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

clemens utschig updated TUSCANY-2049:
-------------------------------------

    Attachment: WSDLModelResolver.java

fix is attached (search for // cutschig - nodeMap )

> wsdl/xml promotion of interface fails with NPE
> ----------------------------------------------
>
>                 Key: TUSCANY-2049
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2049
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-1.1
>            Reporter: clemens utschig
>            Priority: Blocker
>             Fix For: Java-SCA-1.2
>
>         Attachments: WSDLModelResolver.java
>
>
>   <reference name="empFlexFieldService"
>              promote="FlexEmployeeServiceComponent/empFlexFieldService">
>     <!-- <interface.java interface="model.common.serviceinterface.EmpFlexFieldService"/> -->
>     <interface.wsdl interface="/model/common/#wsdl.interface(EmpFlexFieldService)" /> 
>     <binding.ws uri="http://localhost:8888/Application4710-Model-context-root/EmpFlexFieldService"/>
>   </reference>
> Having the above wsdl interface reference, a nullpointer occurs in org.apache.tuscany.sca.interfacedef.wsdl.xml.WSDLModelResolver -> line 338 (nodeMap.getLength()) because nodeMap is null for an element with name #document
> Null check fixes this

-- 
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