powered by Jive Software

AssertionError on login with Smack

Hello everyone!

I am using Smack 4.4.4, I has been reported with this issue.

I don’t know when it is happen. Maybe this track trace could help us:

Fatal Exception: java.lang.AssertionError

org.jivesoftware.smack.tcp.XMPPTCPConnection.loginInternal (XMPPTCPConnection.java:406)
org.jivesoftware.smack.AbstractXMPPConnection.login (AbstractXMPPConnection.java:641)
org.jivesoftware.smack.AbstractXMPPConnection.login (AbstractXMPPConnection.java:598)
org.jivesoftware.smack.ReconnectionManager$2.run (ReconnectionManager.java:287)
java.lang.Thread.run (Thread.java:919)

I only call connection.connect() after check connection?.isConnected != true

Thank you in advace!

This is fixed in the latest version of the ‘4.4’ branch (which is regularly merged into Smack’s ‘master’ branch). You can grab a Smack 4.4.5-SNAPSHOT release from OSS Sonatype or wait for the Smack 4.4.5 release (which is scheduled to happen in the next few days, but this is not guranteed).

1 Like

This topic was automatically closed 62 days after the last reply. New replies are no longer allowed.