10-26-2008 08:27 PM
I'm developing application that performs server quires and results storing (some text and graphics)
into the PersistentStore (currently I'm using 3 PersistentObjects with different keys - to avoid possible
But last time, after application install device goes to reboot and comes up without any user data (contacts,
message, calendar entries). Tested with 8300 Curve.
Any ideas? Need help!
10-28-2008 10:22 AM
10-28-2008 12:23 PM - edited 10-28-2008 12:25 PM
Thanks for your answer!
Its seems that this problem happens when I try to save byte array with a raw image data (PNG image from EncodedImage.getData()) as a member of persistent object. When I remove this part of code all works fine. (This EncodedImage created from resources with getEncodedImageResource() method. Saving byte arrays not from resources does not cause this issue.)
This issue also reproduced on 8100 with 18.104.22.168 OS as "JVM 529 error" on device startup.
10-30-2008 05:20 PM
What version of the BlackBerry JDE are you using? How much memory are you using for your persistent items? Are you using up all of the available device memory? If so, the BlackBerry could be trying to free available memory by deleting a user's content (old email, then old calendar appointments, etc...).
11-03-2008 07:21 AM
I'm using JDE 4.2.1.
I'm not sure that this problem related with device's available memory because all works fine when I store this data not from resources but from SDCard.
I can store several downloaded photos but storing one photo from resource raises this issue (all photos are not very big: 30-100Kb).
11-03-2008 11:10 AM - edited 11-03-2008 11:11 AM
11-11-2008 01:55 PM
I have already checked this. But I'm getting error when store object from resources and does not get any issues when store downloaded photos into this same persistence object.
What do you mean by "object from resources"? How much free space do you see if you go to Options, Status on the BlackBerry handheld?