开发者

Runtime EXception on re-compile the code in Blackberry

开发者 https://www.devze.com 2023-04-12 22:39 出处:网络
I\'ve created app.It working fine. When i\'ve changed some code and compile, it throws \"Runtime EXception.\"

I've created app.It working fine.

When i've changed some code and compile, it throws "Runtime EXception."

After i've deleted *.dmp file. Its working fine.

Everytime i compile it throw开发者_运维技巧 the exception. i delete *.dmp file and re execute.

Pls help me what is the problem and how to avoid it.


On my experience this error is connected to changes in data structures you save/load from/to PersistentStore.

If you have stored object with a particular structure, and after that you change your object structure, you will get exception upon loading this object from the persistent store.

Removing dmp files cleans your simulator persistent store and your app works fine. But with old, non-compatible objects stored in dmp file (simulator persistent store) you get the exception.

0

精彩评论

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

关注公众号