TerminatorNL / LagGoggles

A minecraft forge mod which visualises lag in the world
GNU General Public License v3.0
54 stars 20 forks source link

Client crash when teleporting to cords when overlay active. client.gui.LagOverlayGui.drawEntityTags #33

Closed ProsperCraft closed 5 years ago

ProsperCraft commented 6 years ago

Description:

I teleported using /tppos to a new lag location, and crashed. I did teleport using the double click on on the laggoggles report and did not crash.

Stacktrace, if any:

java.lang.NullPointerException: Unexpected error at cf.terminator.laggoggles.client.gui.LagOverlayGui.drawEntityTags(LagOverlayGui.java:395) at cf.terminator.laggoggles.client.gui.LagOverlayGui.onDraw(LagOverlayGui.java:283) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1835_LagOverlayGui_onDraw_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:168) at net.minecraft.client.renderer.EntityRenderer.func_175068_a(EntityRenderer.java:1430) at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1259) at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1062) 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(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

Crash report:

https://gist.github.com/ProsperCraft/5cc620d04dfb10e51abfe08b0a0e5314

ouroborus commented 6 years ago

Getting this as well. If the overlay is on and your actions cause chunks to load/unload, the client will likely crash. This is pretty much guaranteed to happen when changing dimensions to somewhere busy.

kreezxil commented 5 years ago

same here https://paste.dimdev.org/tazekiyeda.mccrash

TerminatorNL commented 5 years ago

Fixed in 0450d1723c0bb3325a4a3c637a71f44903c45a2e.