Storage Drawers

Storage Drawers

151M Downloads

Ticking block entity Crash

wizzbangwa opened this issue · 2 comments

commented

Issue description:

Were are getting the following error when spawning into the world on our server or on the same world in single player:
java.lang.NullPointerException: Ticking block entity
at com.jaquadro.minecraft.storagedrawers.block.tile.TileEntityDrawersComp$CompCentralInventory.getMaxCapacity(TileEntityDrawersComp.java:622)
at com.jaquadro.minecraft.storagedrawers.storage.CompDrawerData.getMaxCapacity(CompDrawerData.java:55)
at com.raoulvdberge.refinedstorage.tile.externalstorage.ItemStorageDrawerGroup.getCapacity(ItemStorageDrawerGroup.java:83)
at com.raoulvdberge.refinedstorage.tile.externalstorage.TileExternalStorage$2.getValue(TileExternalStorage.java:64)
at com.raoulvdberge.refinedstorage.tile.externalstorage.TileExternalStorage$2.getValue(TileExternalStorage.java:58)
at com.raoulvdberge.refinedstorage.tile.data.TileDataManager.detectAndSendChanges(TileDataManager.java:66)
at com.raoulvdberge.refinedstorage.tile.TileBase.func_73660_a(TileBase.java:30)
at com.raoulvdberge.refinedstorage.tile.TileNode.func_73660_a(TileNode.java:83)
at com.raoulvdberge.refinedstorage.tile.externalstorage.TileExternalStorage.func_73660_a(TileExternalStorage.java:154)
at net.minecraft.world.World.func_72939_s(World.java:1804)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:620)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:709)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:149)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
at java.lang.Thread.run(Unknown Source)

What happens:

About a second after spawning into the world, minecraft crashes, that about error in a crash log comes up.

What you expected to happen:

Spawn in the world and not crash

Steps to reproduce:

  1. Spawn in the world.
  2. Not even a second later, the minecraft crashes.

Version (Make sure you are on the latest version before reporting):

  • Minecraft: 1.10.2
  • Forge: 12.18.3.2254
  • Refined Storage: 1.2.25
  • Storage Drawers 3.6.1

Does this issue occur on a server? Yes

If a (crash)log is relevant for this issue, link it here:

http://pastebin.com/Bvj2PgMp

Also reporting to Refined Storage since it looks like they're mentioned in the crash logs as well. Not sure which mod is at fault, so both of you are informed.

commented

It looks like the compacting drawer is in a weird state, and so it's crashing when Refined Storage queries it. I put in a quick fix in 3.6.2 that I think will resolve the crash, but whatever drawer that is might still act broken.

commented