If you are talking about the jbosh unit-tests, then please ignore any errors. jbosh's unit-tests are in a terrible shape and simply non-deterministic.
I've just clicked together a sample gradle project the uses the latest snapshots of Smack (and jbosh) and was able to establish a BOSH connection and to send and receive messages.
Are you sure that you are using the latest version of the code?