Skip to content

Crash with 1.21.11 Fabric #26

Description

@Flurop

When i hovered over an map on version 5.0.0 it crashedwith this error

Description: Rendering screen
java.lang.NullPointerException: Cannot invoke "net.minecraft.class_9209.comp_2315()" because the return value of "net.minecraft.class_1799.method_58694(net.minecraft.class_9331)" is null
	at knot//com.vendoau.maptooltip.MapTooltipComponent.<init>(MapTooltipComponent.java:32)
	at knot//net.minecraft.class_1806.method_32346(class_1806.java:523)
	at knot//net.minecraft.class_1799.method_32347(class_1799.java:234)
	at knot//net.minecraft.class_465.method_2380(class_465.java:221)
	at knot//net.minecraft.class_476.method_25394(class_476.java:29)
	at knot//net.minecraft.class_437.method_47413(class_437.java:119)
	at knot//net.minecraft.class_757.mixinextras$bridge$method_47413$96(class_757.java)
	at knot//net.minecraft.class_757.wrapOperation$zbg000$betterscreens$containerScale(class_757.java:1991)
	at knot//net.minecraft.class_757.mixinextras$bridge$wrapOperation$zbg000$betterscreens$containerScale$98(class_757.java)
	at knot//net.minecraft.class_757.wrapOperation$bfj000$fabric-screen-api-v1$onRenderScreen(class_757.java:4486)
	at knot//net.minecraft.class_757.method_3192(class_757.java:537)
	at knot//net.minecraft.class_310.method_1523(class_310.java:1393)
	at knot//net.minecraft.class_310.method_1514(class_310.java:966)
	at knot//net.minecraft.client.main.Main.main(Main.java:250)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:514)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:72)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:115)
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Render thread
Stacktrace:
	at knot//com.vendoau.maptooltip.MapTooltipComponent.<init>(MapTooltipComponent.java:32)
	at knot//net.minecraft.class_1806.method_32346(class_1806.java:523)
	at knot//net.minecraft.class_1799.method_32347(class_1799.java:234)
	at knot//net.minecraft.class_465.method_2380(class_465.java:221)
	at knot//net.minecraft.class_476.method_25394(class_476.java:29)
	at knot//net.minecraft.class_437.method_47413(class_437.java:119)
	at knot//net.minecraft.class_757.mixinextras$bridge$method_47413$96(class_757.java)
	at knot//net.minecraft.class_757.wrapOperation$zbg000$betterscreens$containerScale(class_757.java:1991)
	at knot//net.minecraft.class_757.mixinextras$bridge$wrapOperation$zbg000$betterscreens$containerScale$98(class_757.java)
	at knot//net.minecraft.class_757.wrapOperation$bfj000$fabric-screen-api-v1$onRenderScreen(class_757.java:4486)
-- Screen render details --
Details:
	Screen name: net.minecraft.class_476
	Mouse location: Scaled: (203.921250, 64.666667). Absolute: (611.000000, 194.000000)
	Screen size: Scaled: (534, 300). Absolute: (1600, 900). Scale factor of 3
Stacktrace:
	at knot//net.minecraft.class_757.method_3192(class_757.java:537)
	at knot//net.minecraft.class_310.method_1523(class_310.java:1393)
	at knot//net.minecraft.class_310.method_1514(class_310.java:966)
	at knot//net.minecraft.client.main.Main.main(Main.java:250)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:514)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:72)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:115)
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)
-- Uptime --
Details:
	JVM uptime: 41.173s
	Wall uptime: 34.689s
	High-res time: 31.854s
	Client ticks: 528 ticks / 26.400s
Stacktrace:
	at knot//net.minecraft.class_310.method_1587(class_310.java:2477)
	at knot//net.minecraft.class_310.method_54580(class_310.java:1035)
	at knot//net.minecraft.class_310.method_1514(class_310.java:987)
	at knot//net.minecraft.client.main.Main.main(Main.java:250)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:514)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:72)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:115)
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions