BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 04-10-2009, 02:25 AM   #1 (permalink)
Knows Where the Search Button Is
Join Date: Mar 2009
Model: 8100
Carrier: Airtel
Posts: 16
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Problem while fetchin data from Persistent Store

Please Login to Remove!

Hello Everyone,

I want you all to please help me in the problem i am facing with this Persistent Store using Blackberry.

Actually when i run my application the very first time then the data which i get from server i save it in a vector and then i save this complete vector in the persistent store.

Then when i exit the application and start application, then i load the stored data inside the persistent store which i made earlier.

Everything works perfectly..

Then when i again exit application the third time and start the application once again and try to load the stored data from persistent store, the vector inside the persisten store gets null. The Persistent Store exist and even the Vector inside that exist but the data inside that vector gets null.

I hope i am enough clear....if not then plz do ask me question...

Thanks in advance
Old 04-10-2009, 08:21 AM   #2 (permalink)
BlackBerry Extraordinaire
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts

Use the simulator/debugger to watch the vector to see when it its getting set to null and committed to the store.

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