java.lang.IllegalStateException: Not connected to server.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via netbeans.org by Unknown author, 1 year ago
via lisp.org by Unknown author, 1 year ago
Not connected to server.
via igniterealtime.org by Unknown author, 2 years ago
via YouTrack by Unknown author, 1 year ago
Not connected to server.
via nabble.com by Unknown author, 2 years ago
java.lang.IllegalStateException: Not connected to server.
at org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:445)
at org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:69)
at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:362)
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:203)
at undefined.Main.connectToJabber(Main.java:31)
at undefined.Main.main(Main.java:16)

Users with the same issue

2 times, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.