Device Exception

 

Console Exception Stack Trace

ERROR/AndroidRuntime(597): Uncaught handler: thread Main exiting due to uncaught exception
ERROR/AndroidRuntime(597): java.lang.RuntimeException: Unable to start activity ComponentInfo{calculator.android/calculator.android.CalculatorClient}: org.osoa.sca.ServiceUnavailableException: Service not found for component CalculatorServiceComponent reference setAddService (bindingURI=null operation=add). Ensure that the composite containing the service is loaded and started somewhere in the SCA domain and that if running in a remote node that the interface of the target service marked as @Remotable
ERROR/AndroidRuntime(597):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1758)
ERROR/AndroidRuntime(597):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1770)
ERROR/AndroidRuntime(597):     at android.app.ActivityThread.access$1500(ActivityThread.java:99)
ERROR/AndroidRuntime(597):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1271)
ERROR/AndroidRuntime(597):     at android.os.Handler.dispatchMessage(Handler.java:80)
ERROR/AndroidRuntime(597):     at android.os.Looper.loop(Looper.java:91)
ERROR/AndroidRuntime(597):     at android.app.ActivityThread.main(ActivityThread.java:3052)
ERROR/AndroidRuntime(597):     at java.lang.reflect.Method.invokeNative(Native Method)
ERROR/AndroidRuntime(597):     at java.lang.reflect.Method.invoke(Method.java:356)
ERROR/AndroidRuntime(597):     at android.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1547)
ERROR/AndroidRuntime(597):     at android.os.ZygoteInit.main(ZygoteInit.java:1445)
ERROR/AndroidRuntime(597):     at android.dalvik.NativeStart.main(Native Method)
ERROR/AndroidRuntime(597): Caused by: org.osoa.sca.ServiceUnavailableException: Service not found for component CalculatorServiceComponent reference setAddService (bindingURI=null operation=add). Ensure that the composite containing the service is loaded and started somewhere in the SCA domain and that if running in a remote node that the interface of the target service marked as @Remotable
ERROR/AndroidRuntime(597):     at org.apache.tuscany.sca.binding.sca.impl.RuntimeSCAReferenceBindingProvider.createInvoker(RuntimeSCAReferenceBindingProvider.java:247)
ERROR/AndroidRuntime(597):     at org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.addReferenceBindingInterceptor(RuntimeWireImpl.java:228)
ERROR/AndroidRuntime(597):     at org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.initInvocationChains(RuntimeWireImpl.java:167)
ERROR/AndroidRuntime(597):     at org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.getInvocationChains(RuntimeWireImpl.java:109)
ERROR/AndroidRuntime(597):     at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.getInvocationChain(JDKInvocationHandler.java:243)
ERROR/AndroidRuntime(597):     at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:148)
ERROR/AndroidRuntime(597):     at $Proxy2.add(Native Method)
ERROR/AndroidRuntime(597):     at calculator.CalculatorServiceImpl.add(CalculatorServiceImpl.java:55)
ERROR/AndroidRuntime(597):     at java.lang.reflect.Method.invokeNative(Native Method)
ERROR/AndroidRuntime(597):     at java.lang.reflect.Method.invoke(Method.java:356)
ERROR/AndroidRuntime(597):     at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:109)
ERROR/AndroidRuntime(597):     at org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingInvoker.java:61)
ERROR/AndroidRuntime(597):     at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:286)
ERROR/AndroidRuntime(597):     at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:154)
ERROR/AndroidRuntime(597):     at $Proxy1.add(Native Method)
ERROR/AndroidRuntime(597):     at calculator.android.CalculatorClient.onCreate(CalculatorClient.java:24)
ERROR/AndroidRuntime(597):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:847)
ERROR/AndroidRuntime(597):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1728)
ERROR/AndroidRuntime(597):     ... 11 more
  • No labels