Android - sending message to a Handler on a dead thread
Reported by Emrah Mehmedov | May 3rd, 2011 @ 06:38 AM
Console:
E/TiBaseActivity( 299): (main) [1089,69978] Layout cleanup.
D/dalvikvm( 299): GC_FOR_MALLOC freed 15445 objects / 734008 bytes in 175ms
I/TiAPI ( 299): (kroll$5: app://combobox.js) [4560,74538] Sync - uid: 36 date: 2011-5-2
D/dalvikvm( 299): GC_FOR_MALLOC freed 7275 objects / 298704 bytes in 175ms
D/TiHttpClient( 299): (TiHttpClient-2) [1133,75671] Setting ready state to 2
D/TiHttpClient( 299): (TiHttpClient-2) [2,75673] Setting ready state to 3
D/TiHttpClient( 299): (TiHttpClient-2) [6,75679] Setting ready state to 4
W/MessageQueue( 299): Handler{43f203a0} sending message to a Handler on a dead thread
W/MessageQueue( 299): java.lang.RuntimeException: Handler{43f203a0} sending message to a Handler on a dead thread
W/MessageQueue( 299): at android.os.MessageQueue.enqueueMessage(MessageQueue.java:179)
W/MessageQueue( 299): at android.os.Handler.sendMessageAtTime(Handler.java:457)
W/MessageQueue( 299): at android.os.Handler.sendMessageDelayed(Handler.java:430)
W/MessageQueue( 299): at android.os.Handler.post(Handler.java:248)
W/MessageQueue( 299): at org.appcelerator.titanium.kroll.KrollCallback.callAsync(KrollCallback.java:162)
W/MessageQueue( 299): at org.appcelerator.titanium.kroll.KrollCallback.callAsync(KrollCallback.java:96)
W/MessageQueue( 299): at org.appcelerator.titanium.kroll.KrollCallback.callAsync(KrollCallback.java:91)
W/MessageQueue( 299): at ti.modules.titanium.network.TiHTTPClient.fireCallback(TiHTTPClient.java:489)
W/MessageQueue( 299): at ti.modules.titanium.network.TiHTTPClient.fireCallback(TiHTTPClient.java:480)
W/MessageQueue( 299): at ti.modules.titanium.network.TiHTTPClient.setReadyState(TiHTTPClient.java:512)
W/MessageQueue( 299): at ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1006)
W/MessageQueue( 299): at java.lang.Thread.run(Thread.java:1096)
When i try to send again same request to server on android device..
Comments and changes to this ticket
-

Glenn Franxman August 10th, 2011 @ 02:25 PM
Seriously, I have found at least 5 ticketing systems for titanium: on github, the developer center, the help desk, lighthouse and the jira site. Problems like this are real. Where is the best/correct place to create these tickets?
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »