Hi, Gonzalo Rodríguez Píriz wrote:
> On Thu, May 24, 2012 at 4:23 PM, Jörg Schaible > <[email protected]>wrote: [snip] >> Basically, if you can read it once, you should be able to read it twice. >> ;-) >> >> Can you try to reproduce this outside of Android? The TreeMapConverter >> does some really ugly hacks though. Just in case you wonder: The converter tries to prevent the call of the (internal) comparator at all, since the elements are already in order and the call might have other unwanted side-effects. >> Do you use an own Comparator? Do your >> elements in the Map contain (indirect) references on the Map itself? >> >> - Jörg >> > Thank you Jörg, > > yes, that was what I though too :D > > Definitely it's a problem with the TreeMap, I replaced it with a HashMap > and now it works all the time. Anyway, the TreeMap was very simple, I > didn't use a comparator and it didn't had any references, only pairs > key-value with Boolean, Integer and String values. If you want me to I can > try to reproduce it outside Android later and see if it crashes too. In that case, I fear, it's Android only. Which XStream version you're using? > Thanks for the help :) You're welcome, Jörg --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
