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
Developer
Posts: 214
Registered: ‎03-18-2012
My Device: 8520
My Carrier: Company
Accepted Solution

Blackberry OS force close my Application...

Hi,

       Blackberry os kill my Application after some time....

       In the application i just send pin messages in a infinite loop. when messages sent become higer than 2000, my application automatically close with System exception dialog ( uncaught exception (289) process has been terminated).

 

pls suggest .

Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: Blackberry OS force close my Application...

This message simply says "your program had an error that you did not catch".

 

You need to perform basic problem determination - for example, get the stack trace from the exception and locate the cause of the error.

 

You didn't say if this is on the device or the simulator. If simulator, this should be relatively easy - you should view the stack trace in the debug view.

 

If the device, you'll need to get the event log from the device (or view it on the device).

 

Come back with more specific questions when you determine the exact error and the operation that caused it.

 

Developer
Posts: 214
Registered: ‎03-18-2012
My Device: 8520
My Carrier: Company

Re: Blackberry OS force close my Application...

Hi ,
I have caught all the exceptions , and i tested it on the device and still finding the reason for it....
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Blackberry OS force close my Application...

Can you give us the exact messages that you see?

 

Have you looked in the Event log at the time of the error to see what it actually says?

 

It might be that the application 'limiter' in OS 7.0 is shutting your application down because it feels your application is consuming too many resources.  Here is the appropriate Developers Blog article:

 

http://devblog.blackberry.com/2012/05/application-resource-monitor/

 

A couple of other people have reported similar problems:

 

http://supportforums.blackberry.com/t5/Java-Development/My-app-has-been-closed-as-draining-resources...

 

http://supportforums.blackberry.com/t5/Java-Development/Application-Monitor-Why-is-my-app-being-kill...