Mekanism

Mekanism

111M Downloads

TileEntityGenerator.getConsumingSides Freeze

Slind14 opened this issue ยท 1 comments

commented

Testworld + Mods if needed:
http://www.mediafire.com/download/d6tz65iz25mz96m/Mekansim_EnergyNet_Freeze.zip

Thread Dump:

"Server thread" prio=6 tid=0x000000000fac8000 nid=0x10f8 runnable [0x0000000011d7e000]
   java.lang.Thread.State: RUNNABLE
    at mekanism.generators.common.tile.TileEntityGenerator.getConsumingSides(TileEntityGenerator.java:115)
    at mekanism.common.tile.TileEntityElectricBlock.getPowerReceiver(TileEntityElectricBlock.java:202)
    at mekanism.common.EnergyNetwork.doEmit(EnergyNetwork.java:225)
    - locked <0x0000000794ce3d80> (a mekanism.common.EnergyNetwork)
    at mekanism.common.EnergyNetwork.tickEmit(EnergyNetwork.java:151)
    - locked <0x0000000794ce3d80> (a mekanism.common.EnergyNetwork)
    at mekanism.common.EnergyNetwork.onUpdate(EnergyNetwork.java:418)
    at mekanism.api.transmitters.DynamicNetwork.tick(DynamicNetwork.java:256)
    at mekanism.api.transmitters.TransmitterNetworkRegistry.tickEnd(TransmitterNetworkRegistry.java:85)
    at mekanism.api.transmitters.TransmitterNetworkRegistry.onTick(TransmitterNetworkRegistry.java:73)
    at cpw.mods.fml.common.eventhandler.ASMEventHandler_405_TransmitterNetworkRegistry_onTick_ServerTickEvent.invoke(.dynamic)
    at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:51)
    at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:122)
    at cpw.mods.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:247)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:590)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
    at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

Could also be related to cofh.

commented

TileEntityGenerator simply returns an empty ForgeDirection EnumSet for getConsumingSides - I have n clue how this crash could occur. Most likely it's not a Mekanism issue.

The exact line of code being called at line 115 is the following for reference:
return EnumSet.noneOf(ForgeDirection.class);

Closing for now, but I'll continue to help track down the issue.