Minecraft – java.lang.NullPointerException in vanilla Minecraft

minecraft-java-edition

I have been playing Minecraft for a few months with no problems. I started it up this morning, and got an error. The dark blue screen says something about a NullPointerException, the full thing can be found here. The full report in my .minecraft folder can be found here.

From my understanding, the java.lang.NullPointerException error occurs sometimes when connecting to an outdated server. However, this does not apply since Minecraft crashes immediately after the MOJANG screen. Also, note that I am running vanilla Minecraft, which is with no mods installed, which means that there are no conflicting block IDs. Any help is appreciated.

Here are my Java installations (according to Programs and Features)

Best Answer

Solved it!

As said in the comments by Strike and Wonea, I uninstalled all of my Java versions. Then, I installed the latest version of Java, but that didn't work either. Then, I nuked my .minecraft folder (after backing up my saves of course) and it finally worked!

Related Topic