Nothing throws that exception.
No need to make "javaBot" a static field.
Made class fields "final".
Check the return value of the "login()" method.
"sendMessage()" should return true on success.