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.
11-28-2012 05:06 PM
Without exiting the application, this message appears sometimes when the user selects my application's icon from the home screen. After this message appears, sometimes the device will hang and require a battery pull, and other times the application continues to run despite the error but the message will show every time I select the icon from the home screen afterwards. I understand that this error message can appear if the application exits without unregistering system registered listeners (I use many system registered listeners in this application) but the application stays open constantly.
Does this mean the application is trying to open again and again each time I select the icon from the homescreen? I believe I could solve this by using RuntimeStore, but I don't recall ever seeing this behaviour before.
11-28-2012 06:52 PM
Sorry I am not going to be able to shed much light on this. But I will add my 2p worth of observations.
I have seen this a lot in testing on the Simulator but not in 'production' or on a device. The app I see it a lot in is connected to BBM and I must admit that I thought this message was related to BBM, because I seldom see it on other apps and again only when they are BBM connected. As noted it does seem to happen when I crash off the application, but since I do nothing special on exit for BBM, I don't understand this When it happens I can usually blame something I did.
Like I said, doesn't help much, but I would be very interested to know if your app uses BBM.
11-28-2012 07:15 PM
Thanks for the input, Peter. I am not integrating with BBM in this application.
It is however a PushApplication and twice the error showed up after a push was received. I wonder if the bug is related to the OS handling the push messages even though I am getting the message just fine. The last time it happened I attached the debugger and no exceptions were thrown, but it didn't occur to me to step through the public static void main method with the debugger.
11-29-2012 02:52 AM
11-29-2012 07:11 AM
11-29-2012 07:16 AM
11-29-2012 08:15 AM
Like Simon, I am confused as to how you will see this if, when you press the icon, you are just bringing to foreground an already running application.
I would be looking at an alternate entry - even with an alternate entry there is still only one 'main'. But you have different processing based on the args. Is this the case with this app?
BTW, I believe I have seen cases where the message has been covered over by the actual application, so you see it on exit - but it has been there the whole time since you started the application.
11-29-2012 08:16 AM
11-29-2012 08:41 AM