You are correct, the issue is with the List interface. However, I get yet
another problem when I change the List into an ArrayList. It seems like
Dalvik is unable to handle deserialization of the HashMap, or atleast
handles it in a different way than JavaSE. I get an error message like so
from Dalvik:

GetFieldID: unable to find field Ljava/util/Hashtable;.loadFactor:F

If you google this there“s a bunch of results regarding the same issue. It
seems like I have to resolve to using JSON/XML to transfer the objects
instead.

--
View this message in context: 
http://restlet-discuss.1400322.n2.nabble.com/ArrayList-returned-as-to-client-as-null-tp6174616p6178994.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2711995

Reply via email to