07-14-2011 08:24 AM
I get the above message very sporadically, but it is still a message that should defenitely not appear on a user`s mobile. The message appears as a dialog when I start my app on Bold Touch 9900.
The issue has already been discussed in a different thread but the solution found there didn't work for me:
The app works fine on all other devices, running OS 5.0 or 6.0. This error just occurs on Bold Touch 9900, running OS 7.0.
What could be the reason for this message and how can this issue be solved?
Solved! Go to Solution.
07-14-2011 08:38 AM
07-14-2011 09:47 AM
Thank you for the quick reply!
The problem just occurs on OS 7.0, the app runs just fine on all other platforms ... this is what made me think there might be another reason for my issue.
As suggested in the thread stated above, I've checked all of the listeners added since the last release for deregistration before calling System.exit(0). I couldn't find a problem here, but I'll check again.
Where should I set a breakpoint to check the running threads? Right before the call of System.exit(0)? What should I be looking for especially?
07-14-2011 10:08 AM
07-26-2011 05:12 AM - edited 07-26-2011 05:13 AM
I have checked the app for threads from a previous instance that are still active. Everything worked as expected (no threads of old instances active).
This was followed by another check of all listeners used in the app. I eventually found out that I used a Player object (for music playback) to which I added 2 PlayerListeners but only removed one of them. I hope this was the reason for this error. At least up to now, the error has not been shown again.
Thank you very much for your support!