BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-08-2007, 11:15 AM   #1 (permalink)
New Member
 
Join Date: Jun 2007
Model: 8100
PIN: N/A
Carrier: oRANGE
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default "Uncaught exception" on 8100

Please Login to Remove!

I'm getting the following exception in my application while trying to read some email messages (my application is called MyTest and is in background at that time):

"Uncaught exception: Application MyTest (167) is not responding; process terminated".

Can anyone tell me the meaning of that number(167) and whether this is a known problem with 8100?

Thanks,
Bogdan
Offline  
Old 06-19-2007, 03:36 AM   #2 (permalink)
New Member
 
Join Date: Jun 2007
Model: 8800
PIN: N/A
Carrier: T-Mobile
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

167 - is your application (MyTest) process number.

I just met the same error on to my Blackberry 8800. For the moment I have no idea why this problem occured.
Offline  
Old 06-19-2007, 09:03 AM   #3 (permalink)
New Member
 
Join Date: Jun 2007
Location: Rio de Janeiro, Brazil
Model: 8700
PIN: N/A
Carrier: vodafone
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had a similar problem when trying to launch an application that took some time processing. I found that for the BlackBerry OS my app was not responding anymore (while, in fact, it was just processing a lot of data).

The BlackBerry OS seems to have a type of watchdog process that is resposible for killing applications that do not respond to events for some time. So, I've solved this by creating a background thread responsible for handling events from time to time (calling setAcceptEvents() from Application class).

Hope it can help you guys.
Offline  
Old 06-19-2007, 09:24 AM   #4 (permalink)
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

bcbas is right - if you have a loop that's quite intensive and that creates objects the vm might detect it as a broken process and terminate the application.
__________________
new job doesn't allow a public profile - please do not contact this user with questions, you will not get a response. good luck!
Offline  
Old 06-21-2007, 11:03 AM   #5 (permalink)
Talking BlackBerry Encyclopedia
 
Skipper_Joe's Avatar
 
Join Date: Jan 2007
Location: Kharkov, Ukraine
Model: 8300
Carrier: N/A
Posts: 237
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Will it help to run this intensive loop in separate thread?
Offline  
Old 06-21-2007, 11:36 AM   #6 (permalink)
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

good question - i don't know!

i've only seen it happen on the ui/main event thread.
__________________
new job doesn't allow a public profile - please do not contact this user with questions, you will not get a response. good luck!
Offline  
Old 12-18-2007, 02:45 AM   #7 (permalink)
Thumbs Must Hurt
 
Join Date: May 2007
Location: Berlin
Model: 8100
PIN: N/A
Carrier: O2
Posts: 127
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

bcbac,

having a similar problem with my application MiniMoni, I would be interested in a code snippet for this setAcceptEvents()

AxelE

Quote:
Originally Posted by bcbas View Post
I had a similar problem when trying to launch an application that took some time processing. I found that for the BlackBerry OS my app was not responding anymore (while, in fact, it was just processing a lot of data).

The BlackBerry OS seems to have a type of watchdog process that is resposible for killing applications that do not respond to events for some time. So, I've solved this by creating a background thread responsible for handling events from time to time (calling setAcceptEvents() from Application class).

Hope it can help you guys.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.