While writing unit tests, I discovered, that I get NPEs when executing functions that use Base64.decode(). It turns out that during unit test runtime there is no Base64 decoder registered.
I figured I can work around this by calling
at the start of my test.
Ah, Unit tests are supposed to inherit SmackTestSuite.
Junit tests are supposed to inherit SmackTestSuite in order to use initialized Base64.