You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Lou Amodeo (JIRA)" <tu...@ws.apache.org> on 2007/01/09 20:06:27 UTC

[jira] Updated: (TUSCANY-964) Class Cast Excdeption on Service Reference

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

Lou Amodeo updated TUSCANY-964:
-------------------------------

    Component/s: Java SCA Integration Tests

> Class Cast Excdeption on Service Reference
> ------------------------------------------
>
>                 Key: TUSCANY-964
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-964
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core, Java SCA Integration Tests
>            Reporter: Lou Amodeo
>
> Attempt to set a calback using the API.  It looks like the $Proxy19 returned does not impliment the ServiceReference interface.   
> -------------------------------------------------------------------------------
> Test set: org.apache.tuscany.sca.test.CallBackSetCallbackITest
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.021 sec <<< FAILURE!
> testCallBackSetCallback(org.apache.tuscany.sca.test.CallBackSetCallbackITest)  Time elapsed: 0.01 sec  <<< ERROR!
> java.lang.ClassCastException: $Proxy19 incompatible with org.osoa.sca.ServiceReference
> 	at org.apache.tuscany.sca.test.CallBackSetCallbackClientImpl.test1(CallBackSetCallbackClientImpl.java:54)
> 	at org.apache.tuscany.sca.test.CallBackSetCallbackClientImpl.run(CallBackSetCallbackClientImpl.java:29)
> 	at org.apache.tuscany.sca.test.CallBackSetCallbackITest.testCallBackSetCallback(CallBackSetCallbackITest.java:12)
> code snippit: 
>  ((ServiceReference) aCallBackService).setCallback(callBack);

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org