IndexOutOfBoundsException thrown when trying to locate a service that includes 
a callback
-----------------------------------------------------------------------------------------

                 Key: TUSCANY-1347
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1347
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Embedded Runtime
    Affects Versions: Java-SCA-Next
            Reporter: Kevin Williams
             Fix For: Java-SCA-Next


More complete description and test case to follow

Here is the exception thrown...
[6/14/07 17:59:55:187 MDT] 00000020 SystemErr     R 
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.RangeCheck(ArrayList.java:572)
        at java.util.ArrayList.get(ArrayList.java:347)
        at 
org.apache.tuscany.sca.core.runtime.RuntimeComponentImpl.getServiceReference(RuntimeComponentImpl.java:98)
        at 
org.apache.tuscany.sca.core.runtime.RuntimeComponentImpl.createSelfReference(RuntimeComponentImpl.java:58)
        at 
org.apache.tuscany.sca.host.embedded.impl.EmbeddedSCADomain.getServiceReference(EmbeddedSCADomain.java:292)
        at 
org.apache.tuscany.sca.host.embedded.impl.EmbeddedSCADomain.getService(EmbeddedSCADomain.java:228)
        at 
org.apache.tuscany.sca.host.embedded.impl.SimpleCompositeContextImpl.locateService(SimpleCompositeContextImpl.java:80)
        at sca.fvt.EchoServiceImpl.asyncEcho(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


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

Reply via email to