java.lang.NullPointerException: Ticking block entity


Solutions on the web1

Solution icon of github
via GitHub by drzzm32
, 8 months ago
Ticking block entity

Stack trace

java.lang.NullPointerException: Ticking block entity
	at train.common.items.ItemTCRail.isTCSwitch(ItemTCRail.java:112)
	at train.common.tile.TileTCRail.func_145845_h(TileTCRail.java:140)
	at net.minecraft.world.World.func_72939_s(World.java:2529)
	at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:633)
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:954)
	at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:431)
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:809)
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:669)
	at java.lang.Thread.run(Thread.java:745)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.