Current thread not owner

when trying to connect, i get the error message:

java.lang.IllegalMonitorStateException: current thread not owner.

what happened? because the last time i try my code the day before, it worked just fine…

Please paste in a fuller stack trace since it’'s not clear if the error is coming from Smack or your own application.

Regards,

Matt