mekanism / Mekanism

A mod for Minecraft
MIT License
1.37k stars 522 forks source link

Crash when placing Electromagnetic Contractor next to Tesla Coil #725

Closed Revanchism closed 10 years ago

Revanchism commented 10 years ago

Reproducible crash when placing the Contractor next to the Coil.

Coil can be powered or unpowered. Tested on a fresh world after first crash.

Requires the item be manually deleted or to completely reset the chunk to fix.

Build 661

Crash Log:

Description: Ticking tile entity

java.lang.NullPointerException at net.minecraft.world.World.func_82733_a(World.java:3649) at net.minecraft.world.World.func_72872_a(World.java:3644) at mekanism.induction.common.tileentity.TileEntityEMContractor.onUpdate(TileEntityEMContractor.java:216) at mekanism.common.tileentity.TileEntityBasicBlock.func_70316_g(TileEntityBasicBlock.java:50) at net.minecraft.world.World.func_72939_s(World.java:2209) at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1921) at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:910) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:838) at net.minecraft.client.main.Main.main(SourceFile:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

-- Head -- Stacktrace: at net.minecraft.world.World.func_82733_a(World.java:3649) at net.minecraft.world.World.func_72872_a(World.java:3644) at mekanism.induction.common.tileentity.TileEntityEMContractor.onUpdate(TileEntityEMContractor.java:216) at mekanism.common.tileentity.TileEntityBasicBlock.func_70316_g(TileEntityBasicBlock.java:50)

-- Tile entity being ticked -- Details: Name: ElectromagneticContractor // mekanism.induction.common.tileentity.TileEntityEMContractor Block type: ID #3201 (tile.ElectromagneticContractor // mekanism.induction.common.block.BlockEMContractor) Block data value: 0 / 0x0 / 0b0000 Block location: World: (203,4,1399), Chunk: (at 11,0,7 in 12,87; contains blocks 192,0,1392 to 207,255,1407), Region: (0,2; contains chunks 0,64 to 31,95, blocks 0,0,1024 to 511,255,1535) Actual block type: ID #3201 (tile.ElectromagneticContractor // mekanism.induction.common.block.BlockEMContractor) Actual block data value: 0 / 0x0 / 0b0000 Stacktrace: at net.minecraft.world.World.func_72939_s(World.java:2209)

(Not tested in an environment without other mods, so conflicts are possible)

aidancbrady commented 10 years ago

No longer a Mekanism issue.