You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Raymond Feng (JIRA)" <tu...@ws.apache.org> on 2008/04/04 21:05:25 UTC
[jira] Resolved: (TUSCANY-2193) NPE when configuring WSDL interface
on component ref when the component has a Composite impl
[ https://issues.apache.org/jira/browse/TUSCANY-2193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raymond Feng resolved TUSCANY-2193.
-----------------------------------
Resolution: Fixed
Fixed under r644824
> NPE when configuring WSDL interface on component ref when the component has a Composite impl
> --------------------------------------------------------------------------------------------
>
> Key: TUSCANY-2193
> URL: https://issues.apache.org/jira/browse/TUSCANY-2193
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Core Runtime
> Reporter: Scott Kurz
> Assignee: Raymond Feng
> Priority: Minor
>
> I noticed this with a more complicated example.
> To reproduce more simply maybe, go to the SVN dir: sca/itest/recursive
> and modify BComposite.composite so it looks like:
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> targetNamespace="http://sample"
> xmlns:sample="http://sample"
> name="BComposite">
> ....
> <component name="BComponent">
> <implementation.composite name="sample:CComposite"/>
> <reference name="PromotedRefX">
> <interface.wsdl interface="http://blah#wsdl.interface(Blah)" />
> </reference>
> ....
> Note that you can put any old WSDL in there. You shouldn't get far enough for it to even matter.
> You'll hit errors like:
> java.lang.NullPointerException
> at org.apache.tuscany.sca.interfacedef.impl.InterfaceContractMapperImpl.checkCompatibility(InterfaceContractMapperImpl.java:155)
> at org.apache.tuscany.sca.interfacedef.impl.InterfaceContractMapperImpl.isCompatible(InterfaceContractMapperImpl.java:271)
> at org.apache.tuscany.sca.assembly.builder.impl.CompositeConfigurationBuilderImpl.reconcileReferences(CompositeConfigurationBuilderImpl.java:527)
> at org.apache.tuscany.sca.assembly.builder.impl.CompositeConfigurationBuilderImpl.configureComponents(CompositeConfigurationBuilderImpl.java:250)
> at org.apache.tuscany.sca.assembly.builder.impl.CompositeConfigurationBuilderImpl.configureComponents(CompositeConfigurationBuilderImpl.java:85)
> at org.apache.tuscany.sca.assembly.builder.impl.CompositeBuilderImpl.build(CompositeBuilderImpl.java:97)
--
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