[ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]