[ 
http://issues.apache.org/jira/browse/TUSCANY-767?page=comments#action_12439768 
] 
            
Jim Marino commented on TUSCANY-767:
------------------------------------

I've applied the patch for kernel with some additional test cases. I think 
there are execution paths that are not covered so we should probably add more 
test cases for this.

I did not check in the changes to the sample as I am getting the following 
error:

org.apache.tuscany.spi.wire.InvocationRuntimeException: 
java.lang.NullPointerException
        at 
org.apache.tuscany.core.databinding.impl.DataBindingInteceptor.invoke(DataBindingInteceptor.java:76)
        at 
org.apache.tuscany.core.wire.AbstractOutboundInvocationHandler.invoke(AbstractOutboundInvocationHandler.java:65)
        at 
org.apache.tuscany.core.wire.jdk.JDKOutboundInvocationHandler.invoke(JDKOutboundInvocationHandler.java:121)
        at $Proxy17.clientMethod(Unknown Source)
        at 
innercomposite.InnerCompositeTestCase.test(InnerCompositeTestCase.java:39)

Caused by: java.lang.NullPointerException
        at 
org.apache.tuscany.core.databinding.impl.DataBindingInteceptor.invoke(DataBindingInteceptor.java:71)
        at 
org.apache.tuscany.core.wire.SynchronousBridgingInterceptor.invoke(SynchronousBridgingInterceptor.java:41)
        at 
org.apache.tuscany.core.wire.SynchronousBridgingInterceptor.invoke(SynchronousBridgingInterceptor.java:41)
        at 
org.apache.tuscany.core.databinding.impl.DataBindingInteceptor.invoke(DataBindingInteceptor.java:71)
        at 
org.apache.tuscany.core.wire.AbstractOutboundInvocationHandler.invoke(AbstractOutboundInvocationHandler.java:65)
        at 
org.apache.tuscany.core.wire.jdk.JDKOutboundInvocationHandler.invoke(JDKOutboundInvocationHandler.java:121)


> NPE in CompositeReference.java when service is defined using interface wsdl
> ---------------------------------------------------------------------------
>
>                 Key: TUSCANY-767
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-767
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core
>    Affects Versions: Java-M2
>            Reporter: Rick Rineholt
>         Assigned To: Jim Marino
>            Priority: Blocker
>             Fix For: Java-M2
>
>         Attachments: OperationInvocationHandlers.patch, 
> OperationInvocationHandlersWithTestCase.patch
>
>
> If a service is defined using interface wsdl the service contract does not 
> have an interface class this results in 
> org.apache.tuscany.core.implementation.composite.CompositeReference getting 
> an NPE.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to