Yes, I debug the code, and the Image.getImageMetadata() is called from the method, org.apache.tuscany.sca.invocation.Message invoke(org.apache.tuscany.sca.invocation.Message msg) .
So I handled the situation by adding an additional attribute to the Image class, which specifies whether the image is remote or local. And then, there are no errors. :-) Thank you /subash
