BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 06-08-2007, 10:15 AM   #1
bmihailescu
New Member
 
Join Date: Jun 2007
Model: 8100
PIN: N/A
Carrier: oRANGE
Posts: 5
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, 02:36 AM   #2
rafo
New Member
 
Join Date: Jun 2007
Model: 8800
PIN: N/A
Carrier: T-Mobile
Posts: 1
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, 08:03 AM   #3
bcbas
New Member
 
Join Date: Jun 2007
Location: Rio de Janeiro, Brazil
Model: 8700
PIN: N/A
Carrier: vodafone
Posts: 1
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, 08:24 AM   #4
jfisher
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
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, 10:03 AM   #5
Skipper_Joe
Talking BlackBerry Encyclopedia
 
Skipper_Joe's Avatar
 
Join Date: Jan 2007
Location: Kharkov, Ukraine
Model: 8300
Carrier: N/A
Posts: 237
Default

Will it help to run this intensive loop in separate thread?
Offline  
Old 06-21-2007, 10:36 AM   #6
jfisher
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
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
AxelE
Thumbs Must Hurt
 
Join Date: May 2007
Location: Berlin
Model: 8100
PIN: N/A
Carrier: O2
Posts: 127
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



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Genuine A1417 OEM Battery Apple Macbook Pro 15 Retina A1398 Mid 2012 Early 2013 picture

Genuine A1417 OEM Battery Apple Macbook Pro 15 Retina A1398 Mid 2012 Early 2013

$40.90



OEM Battery for MacBook Pro 17

OEM Battery for MacBook Pro 17" A1309 A1297 Early 2009 Mid 2009 2010 MC226

$40.90



NEW OEM Battery A1466 A1369 A1496 A1405 A1377 A1466 for MacBook Air 13 inch picture

NEW OEM Battery A1466 A1369 A1496 A1405 A1377 A1466 for MacBook Air 13 inch

$31.90



iPhone 13 12 11 PRO MAX XR XS 8/7/6 Fast Charger USB Data Cable cord 10 feet/3M picture

iPhone 13 12 11 PRO MAX XR XS 8/7/6 Fast Charger USB Data Cable cord 10 feet/3M

$4.99



A1618 NEW OEM Battery for MacBook Pro 15

A1618 NEW OEM Battery for MacBook Pro 15" Retina A1398 Mid 2015 020-00079

$43.90



Genuine OEM A1417 Battery For Apple Macbook Pro 15

Genuine OEM A1417 Battery For Apple Macbook Pro 15" Retina A1398 2012 2013 NEW

$40.90







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