Null Pointer Exception - Mekanism interaction?
zeklaine opened this issue ยท 6 comments
I get this null pointer frequently when my mekanism machines are running and I'm standing nearby.
Unreported exception thrown!
java.lang.NullPointerException
at mekanism.common.block.BlockTransmitter.func_180640_a(BlockTransmitter.java:178)
at net.minecraft.block.state.BlockStateContainer$StateImplementation.func_185918_c(BlockStateContainer.java:432)
at net.minecraft.client.renderer.RenderGlobal.func_72731_b(RenderGlobal.java:2767)
at slimeknights.tconstruct.tools.common.client.RenderEvents.renderExtraBlockBreak(RenderEvents.java:78)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1673_RenderEvents_renderExtraBlockBreak_RenderWorldLastEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:179)
at net.minecraftforge.client.ForgeHooksClient.dispatchRenderLast(ForgeHooksClient.java:160)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at Reflector.callVoid(Reflector.java:549)
at net.minecraft.client.renderer.EntityRenderer.func_175068_a(EntityRenderer.java:1912)
at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1590)
at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1361)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1117)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Supposedly this has been fixed in recent mekanism releases per this -- but I'm not 100% convinced. I'll close this issue for now but if more continue to come up in recent 3.1+ pack versions then we'll have to follow-back up with the mod devs
This should be fixed for good in the next builds. In the meantime don't look at a Mekanism pipe/cable/tube with a Tinkers tool equipped
I need to dispute the ticket's closing. This [1] crash occurred when the player was looking at a universal cable [2] with a TC's hammer in hand.
This was confirmed by removing every Mekanism cable and machine in the vicinity and letting the player log in, successfully this time.
ATM3 4.0
[1] https://pastebin.com/r2NJZ5iv
[2] Connected to a LV connector and IC2 Macerator
The fix has been applied to Mekanism codebase but the mod has not had a release build uploaded to curse in almost a month. We can't distribute custom builds through curse so we're at the mercy of Mekanism's update schedule for a version with the fix for this problem to make it into the modpack