Skin Layers 3D (Fabric/Forge)

Skin Layers 3D (Fabric/Forge)

44M Downloads

crash 1.18.2

Aceplante opened this issue ยท 6 comments

commented

Caused by opening a chest in the end?

Error while resolving a skin texture.
java.lang.NullPointerException
at MC-BOOTSTRAP/[email protected]/com.google.common.base.Preconditions.checkNotNull(Preconditions.java:889)
at MC-BOOTSTRAP/[email protected]/com.google.common.cache.LocalCache.put(LocalCache.java:4194)
at MC-BOOTSTRAP/[email protected]/com.google.common.cache.LocalCache$LocalManualCache.put(LocalCache.java:4880)
at TRANSFORMER/[email protected]/dev.tr7zw.skinlayers.SkinUtil.getTexture(SkinUtil.java:70)
at TRANSFORMER/[email protected]/dev.tr7zw.skinlayers.SkinUtil.setup3dLayers(SkinUtil.java:151)
at TRANSFORMER/[email protected]/net.minecraft.client.renderer.BlockEntityWithoutLevelRenderer.handler$elo000$renderByItem(BlockEntityWithoutLevelRenderer.java:1067)
at TRANSFORMER/[email protected]/net.minecraft.client.renderer.BlockEntityWithoutLevelRenderer.m_108829_(BlockEntityWithoutLevelRenderer.java)
at TRANSFORMER/[email protected]/net.minecraft.client.renderer.entity.ItemRenderer.m_115143_(ItemRenderer.java:159)
at TRANSFORMER/[email protected]/net.minecraft.client.renderer.entity.ItemRenderer.m_115127_(ItemRenderer.java:258)
at TRANSFORMER/[email protected]/net.minecraft.client.renderer.entity.ItemRenderer.m_174235_(ItemRenderer.java:299)
at TRANSFORMER/[email protected]/net.minecraft.client.renderer.entity.ItemRenderer.m_174277_(ItemRenderer.java:290)
at TRANSFORMER/[email protected]/net.minecraft.client.renderer.entity.ItemRenderer.m_115218_(ItemRenderer.java:282)
at TRANSFORMER/[email protected]/net.minecraft.client.gui.screens.inventory.MerchantScreen.m_6305_(MerchantScreen.java:218)
at TRANSFORMER/[email protected]/net.minecraftforge.client.ForgeHooksClient.drawScreenInternal(ForgeHooksClient.java:403)
at TRANSFORMER/[email protected]/net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:396)
at TRANSFORMER/[email protected]/net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:890)
at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1046)
at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.m_91374_(Minecraft.java:665)
at TRANSFORMER/[email protected]/net.minecraft.client.main.Main.main(Main.java:205)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:31)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:106)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149)

commented

It looks like a Merchant screen contained a player head that couldn't be processed(some broken data on it). It might be "fixed"(ignored) by a future backport, as 1.18 is not a supported version anymore. Will take some time till I've created my new custom build-system.

commented

yea, if a head cannot be loaded for some reason, ignoring it would be a good solution. The odd thing was, I was opening a chest that did not have any heads in it. Still, fair enough if its not your top priority, but thank you

commented

at TRANSFORMER/[email protected]/net.minecraft.client.renderer.entity.ItemRenderer.m_115218_(ItemRenderer.java:282)
at TRANSFORMER/[email protected]/net.minecraft.client.gui.screens.inventory.MerchantScreen.m_6305_(MerchantScreen.java:218)
at TRANSFORMER/[email protected]/net.minecraftforge.client.ForgeHooksClient.drawScreenInternal(ForgeHooksClient.java:403)

The crash report states that it's a MerchantScreen, not a chest. So I'd assume something like the vanillatweaks wandering trader datapack?

commented

Also please re-test with 1.6.0.

commented

I dont actually remember what was causing this bug, not sure how I would recreate the cause

commented

I'll close it, as it should be fixed.