See the attached screenshot for details. Notice that "Play" and "Log out" are greyed out. This was a fresh install of minecraft on a new Mint install.
I suspect that perhaps you're calling a method on an object representing the previously logged in account, only in this case there is a null previous account.
Attachments
Comments 3
Duplicate of MCL-2494
This shows the greyed out button and nullpointer stacktrace.