koush / AndroidAsync

Asynchronous socket, http(s) (client+server) and websocket library for android. Based on nio, not threads.
Other
7.52k stars 1.56k forks source link

i use the androidasync for socketio,but i get a problam, the follows are #643

Open laonane opened 5 years ago

laonane commented 5 years ago

W/System.err: java.lang.NumberFormatException: For input string: "0,"message"" W/System.err: at java.lang.Integer.parseInt(Integer.java:615) W/System.err: at java.lang.Integer.parseInt(Integer.java:650) W/System.err: at com.koushikdutta.async.http.socketio.SocketIOConnection$2.transform(SocketIOConnection.java:119) W/System.err: at com.koushikdutta.async.http.socketio.SocketIOConnection$2.transform(SocketIOConnection.java:113) W/System.err: at com.koushikdutta.async.future.TransformFuture.onCompleted(TransformFuture.java:14) W/System.err: at com.koushikdutta.async.future.SimpleFuture.handleCallbackUnlocked(SimpleFuture.java:107) W/System.err: at com.koushikdutta.async.future.SimpleFuture.setComplete(SimpleFuture.java:141) W/System.err: at com.koushikdutta.async.future.SimpleFuture.setComplete(SimpleFuture.java:128) W/System.err: at com.koushikdutta.async.http.AsyncHttpClient.invokeWithAffinity(AsyncHttpClient.java:523) W/System.err: at com.koushikdutta.async.http.AsyncHttpClient.access$800(AsyncHttpClient.java:51) W/System.err: at com.koushikdutta.async.http.AsyncHttpClient$7.run(AsyncHttpClient.java:534) W/System.err: at com.koushikdutta.async.AsyncServer.lockAndRunQueue(AsyncServer.java:740) W/System.err: at com.koushikdutta.async.AsyncServer.runLoop(AsyncServer.java:758) W/System.err: at com.koushikdutta.async.AsyncServer.run(AsyncServer.java:658) W/System.err: at com.koushikdutta.async.AsyncServer.access$800(AsyncServer.java:44) W/System.err: at com.koushikdutta.async.AsyncServer$14.run(AsyncServer.java:600)