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

Lot of 8 - 46" Samsung Frameless Monitor / Panel LTI460AA04 / Video Wall
$1499.95
Lot of 8  - 46Samsung MultiXpress K7600LX K7600GX K7500LX Drum Unit W Develop MLT-R706 MLTR706
$181.0
Samsung MultiXpress K7600LX K7600GX K7500LX Drum Unit W Develop MLT-R706 MLTR706 pictureVerizon Samsung Network Extender SCS-25UC4
$19.99
Verizon Samsung Network Extender SCS-25UC4 pictureSAMSUNG MEDISON 3D4-9 4D ENDOCAVITY PROBE FOR H60, U6 AND R7
$1999.0
SAMSUNG MEDISON 3D4-9 4D ENDOCAVITY PROBE FOR H60, U6 AND R7 pictureLot of 5 Samsung OfficeServ DS-5021D 12-Button Display Business Phones. Warranty
$99.0
Lot of 5 Samsung OfficeServ DS-5021D 12-Button Display Business Phones. Warranty picture






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