注册

Android updateCurrentUserNick函数堆栈溢出

android2.2.5版sdk,我在手机wifi设置了网络代理,但是代理失效的情况下调用updateCurrentUserNick函数发现会导致堆栈溢出,
以下是log
java.lang.StackOverflowError
   at java.lang.AbstractStringBuilder.append0(AbstractStringBuilder.java:124)
   at java.lang.IntegralToString.convertInt(IntegralToString.java:243)
   at java.lang.IntegralToString.appendInt(IntegralToString.java:173)
   at java.lang.StringBuilder.append(StringBuilder.java:139)
   at libcore.io.IoBridge.connectDetail(IoBridge.java:167)
   at libcore.io.IoBridge.isConnected(IoBridge.java:219)
   at libcore.io.IoBridge.connectErrno(IoBridge.java:161)
   at libcore.io.IoBridge.connect(IoBridge.java:112)
   at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
   at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:460)
   at java.net.Socket.connect(Socket.java:833)
   at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119)
   at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:188)
   at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:167)
   at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:125)
   at org.apache.http.impl.client.DefaultRequestDirector.executeSB(DefaultRequestDirector.java:807)
   at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:675)
   at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:567)
   at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:491)
   at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:469)
   at com.easemob.cloud.HttpClientManager.httpExecute(Unknown Source)
   at com.easemob.cloud.EMHttpClient.httpExecute(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.h(Unknown Source)
   at com.easemob.chat.core.j.p(Unknown Source)
   at com.easemob.chat.core.j.o(Unknown Source)
   at com.easemob.chat.core.l.c(Unknown Source)
   at com.easemob.chat.core.n.j(Unknown Source)
   at com.easemob.chat.core.j.g(Unknown Source)
   at com.easemob.cloud.HttpClientManager.sendRequest(Unknown Source)
   at com.easemob.cloud.EMHttpClient.sendRequest(Unknown Source)
   at com.easemob.chat.EMChatManager.updateCurrentUserNick(Unknown Source)
已邀请:
看下你这边传入的参数有没有问题了  这边 可以自己debug运行下看看了
 
http://docs.easemob.com/doku.php?id=start:100serverintegration:20users#im用户管理
也可以看下服务器端这边提供的修改用户昵称的文档了。
log很明显看出来是sdk中sendRequest里面的代码有循环调用,即便是我传的参数有问题,你们的代码中也不应该出现这种可能会引起循环调用的逻辑吧

要回复问题请先登录注册