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 2007/09/06 01:23:33 UTC

[jira] Resolved: (TUSCANY-1663) Unhelpful exception when user forgets to put @Remotable on Java service interface when it is wired to a WSDL interface (or used over WS binding).

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

Raymond Feng resolved TUSCANY-1663.
-----------------------------------

    Resolution: Fixed

I believe it's fixed under r572846. Please verify.

> Unhelpful exception when user forgets to put @Remotable on Java service interface when it is wired to a WSDL interface (or used over WS binding).
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1663
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1663
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Problem Determination
>            Reporter: Rashmi Hunt
>            Assignee: Raymond Feng
>             Fix For: Java-SCA-Next
>
>
> Unhelpful exception when user forgets to put @Remotable on Java service interface when it is wired to a WSDL interface (or used over WS binding).
> If I had a Java impl with an @Service pointing to a Java interface on which I forget the @Remotable annotation, and for which I had exposed the service via the WS binding with an <interface.wsdl> in SCDL I ended up with:
>                   java.lang.NullPointerException
> 	at org.apache.tuscany.sca.interfacedef.java.impl.JavaInterfaceUtil.findMethod(JavaInterfaceUtil.java:52)
> 	at org.apache.tuscany.sca.implementation.java.invocation.JavaComponentInfo.createTargetInvoker(JavaComponentInfo.java:388)
> 	at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationProvider.createInvoker(JavaImplementationProvider.java:132)
> 	at org.apache.tuscany.sca.core.runtime.CompositeActivatorImpl.addImplementationInterceptor(CompositeActivatorImpl.java:510)
> 	at org.apache.tuscany.sca.core.runtime.CompositeActivatorImpl.createWires(CompositeActivatorImpl.java:385)
> 	at org.apache.tuscany.sca.core.runtime.CompositeActivatorImpl.createRuntimeWires(CompositeActivatorImpl.java:269)
> 	at org.apache.tuscany.sca.core.runtime.CompositeActivatorImpl.activate(CompositeActivatorImpl.java:578)
> 	at org.apache.tuscany.sca.host.embedded.impl.EmbeddedSCADomain$DomainCompositeHelper.addComposite(EmbeddedSCADomain.java:124)

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