BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 02-11-2009, 10:59 PM   #1 (permalink)
New Member
 
Join Date: Feb 2009
Model: 8320
PIN: N/A
Carrier: Rogers
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Data lost in RecordStore

Please Login to Remove!

I have a J2ME application running on the BlackBerry that uses the RecordStore API to store binary data in records where each record is 512 bytes long. I have an issue where the data in the records is being wiped and replaced with all zeroes. In the most recent reported example the RecordStore contained 28 records for a total of 14436 bytes of data. When the application started and opened the RecordStore the record count was still 28 and each of the records was still 512 bytes in size but all the bytes were zeroed.

If it was just corruption of one or two records I'd assume it is a bug in my app or perhaps some kind of power loss event, but I don't see how all the data can be erased. Does anyone know of a scenario in which this will occur as well as some techniques to mitigate it? I'm thinking of using shadow pages in an parallel record store but that is wasteful on a resource constrained device.

Thanks,
Mike
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

NETWORK UNLOCK CODE FOR USA AT&T BLACKBERRY Z10 FOR Z10 ONLY
$4.49
 NETWORK UNLOCK CODE FOR USA AT&T BLACKBERRY Z10 FOR Z10 ONLY pictureOnly Rogers Fido Locked Google Pixel Pixel XL Sonim XP7 Huawei ZTE Blackberry LG
$2.94
Only Rogers Fido Locked Google Pixel Pixel XL Sonim XP7 Huawei ZTE Blackberry LG pictureRogers Fido Canada Unlock Codes Blackberry Z10 Z30 Q10 Q5 Z30 Passport Leap Priv
$2.94
Rogers Fido Canada Unlock Codes Blackberry Z10 Z30 Q10 Q5 Z30 Passport Leap Priv pictureBlackberry Trackball breakout board four spindles 2.5V~5.25V
$2.99
Blackberry Trackball breakout board four spindles 2.5V~5.25V pictureNew 6799-Blackberry Smoke Tour 2018 T SHIRT Size S-5XL
$17.99
New 6799-Blackberry Smoke Tour 2018 T SHIRT Size S-5XL picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.