I use smark 4.2.0-beta2,now I have a problem is "org.jivesoftware.smack.SmackException: Parser got END_DOCUMENT event"

I use smark 4.2.0-beta2,now I have a problem is “org.jivesoftware.smack.SmackException: Parser got END_DOCUMENT event”, I have reference by "Smack 4.2 alpha1 - Disconnecting from server after a minute (SmackException: Parser got END_DOCUMENT event) ", but the not effect