开发者

JVM Error 525 : Bad persistent object

开发者 https://www.devze.com 2023-02-01 08:52 出处:网络
I\'m trying to add a string value and a customized horizontal field manager to a HashTable. String being the key and the custom horizontal field manager being the value. I do remove the pair from the

I'm trying to add a string value and a customized horizontal field manager to a HashTable. String being the key and the custom horizontal field manager being the value. I do remove the pair from the Hashtable whenever the horizon开发者_如何学Gotal field managers are removed from the screen. Also, I'm not persisting the Hashtable.

I get the error JVM Error 525 : Bad persistent object after a few minutes on the simulator. When I try to run the same build on a device it restarts after a few minutes of creation of the Hashtable. Please note that everything works fine if I just don't push anything in the Hashtable.

So my question is, is it wrong to put a Horizontal Field Manager or something extended from it in a HashTable? If not, what could be the problem here?


Make sure that all of the objects being persisted (including those added to the HashTable) implement the Persistable interface.

0

精彩评论

暂无评论...
验证码 换一张
取 消