mojira.dev
MC-184730

[Crash] "java.lang.NullPointerException: mouseClicked event handler" - Some Superflat presets crash immediately when trying to generate them

Superflat presets Tunneler's Dream, Overworld, and Desert crash immediately when trying to generate with them, with error:

The game crashed whilst mouseclicked event handler
Error: java.lang.NullPointerException: mouseClicked event handler

All other Superflat presets seem to work just fine. I made no changes to the string in the preset, everything is exactly default according to the chosen preset. All other options in the Create New World menu were default except for gamemode, which I first tried with Creative and then with Survival, and got the same result.

I tried to deobfuscate the crash files, following the tutorial on the wiki, but information was incomplete regarding what directory the files should be in, and after trying lots of things I wasn't able to make it work, so my apologies.

Crash file ending in 27.58 generated when attempting preset Tunneler's Dream

Crash file ending in 29.54 generated when attempting preset Overworld

Crash file ending in 31.16 generated when attempting preset Desert

 

 

 

Linked issues

Attachments

Comments 3

That is indeed correct, crashing for me as well.

Just to add some light here... this appears to be unrelated to the JDK installed, whether Oracle or OpenJDK, neither does it appears to depend on the operating system... my crash report while otherwise identical, affects Linux with OpenJDK.

-- System Details --
 Details: Minecraft Version: 20w21a
 Minecraft Version ID: 20w21a
 Operating System: Linux (amd64) version 4.15.0-99-generic
 Java Version: 1.8.0_252, Private Build
 Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Private Build

Lol .... so I thought I'd get fancy and try navigate to the "Create New World" button using my keyboard with TAB 🙂 - same crash, difference of "keyPressed" instead of "mouseClicked" event.

 

Of course, I attached the log in case the differing code path would make a difference to assist with debugging 🙂  (crash-2020-05-22_20.13.20-client.txt)

TorandoChaser

Fry

Confirmed

Very Important

Crash, World generation

mojang_internal_1

20w21a

20w22a

Retrieved