AnsweredAssumed Answered

Smack 4.1 rc3 snapshot error saving VCard

Question asked by Ali Usman on Feb 25, 2015
Latest reply on Mar 2, 2015 by Flow

hy. i use latest rc3 snapshot. but this is always no response exception when save vcard to server. and after noresponse. smack will reconnecting. it's say that reconnected but error reloading roster. and always error.

 

this is when saving VCard to server.

02-26 08:01:21.835  29318-29676/com.brixzen.chat W/XMPPTCPConnection﹕ NoResponseException

    org.jivesoftware.smack.SmackException$NoResponseException: No response received within reply timeout. Timeout was 15000ms (~15s). Used filter: No filter used or filter was 'null'.

            at org.jivesoftware.smack.SynchronizationPoint.checkForResponse(SynchronizationPoi nt.java:192)

            at org.jivesoftware.smack.SynchronizationPoint.checkIfSuccessOrWait(Synchronizatio nPoint.java:114)

            at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketWriter.shutdown(XMPPTCPConne ction.java:1260)

            at org.jivesoftware.smack.tcp.XMPPTCPConnection.shutdown(XMPPTCPConnection.java:48 9)

            at org.jivesoftware.smack.tcp.XMPPTCPConnection.instantShutdown(XMPPTCPConnection. java:478)

            at org.jivesoftware.smack.tcp.XMPPTCPConnection.notifyConnectionError(XMPPTCPConne ction.java:858)

            at org.jivesoftware.smack.tcp.XMPPTCPConnection.access$2600(XMPPTCPConnection.java :139)

            at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketWriter.writePackets(XMPPTCPC onnection.java:1404)

            at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketWriter.access$2700(XMPPTCPCo nnection.java:1161)

            at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketWriter$1.run(XMPPTCPConnecti on.java:1209)

            at java.lang.Thread.run(Thread.java:838)

 

this is error when reconnecting

02-26 08:01:21.835  29318-29417/com.brixzen.chat E/Roster﹕ Exception reloading roster

    org.jivesoftware.smack.SmackException$NoResponseException: No response received within reply timeout. Timeout was 15000ms (~15s). Used filter: IQReplyFilter: iqAndIdFilter (AndFilter ( OrFilter ( IQTypeFilter: type=error, IQTypeFilter: type=result,), StanzaIdFilter: id=Bm4jp-25,)), : fromFilter (OrFilter ( FromMatchesFilter (full): null, FromMatchesFilter (bare): 201110370311051@messenger.brixzen.com, FromMatchesFilter (full): messenger.brixzen.com,)).

            at org.jivesoftware.smack.AbstractXMPPConnection$6.run(AbstractXMPPConnection.java :1468)

            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)

            at java.util.concurrent.FutureTask.run(FutureTask.java:234)

            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201 (ScheduledThreadPoolExecutor.java:153)

            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Schedu ledThreadPoolExecutor.java:267)

            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)

            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)

            at java.lang.Thread.run(Thread.java:838)

 

02-26 08:01:21.838  29318-29676/com.brixzen.chat W/AbstractXMPPConnection﹕ Connection closed with error

    java.lang.NullPointerException

            at org.jivesoftware.smack.util.LazyStringBuilder.length(LazyStringBuilder.java:72)

            at org.jivesoftware.smack.util.LazyStringBuilder.toString(LazyStringBuilder.java:1 00)

            at org.jivesoftware.smack.util.XmlStringBuilder.toString(XmlStringBuilder.java:344 )

            at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketWriter.writePackets(XMPPTCPC onnection.java:1353)

            at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketWriter.access$2700(XMPPTCPCo nnection.java:1161)

            at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketWriter$1.run(XMPPTCPConnecti on.java:1209)

            at java.lang.Thread.run(Thread.java:838)

Outcomes