mojira.dev
MC-270162

The game crashes when attempting to upgrade a world from version 1.12.2 and below

The game crashes when trying to upgrade a world from version 1.12.2 and earlier. I won't provide the crash report for privacy reasons, but you can reproduce the issue yourself and obtain the crash report.

Steps to reproduce

  1. Start version 1.12.2

  2. Generate a new world with the default world type

  3. Launch the latest version of the game

  4. Attempt to upgrade the world by entering it

Observation: The game crashes.

Expectation: The game should function without crashing.

Launcher:

The game crashed whilst exception loading chunk
Error: java.lang.ClassCastException: class com.mojang.datafixers.util.Either$Right cannot be cast to class com.mojang.datafixers.util.Pair (com.mojang.datafixers.util.Either$Right and com.mojang.datafixers.util.Pair are in unnamed module of loader 'app')
The game crashed whilst exception loading chunk
Error: java.lang.ClassCastException: class com.mojang.datafixers.util.Either$Right cannot be cast to class com.mojang.datafixers.util.Pair (com.mojang.datafixers.util.Either$Right and com.mojang.datafixers.util.Pair are in unnamed module of loader 'app')

Attachments

Comments 1

I can confirm with snapshot 24w13a, version 1.20.4 does not crash. Here is my crash report:

[media]

Splash

No User

boq

Confirmed

Platform

Very Important

Crash

crash, data-fixer

24w13a

24w14a

Retrieved