Getting "NullPointerException" after upgrading Minecraft launcher [duplicate]
Solution 1:
I found a solution myself:
- rename the
~/.minecraft
directory directory so Minecraft can't find it. - start Minecraft again and start a fresh game. This will generate a new
~/.minecraft
directory. - Exit Minecraft and copy the saved games from the renamed
~/.minecraft/saves
directory into the new one. - Start Minecraft again and confirm it's working now.
This did the trick for me!
As per the bug report linked below, the fix might be even simpler than my steps above:
- edit
~/.minecraft/options.txt
and find the line starting withlang=
. Note the parameter value is all lowercase. - Change the last two characters from lowercase to uppercase. E.g., change from
en_en
toen_EN
. - Save and try Minecraft again.