AnsweredAssumed Answered

Missing 'break' in XMPPBOSHConnection.java causes "Resource binding was not offered by server"

Question asked by Zigma on Feb 10, 2015
Latest reply on Feb 10, 2015 by Flow

org.jivesoftware.smack.SmackException$ResourceBindingNotOfferedException: Resource binding was not offered by server

at org.jivesoftware.smack.AbstractXMPPConnection.bindResourceAndEstablishSession(A bstractXMPPConnection.java:535)

at org.jivesoftware.smack.bosh.XMPPBOSHConnection.loginNonAnonymously(XMPPBOSHConn ection.java:230)

at org.jivesoftware.smack.AbstractXMPPConnection.login(AbstractXMPPConnection.java :489)

at com.hp.sis.platform.sdk.connection.BoshConnection$1.doInBackground(BoshConnecti on.java:275)

at com.hp.sis.platform.sdk.connection.BoshConnection$1.doInBackground(BoshConnecti on.java:1)

at android.os.AsyncTask$2.call(AsyncTask.java:288)

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

at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)

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

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

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

 

 

 

-------------------------------------------------------

 

Simple "break;" statement missing in the case "success":  ------ inside BOSHPacketReader

 

--------------------------------------------------------

Outcomes