mojira.dev
MC-113673

Random crash while in debug mode

While looking in debug mode at the new 1.12 blocks, minecraft randomly crashes with this showing up on the launcher:
The game crashed whilst unexpected error
The game crashed whilst unexpected error
Error: java.lang.NullPointerException: Unexpected error
When I tried reproducing, no error was given but here is a screenshot of what showed the 2nd time.

Attachments

Comments 14

Incomplete without a crash report from (minecraft/crash-reports/crash-<DATE>-client.txt). Please attach it to this ticket so that we can diagnose your issue.

Crash Report (Forgot to say I also was using a resource pack)

Please attach the resource pack, even though it should not have caused it.

Why are there two items in the worlds (barrier and light weighted pressure plate)?

Affected method is net.minecraft.world.chunk.Chunk.addTileEntity(BlockPos, TileEntity). Apparently null was stored as value in the net.minecraft.world.chunk.Chunk.chunkTileEntityMap.

I can't attach the resource pack as the size is apparently too big for the limit.

4 more comments

At which block were you looking when the game crashed?

hmm... I think i was just looking at the different blocks that were just added but I mostly forget.

The debug world type is supposed to be used in spectator mode only.

@@unknown the reporter did not say they were not being in Spectator. They were only looking at blocks.

Need more information since unable to reproduce.

Jacob Arruda

(Unassigned)

Unconfirmed

Minecraft 17w06a

Retrieved