Join Our 3 MILLION+ Members Today! Register Here | Login
Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > App Developers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 11-15-2010, 04:57 AM
CrackBerry Newbie
 
Join Date: Sep 2010
Posts: 4
Likes Received: 0
Thanked 0 Times in 0 Posts
Default Database io exception: FileSystemError(12)

I am developing an app that uses multiple screen.The main screen has one button which I use to read some data from the database.If some value is not inserted into one database table,second screen is displayed containing a text field to enter that value and a button for storing it into the database.When this second screen is displayed and the button on that screen is pressed,the value is stored in the database and the main screen is showed again.But when I press the button on the main screen in order to read the data from the database,io exception FileSystemError(12) occurs.Can someone help me with this?
Reply With Quote Tip this Post
  #2  
Old 11-15-2010, 08:34 PM
CrackBerry User
Device(s): 9530 (Storm)
Carrier: Verizon
 
Location: Grizzly Peak
Join Date: Dec 2008
Posts: 28
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

check your database connection, is it still closed?
Reply With Quote Tip this Post
    Thread Author   #3  
Old 11-16-2010, 01:28 AM
CrackBerry Newbie
 
Join Date: Sep 2010
Posts: 4
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

I've checked it and found one place that is entered only once but I didn't place the close() method there.Problem is solved.This is what happens when you have a large code and you use the database a lot
Thanks
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > App Developers   Database io exception: FileSystemError(12)

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes