Null Pointer in GetTileEntityFromInventoryList

Issue #20 resolved
Z903 created an issue

version 1.1.46

java.lang.NullPointerException: Ticking block entity
        at router.reborn.tileentity.routerTile.GetTileEntityFromInventoryList(routerTile.java:1189)
        at router.reborn.tileentity.routerTile.UpdateExtraction(routerTile.java:1242)
        at router.reborn.tileentity.routerTile.runUpdate(routerTile.java:558)
        at router.reborn.tileentity.routerTile.doUpdate2(routerTile.java:968)
        at router.reborn.tileentity.routerTile.runThreadedUpdate(routerTile.java:819)
        at router.reborn.tileentity.routerTile.doUpdate(routerTile.java:787)
        at router.reborn.tileentity.BaseTileEntity.func_145845_h(BaseTileEntity.java:37)
        at net.minecraft.world.World.func_72939_s(World.java:1939)
        at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)
        at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636)
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334)
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
        at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

Comments (3)

  1. Tom Erik Voll repo owner

    1.1.50 has the fixes to make the list thread safe, and has the fix for the portable crafting table. should be no errors on that. Problem was background thread reseting the list while main thread was transfering items using the list. only the main thread manipulate the list now.

  2. Log in to comment