Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Highlighted
New Developer
Posts: 85
Registered: ‎12-02-2013
My Device: 9360 Curve
My Carrier: BSNL
Accepted Solution

DatabaseIOException:Bridge has been destroyed. The UMP or Java process may have died while creating sqllite database

Hello everyone,

 

I am creating a sqllite database in simulator using thic code:

 

Database d = null;
try
{
URI myURI = URI.create("file:///store/home/user/" +
"MyTestDatabase.db");
d = DatabaseFactory.create(myURI); // I am getting exception at this line
d.close();
}
catch ( Exception e )
{
System.out.println( e.getMessage() );
e.printStackTrace();
}

 

but i am unable to create database following exception has been thrown: DatabaseIOException:Bridge has been destroyed. The UMP or Java process may have died. please help me

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: DatabaseIOException:Bridge has been destroyed. The UMP or Java process may have died while creating sqllite database

What is a UMP?

 

I am not sure why you thin this problem may have been caused by a Java process failure.  Can you tell us this?

 

That said, I am not sure why you are getting this problem, but here are some things I would think about:

 

1) are you running this on a Simulator with a level of OS >= your build OS?

2) I would try the sqlitedemo that should come with Eclipse.

3) If you are doing this processing in startup, then make sure you give the OS time to actually startup and establish access to the SD Card.

 

 

New Developer
Posts: 85
Registered: ‎12-02-2013
My Device: 9360 Curve
My Carrier: BSNL

Re: DatabaseIOException:Bridge has been destroyed. The UMP or Java process may have died while creating sqllite database

Hi peter Thanks for you reply,

 

I don't know what is ump,

 

1) I try sqllitedemo that comes with eclipse,it also throws same exception with same message.

2)  both my build os version and simulator are same which is OS 7.1.

3) Yes i wrote safe initialization code and give enough time to establish access to the SD card.

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: DatabaseIOException:Bridge has been destroyed. The UMP or Java process may have died while creating sqllite database

Which Simulator are you using when you see this same error with sqlitedemo application?  I will test that myself to see if I can replicate the issue.

 

Also you said

 

"I don't know what is ump,"

 

but in the initial post you said

 

"The UMP or Java process may have died"

 

So what did you mean?

New Developer
Posts: 85
Registered: ‎12-02-2013
My Device: 9360 Curve
My Carrier: BSNL

Re: DatabaseIOException:Bridge has been destroyed. The UMP or Java process may have died while creating sqllite database

I am using Blackberry 9900 OS 7.1 simulator, and "DatabaseIOException:Bridge has been destroyed. The UMP or Java process may have died" this is the exception messsage while i try to create database so i haven't any idea about what is ump.

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: DatabaseIOException:Bridge has been destroyed. The UMP or Java process may have died while creating sqllite database

[ Edited ]

Ah, I see, I didn't realise that was part of the error message.

 

I have just run the SQLiteDemo in the OS 7.1 9900 Simulator that comes installed with the 7.1 Eclipse plug in.  It works fine (once I had added the SD Card of course).  If you can't run that, then I suspoect you have something very corrupted in your installation.  I would redownload and re-install Eclipse from here:

http://developer.blackberry.com/bbos/java/download/

First of course, make sure that your PC matches the specifications required:

http://developer.blackberry.com/bbos/java/download/requirements/