初始化时,Android autbahn websocket死线程异常

时间:2014-06-28 09:47:45

标签: android websocket autobahn

连接建立。提出例外。连接丢失了!死线程处理程序? 我没有发送任何请求,也没有做任何处理OnMessageReceived ..刚刚初始化websocket。

日志:

06-28 05:40:38.752:D / de.tavendo.autobahn.WebSocketReader(1306):created 06-28 05:40:38.782:D / de.tavendo.autobahn.WebSocketReader(1306):created 06-28 05:40:38.792:D / de.tavendo.autobahn.WebSocketConnection(1306):创建并启动了WS阅读器 06-28 05:40:38.792:D / de.tavendo.autobahn.WebSocketReader(1306):正在运行 06-28 05:40:38.792:D / de.tavendo.autobahn.WebSocketConnection(1306):创建并启动了WS阅读器 06-28 05:40:38.792:D / de.tavendo.autobahn.WebSocketReader(1306):正在运行 06-28 05:40:38.802:D / de.tavendo.autobahn.WebSocketWriter(1306):created 06-28 05:40:38.802:D / de.tavendo.autobahn.WebSocketConnection(1306):WS编写器创建并启动 06-28 05:40:38.812:D / de.tavendo.autobahn.WebSocketWriter(1306):created 06-28 05:40:38.812:D / de.tavendo.autobahn.WebSocketConnection(1306):WS编写器创建并启动 06-28 05:40:38.822:W / de.tavendo.autobahn.WebSocketReader(1306):状态:101(切换协议) 06-28 05:40:38.922:W / MessageQueue(1306):处理程序(de.tavendo.autobahn.WebSocketConnection $ 2){b2d42de8}在死线程上向处理程序发送消息 06-28 05:40:38.922:W / MessageQueue(1306):java.lang.RuntimeException:处理程序(de.tavendo.autobahn.WebSocketConnection $ 2){b2d42de8}在死线程上向处理程序发送消息 06-28 05:40:38.922:W / MessageQueue(1306):在android.os.MessageQueue.enqueueMessage(MessageQueue.java:320) 06-28 05:40:38.922:W / MessageQueue(1306):在android.os.Handler.enqueueMessage(Handler.java:626) 06-28 05:40:38.922:W / MessageQueue(1306):在android.os.Handler.sendMessageAtTime(Handler.java:595) 06-28 05:40:38.922:W / MessageQueue(1306):在android.os.Handler.sendMessageDelayed(Handler.java:566) 06-28 05:40:38.922:W / MessageQueue(1306):在android.os.Handler.sendMessage(Handler.java:503) 06-28 05:40:38.922:W / MessageQueue(1306):at de.tavendo.autobahn.WebSocketReader.notify(WebSocketReader.java:129) 06-28 05:40:38.922:W / MessageQueue(1306):at de.tavendo.autobahn.WebSocketReader.onHandshake(WebSocketReader.java:436) 06-28 05:40:38.922:W / MessageQueue(1306):at de.tavendo.autobahn.WebSocketReader.processHandshake(WebSocketReader.java:557) 06-28 05:40:38.922:W / MessageQueue(1306):at de.tavendo.autobahn.WebSocketReader.consumeData(WebSocketReader.java:629) 06-28 05:40:38.922:W / MessageQueue(1306):at de.tavendo.autobahn.WebSocketReader.run(WebSocketReader.java:659) 06-28 05:40:38.922:W / de.tavendo.autobahn.WebSocketReader(1306):状态:101(切换协议) 06-28 05:40:38.932:W / MessageQueue(1306):处理程序(de.tavendo.autobahn.WebSocketConnection $ 2){b2d42e60}在死线程上向处理程序发送消息 06-28 05:40:38.932:W / MessageQueue(1306):java.lang.RuntimeException:处理程序(de.tavendo.autobahn.WebSocketConnection $ 2){b2d42e60}在死线程上向处理程序发送消息 06-28 05:40:38.932:W / MessageQueue(1306):在android.os.MessageQueue.enqueueMessage(MessageQueue.java:320) 06-28 05:40:38.932:W / MessageQueue(1306):在android.os.Handler.enqueueMessage(Handler.java:626) 06-28 05:40:38.932:W / MessageQueue(1306):在android.os.Handler.sendMessageAtTime(Handler.java:595) 06-28 05:40:38.932:W / MessageQueue(1306):在android.os.Handler.sendMessageDelayed(Handler.java:566) 06-28 05:40:38.932:W / MessageQueue(1306):在android.os.Handler.sendMessage(Handler.java:503) 06-28 05:40:38.932:W / MessageQueue(1306):at de.tavendo.autobahn.WebSocketReader.notify(WebSocketReader.java:129) 06-28 05:40:38.932:W / MessageQueue(1306):at de.tavendo.autobahn.WebSocketReader.onHandshake(WebSocketReader.java:436) 06-28 05:40:38.932:W / MessageQueue(1306):at de.tavendo.autobahn.WebSocketReader.processHandshake(WebSocketReader.java:557) 06-28 05:40:38.932:W / MessageQueue(1306):at de.tavendo.autobahn.WebSocketReader.consumeData(WebSocketReader.java:629) 06-28 05:40:38.932:W / MessageQueue(1306):at de.tavendo.autobahn.WebSocketReader.run(WebSocketReader.java:659) 06-28 05:40:58.832:W / MessageQueue(1306):处理程序(de.tavendo.autobahn.WebSocketConnection $ 2){b2d42de8}在死线程上向处理程序发送消息 06-28 05:40:58.832:W / MessageQueue(1306):java.lang.RuntimeException:处理程序(de.tavendo.autobahn.WebSocketConnection $ 2){b2d42de8}在死线程上向处理程序发送消息 06-28 05:40:58.832:W / MessageQueue(1306):在android.os.MessageQueue.enqueueMessage(MessageQueue.java:320) 06-28 05:40:58.832:W / MessageQueue(1306):在android.os.Handler.enqueueMessage(Handler.java:626) 06-28 05:40:58.832:W / MessageQueue(1306):在android.os.Handler.sendMessageAtTime(Handler.java:595) 06-28 05:40:58.832:W / MessageQueue(1306):在android.os.Handler.sendMessageDelayed(Handler.java:566) 06-28 05:40:58.832:W / MessageQueue(1306):在android.os.Handler.sendMessage(Handler.java:503) 06-28 05:40:58.832:W / MessageQueue(1306):at de.tavendo.autobahn.WebSocketReader.notify(WebSocketReader.java:129) 06-28 05:40:58.832:W / MessageQueue(1306):at de.tavendo.autobahn.WebSocketReader.onPing(WebSocketReader.java:456) 06-28 05:40:58.832:W / MessageQueue(1306):at de.tavendo.autobahn.WebSocketReader.processData(WebSocketReader.java:334) 06-28 05:40:58.832:W / MessageQueue(1306):at de.tavendo.autobahn.WebSocketReader.consumeData(WebSocketReader.java:625) 06-28 05:40:58.832:W / MessageQueue(1306):at de.tavendo.autobahn.WebSocketReader.run(WebSocketReader.java:659) 06-28 05:40:58.952:W / MessageQueue(1306):处理程序(de.tavendo.autobahn.WebSocketConnection $ 2){b2d42e60}在死线程上向处理程序发送消息 06-28 05:40:58.952:W / MessageQueue(1306):java.lang.RuntimeException:处理程序(de.tavendo.autobahn.WebSocketConnection $ 2){b2d42e60}在死线程上向处理程序发送消息 06-28 05:40:58.952:W / MessageQueue(1306):在android.os.MessageQueue.enqueueMessage(MessageQueue.java:320) 06-28 05:40:58.952:W / MessageQueue(1306):在android.os.Handler.enqueueMessage(Handler.java:626) 06-28 05:40:58.952:W / MessageQueue(1306):在android.os.Handler.sendMessageAtTime(Handler.java:595) 06-28 05:40:58.952:W / MessageQueue(1306):在android.os.Handler.sendMessageDelayed(Handler.java:566) 06-28 05:40:58.952:W / MessageQueue(1306):在android.os.Handler.sendMessage(Handler.java:503) 06-28 05:40:58.952:W / MessageQueue(1306):at de.tavendo.autobahn.WebSocketReader.notify(WebSocketReader.java:129) 06-28 05:40:58.952:W / MessageQueue(1306):at de.tavendo.autobahn.WebSocketReader.onPing(WebSocketReader.java:456) 06-28 05:40:58.952:W / MessageQueue(1306):at de.tavendo.autobahn.WebSocketReader.processData(WebSocketReader.java:334) 06-28 05:40:58.952:W / MessageQueue(1306):at de.tavendo.autobahn.WebSocketReader.consumeData(WebSocketReader.java:625) 06-28 05:40:58.952:W / MessageQueue(1306):at de.tavendo.autobahn.WebSocketReader.run(WebSocketReader.java:659) 06-28 05:41:08.842:D / de.tavendo.autobahn.WebSocketReader(1306):run():ConnectionLost 06-28 05:41:08.862:W / MessageQueue(1306):处理程序(de.tavendo.autobahn.WebSocketConnection $ 2){b2d42de8}在死线程上向处理程序发送消息 06-28 05:41:08.862:W / MessageQueue(1306):java.lang.RuntimeException:处理程序(de.tavendo.autobahn.WebSocketConnection $ 2){b2d42de8}在死线程上向处理程序发送消息 06-28 05:41:08.862:W / MessageQueue(1306):在android.os.MessageQueue.enqueueMessage(MessageQueue.java:320) 06-28 05:41:08.862:W / MessageQueue(1306):在android.os.Handler.enqueueMessage(Handler.java:626) 06-28 05:41:08.862:W / MessageQueue(1306):在android.os.Handler.sendMessageAtTime(Handler.java:595) 06-28 05:41:08.862:W / MessageQueue(1306):在android.os.Handler.sendMessageDelayed(Handler.java:566) 06-28 05:41:08.862:W / MessageQueue(1306):在android.os.Handler.sendMessage(Handler.java:503) 06-28 05:41:08.862:W / MessageQueue(1306):at de.tavendo.autobahn.WebSocketReader.notify(WebSocketReader.java:129) 06-28 05:41:08.862:W / MessageQueue(1306):at de.tavendo.autobahn.WebSocketReader.run(WebSocketReader.java:665) 06-28 05:41:08.862:D / de.tavendo.autobahn.WebSocketReader(1306):已结束 06-28 05:41:08.952:D / de.tavendo.autobahn.WebSocketReader(1306):run():ConnectionLost 06-28 05:41:08.972:W / MessageQueue(1306):处理程序(de.tavendo.autobahn.WebSocketConnection $ 2){b2d42e60}在死线程上向处理程序发送消息 06-28 05:41:08.972:W / MessageQueue(1306):java.lang.RuntimeException:处理程序(de.tavendo.autobahn.WebSocketConnection $ 2){b2d42e60}在死线程上向处理程序发送消息 06-28 05:41:08.972:W / MessageQueue(1306):在android.os.MessageQueue.enqueueMessage(MessageQueue.java:320) 06-28 05:41:08.972:W / MessageQueue(1306):在android.os.Handler.enqueueMessage(Handler.java:626) 06-28 05:41:08.972:W / MessageQueue(1306):在android.os.Handler.sendMessageAtTime(Handler.java:595) 06-28 05:41:08.972:W / MessageQueue(1306):在android.os.Handler.sendMessageDelayed(Handler.java:566) 06-28 05:41:08.972:W / MessageQueue(1306):在android.os.Handler.sendMessage(Handler.java:503) 06-28 05:41:08.972:W / MessageQueue(1306):at de.tavendo.autobahn.WebSocketReader.notify(WebSocketReader.java:129) 06-28 05:41:08.972:W / MessageQueue(1306):at de.tavendo.autobahn.WebSocketReader.run(WebSocketReader.java:665) 06-28 05:41:08.972:D / de.tavendo.autobahn.WebSocketReader(1306):已结束

0 个答案:

没有答案