Expand my Community achievements bar.

Null Object is returned when using RemoteObject

Avatar

Level 1
Hi,

I don't seem to be able to call a Java method using
RemoteObject if the Java method returns an Object that consists of
non-primitive type. For example, if the returned object consists of
a String and List<String>, I get the String value, but not
the List. The list is always null. It seems the returned object on
the client side is a ObjectProxy, but I don't have a way of
accessing the original object it wrapped. Does anybody know how to
get the Object returned when using RemoteObject?



Thanks :)
0 Replies