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

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...