MapFrontiers

MapFrontiers

2M Downloads

Crash on Minecraft 1.21.1 with MapFrontiers and JourneyMap (MC Server)

Striker183 opened this issue ยท 5 comments

commented

When using MapFrontiers (2.7.0-beta.8) together with JourneyMap (1.21.1-6.0.0-beta.50), the game crashes on startup due to a NullPointerException:

Cannot read field "labelTop" because "journeymap.client.io.ThemeLoader.getCurrentTheme().minimap.circle" is null

It seems minimap.circle is missing or not initialized in the current JourneyMap theme, causing MapFrontiers to fail when trying to access HUD label background color.

Steps to reproduce:

Use both mods on Minecraft 1.21.1.

Launch the game.

Crash occurs during HUD rendering.

commented

Update both mods to their latest betas.

commented

Update both mods to their latest betas. @alejandrocoria

I've updated both MapFrontiers (2.7.0-beta.10) and JourneyMap (1.21.1-6.0.0-beta.52) as suggested, but the game still crashes at joining a server.

Cannot read field "labelTop" because "journeymap.client.io.ThemeLoader.getCurrentTheme().minimap.circle" is null

It seems that getCurrentTheme().minimap.circle is still null, and MapFrontiers tries to access labelTop without a null check. So even after updating, the same NullPointerException occurs during HUD rendering.

Let me know if you need more logs or if there's a workaround. Thanks!

commented

Please drop the latest.log here, after the crash.

commented

Fixed in the new beta 11. Thanks for creating the issue.
I never realized the Vault theme doesn't have a circular version.