09-22-2009 07:57 AM
Hi,
I have an application that processes data from bluetooth and send it to the web service. Recently there was a request to add sounds to the application. Now when the application processes batches of data and the player is playing constantly after a few secs I get "Application is not responding" exception. And then the process is terminated. In the logs I can see lots of ForcedStackTrace exception logged after this exception.
The sounds are played in the separate thread. If app doesn't play sounds or plays short sounds - everything works fine. Is there any way to avoid this exception happening? Why is it happening?
Thanks in advance,
Viktor.
Solved! Go to Solution.
09-22-2009 08:27 AM
09-22-2009 09:46 AM
Unfortunately I do not use JDE to develop the application - I use eclipse. Also I examined the stack trace elements and here are some of the names of module:
net_rim_cldc-14 ,4, 11, 10,
net_rim_cldc_io_rim_imp
and other net_rim libraries related to media,internet connection.
I doubt that the application produces the deadlock as everything works fine until I use the Player.
If the player thread works and plays long melodies one after another I get an exception. The are no memory leaks as if the data is processed in one-by-one fashion sounds get played and everything works fine. App crashes only when the load of data is considerably big.
09-23-2009 04:52 AM