Minefactory Reloaded

Minefactory Reloaded

23M Downloads

Plastic tank causes crashes on server

TiranDirth opened this issue ยท 4 comments

commented

Placing a plastic tank next to an itemduct causes a crash with the following error:

---- Minecraft Crash Report ----
// Oops.

Time: 22/04/15 16:59
Description: Exception in server tick loop

java.lang.RuntimeException: Crashing on conduit TileEntityRedNetEnergy(x=220,y=106,z=1024)@468488372
at powercrystals.minefactoryreloaded.net.GridTickHandler.tickEnd(GridTickHandler.java:160)
at powercrystals.minefactoryreloaded.net.GridTickHandler.tick(GridTickHandler.java:77)
at cpw.mods.fml.common.eventhandler.ASMEventHandler_250_GridTickHandler_tick_ServerTickEvent.invoke(.dynamic)
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138)
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)
Caused by: java.lang.NullPointerException
at powercrystals.minefactoryreloaded.tile.rednet.RedstoneNetwork.mergeGrid(RedstoneNetwork.java:226)
at powercrystals.minefactoryreloaded.tile.rednet.TileEntityRedNetCable.incorporateTiles(TileEntityRedNetCable.java:162)
at powercrystals.minefactoryreloaded.tile.rednet.TileEntityRedNetCable.firstTick(TileEntityRedNetCable.java:141)
at powercrystals.minefactoryreloaded.tile.rednet.TileEntityRedNetEnergy.firstTick(TileEntityRedNetEnergy.java:115)
at powercrystals.minefactoryreloaded.net.GridTickHandler.tickEnd(GridTickHandler.java:156)
... 8 more

A detailed walkthrough of the error, its code path and all known details is as follows:

-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Linux (amd64) version 2.6.32-358.23.2.el6.x86_64
Java Version: 1.7.0_45, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 215441624 bytes (205 MB) / 709885952 bytes (677 MB) up to 709885952 bytes (677 MB)
JVM Flags: 0 total;
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 93
FML: MCP v9.05 FML v7.10.85.1291 Minecraft Forge 10.13.2.1291 67 mods loaded, 67 mods active
mcp{9.05} Minecraft Coder Pack Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{7.10.85.1291} Forge Mod Loader Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{10.13.2.1291} Minecraft Forge Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CodeChickenCore{1.0.4.29} CodeChicken Core Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Micdoodlecore{} Micdoodle8 Core Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MobiusCore{1.2.3} MobiusCore Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
{000} CoFH ASM Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BiblioCraft{1.9.2} BiblioCraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Mantle{1.7.10-0.3.2.jenkins184} Mantle Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Natura{2.2.0} Natura Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BiomesOPlenty{2.1.0} Biomes O' Plenty Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BiblioWoodsBoP{1.9} BiblioWoods Biomes O'Plenty Edition Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BiblioWoodsNatura{1.5} BiblioWoods Natura Edition Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CoFHCore{1.7.10R3.0.2} CoFH Core Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ThermalFoundation{1.7.10R1.0.0} Thermal Foundation Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ThermalExpansion{1.7.10R4.0.1} Thermal Expansion Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BigReactors{0.4.1A2} Big Reactors Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Core{7.0.1} BuildCraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Silicon{7.0.1} BC Silicon Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Transport{7.0.1} BC Transport Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Builders{7.0.1} BC Builders Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Robotics{7.0.1} BC Robotics Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Energy{7.0.1} BC Energy Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Factory{7.0.1} BC Factory Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CarpentersBlocks{3.3.0.1} [Carpenter's Blocks](Carpenter's Blocks v3.3.0.1 - MC 1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
chisel{1.5.7} Chisel Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
EnderStorage{1.4.5.27} EnderStorage Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MetallurgyCore{4.0.4} Metallurgy Core Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MineFactoryReloaded{1.7.10R2.8.0} MineFactory Reloaded Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
TConstruct{1.7.10-1.7.1.build771} Tinkers' Construct Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Metallurgy{4.0.6} Metallurgy 4 Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ExtraTiC{0.8.4} ExtraTiC Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
GalacticraftCore{3.0.11} Galacticraft Core Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
GalacticraftMars{3.0.11} Galacticraft Planets Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
HardcoreEnderExpansion{1.8} [Hardcore Ender Expansion](HardcoreEnderExpansion MC-1.7.10 v1.8.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
inventorytweaks{1.59-dev-152-cf6e263} Inventory Tweaks Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
IronChest{6.0.41.729} Iron Chest Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MineFactoryReloaded|CompatAppliedEnergistics{1.7.10R2.8.0} MFR Compat: Applied Energistics Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MineFactoryReloaded|CompatAtum{1.7.10R2.8.0} MFR Compat: Atum Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MineFactoryReloaded|CompatBackTools{1.7.10R2.8.0} MFR Compat: BackTools Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MineFactoryReloaded|CompatBuildCraft{1.7.10R2.8.0} MFR Compat: BuildCraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MineFactoryReloaded|CompatChococraft{1.7.10R2.8.0} MFR Compat: Chococraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MineFactoryReloaded|CompatExtraBiomes{1.7.10R2.8.0} MFR Compat: ExtraBiomes Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MineFactoryReloaded|CompatForestry{1.7.10R2.8.0} MFR Compat: Forestry Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MineFactoryReloaded|CompatForgeMicroblock{1.7.10R2.8.0} MFR Compat: ForgeMicroblock Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MineFactoryReloaded|CompatIC2{1.7.10R2.8.0} MFR Compat: IC2 Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MineFactoryReloaded|CompatMystcraft{1.7.10R2.8.0} MFR Compat: Mystcraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MineFactoryReloaded|CompatProjRed{1.7.10R2.8.0} MFR Compat ProjectRed Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MineFactoryReloaded|CompatRailcraft{1.7.10R2.8.0} MFR Compat: Railcraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MineFactoryReloaded|CompatSufficientBiomes{1.7.10R2.8.0} MFR Compat: Sufficient Biomes Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Baubles{1.0.1.10} Baubles Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Thaumcraft{4.2.3.5} Thaumcraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MineFactoryReloaded|CompatThaumcraft{1.7.10R2.8.0} MFR Compat: Thaumcraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MineFactoryReloaded|CompatThermalExpansion{1.7.10R2.8.0} MFR Compat: Thermal Expansion Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MineFactoryReloaded|CompatTConstruct{1.7.10R2.8.0} MFR Compat: Tinkers' Construct Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
TwilightForest{2.3.2} The Twilight Forest Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MineFactoryReloaded|CompatTwilightForest{1.7.10R2.8.0} MFR Compat: TwilightForest Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MineFactoryReloaded|CompatVanilla{1.7.10R2.8.0} MFR Compat: Vanilla Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MineTweaker3{3.0.9B} MineTweaker 3 Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ModTweaker{0.6} ModTweaker Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MapWriter{2.1.1} MapWriter Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Opis{1.2.3} Opis Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
RedstoneArsenal{1.7.10R1.1.0} Redstone Arsenal Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
simplyjetpacks{1.3.0} Simply Jetpacks Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
TabulaRasa{1.7.10R1.0.1} Tabula Rasa Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ThermalDynamics{1.7.10R1.0.0} Thermal Dynamics Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
TMechworks{1.7.10-86.e500b88} Tinkers' Mechworks Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Mantle Environment: Environment healthy.
CoFHCore: -[1.7.10]3.0.2-262
ThermalFoundation: -[1.7.10]1.0.0-81
ThermalExpansion: -[1.7.10]4.0.1-182
MineFactoryReloaded: -[1.7.10]2.8.0-104
TConstruct Environment: Environment healthy.
RedstoneArsenal: -[1.7.10]1.1.0-80
ThermalDynamics: -[1.7.10]1.0.0-122
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Player Count: 1 / 20; [GCEntityPlayerMP['TiranDirth'/567, l='maz_is_short', x=480.30, y=103.00, z=1136.42]]
Is Modded: Definitely; Server brand changed to 'fml,forge'
Type: Dedicated Server (map_server.txt)

Further Info:

No other ducts or pipes were connected to the tank in question.

The coordinates referenced at the top: TileEntityRedNetEnergy(x=220,y=106,z=1024)@468488372
are not the coordinates the tank was placed at, they point to a rednet cable around 300 blocks away. The cable is not connected to the same power nor redstone network in any way.

Removing the tank, which was placed at x:480, y:103, z:1135 stops the crash.

commented

It's quite impossible for plastic tanks to cause a crash with unrelated code it doesn't interact with that's 300 blocks away. The crash with rednet should be fixed in dev.

commented

I agree that it seems very surprising, I figured I'd report it anyway given the sequence of events I followed.

The server was stable for weeks, one player places a plastic tank and a harvester elsewhere starts throwing crashes and the server is unusable until the tank and harvester were MCedited out.
Replace the tank in the same position and get Rednet cable related crashes, which persisted through restarts, but went away when the tank was removed.

That said, stranger coincidences have happened!

commented

The RedNet crash was a hidden and rare bug due to how chunks unload, and the harvester issue was the result of a not-quite-proper bugfix to dupes involving buildcraft pipes and MFR machines. The proximity of plastic tanks (which have had more than their fair share of crashing, to be fair) was just entirely coincidental.

commented

Fair enough, well, thanks for all the work anyway, the mod is much appreciated!