Mekanism

Mekanism

111M Downloads

Block Placing Bug (Shows incorrect block)

Saerok opened this issue ยท 8 comments

commented

Hi,

Just ran 7.0.0.75 and upgraded to .85 on the server. Both versions have an issue with the digital miner and solar generator. If placed by one person it appears as another mekanism block and upon interacting it kicks you from the server stating a fatal error has occurred, this connection is terminated.

If we log back in the block changed and shows the correct model but upon starting the digital mine it crashes the whole server. Im not sure what the issue is here. We are running java SDK8 with 4GB allocated to Xms and Xmx. Forge is 1191.

Any help would be greatly appreciated.

commented

#1644 same issue :)

commented

Need some fml-client-latest logs, and crashlogs to check this out.

commented

Here is my client crash log when i click on a placed block

---- Minecraft Crash Report ----
// I blame Dinnerbone.

Time: 17/07/14 7:04 PM
Description: Initializing game

java.lang.NullPointerException: Initializing game
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:507)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:867)
at net.minecraft.client.main.Main.main(SourceFile:148)
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:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

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

-- Head --
Stacktrace:
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:507)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480)

-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:867)
at net.minecraft.client.main.Main.main(SourceFile:148)
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:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_05, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 106711872 bytes (101 MB) / 335020032 bytes (319 MB) up to 3817865216 bytes (3641 MB)
JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx4096M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.05 FML v7.10.1.1152 Minecraft Forge 10.13.0.1152 24 mods loaded, 0 mods active
mcp{9.05} Minecraft Coder Pack
FML{7.10.1.1152} Forge Mod Loader
Forge{10.13.0.1152} Minecraft Forge
AppliedEnergistics2-Core{rv0-stable-8} AppliedEnergistics2 Core
CodeChickenCore{1.0.1.8} CodeChicken Core
NotEnoughItems{1.0.2.15} Not Enough Items
TConstruct-Preloader{0.1.1} Tinkers Corestruct
Treecapitator{1.7.2} Treecapitator
appliedenergistics2{rv0-stable-8} Applied Energistics 2
BiomesOPlenty{2.0.2} Biomes O' Plenty
BuildCraft|Builders{6.0.17} BC Builders
BuildCraft|Core{6.0.17} BuildCraft
BuildCraft|Energy{6.0.17} BC Energy
BuildCraft|Factory{6.0.17} BC Factory
BuildCraft|Silicon{6.0.17} BC Silicon
BuildCraft|Transport{6.0.17} BC Transport
DamageIndicatorsMod{3.2.0} Damage Indicators
IC2{2.2.485-experimental} IndustrialCraft 2
inventorytweaks{1.57-116} Inventory Tweaks
Mantle{1.7.10-165.4bc3343} Mantle
TConstruct{1.7.10-1.6.0.jenkins523} Tinkers' Construct
voxelmap{1.7.10} VoxelMap No Radar
bspkrsCore{6.12} bspkrsCore
bspkrsCore{6.13} bspkrsCore
Launched Version: 1.7.10-Forge10.13.0.1152-mcpatcherforge
LWJGL: 2.9.1
OpenGL: AMD Radeon R9 200 Series GL version 4.4.12874 Compatibility Profile Context 14.100.0.0, ATI Technologies Inc.
GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1 is supported.

Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: []
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Anisotropic Filtering: Off (1)
commented

Here is the crash report when I try to start the digital miner if it is placed by someone else, fyi this is the server crash report.

---- Minecraft Crash Report ----
// Oh - I know what I did wrong!

Time: 8/4/14 11:33 PM
Description: Ticking block entity

java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:926)
at java.util.HashMap$KeyIterator.next(HashMap.java:960)
at mekanism.common.tile.TileEntityDigitalMiner.onUpdate(TileEntityDigitalMiner.java:121)
at mekanism.common.tile.TileEntityBasicBlock.func_145845_h(TileEntityBasicBlock.java:58)
at net.minecraft.world.World.func_72939_s(World.java:1888)
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:335)
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)

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

-- Head --
Stacktrace:
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:926)
at java.util.HashMap$KeyIterator.next(HashMap.java:960)
at mekanism.common.tile.TileEntityDigitalMiner.onUpdate(TileEntityDigitalMiner.java:121)
at mekanism.common.tile.TileEntityBasicBlock.func_145845_h(TileEntityBasicBlock.java:58)

-- Block entity being ticked --
Details:
Name: DigitalMiner // mekanism.common.tile.TileEntityDigitalMiner
Block type: ID #543 (tile.MachineBlock // mekanism.common.block.BlockMachine)
Block data value: 4 / 0x4 / 0b0100
Block location: World: (213,62,226), Chunk: (at 5,3,2 in 13,14; contains blocks 208,0,224 to 223,255,239), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Actual block type: ID #543 (tile.MachineBlock // mekanism.common.block.BlockMachine)
Actual block data value: 4 / 0x4 / 0b0100
Stacktrace:
at net.minecraft.world.World.func_72939_s(World.java:1888)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)

-- Affected level --
Details:
Level name: world
All players: 2 total; [EntityPlayerMP['lsax001'/385826, l='world', x=211.08, y=61.50, z=226.31], EntityPlayerMP['magarnus'/386732, l='world', x=210.94, y=61.50, z=227.89]]
Chunk stats: ServerChunkCache: 458 Drop: 0
Level seed: 4199754900155466524
Level generator: ID 00 - default, ver 1. Features enabled: true
Level generator options:
Level spawn location: World: (220,64,252), Chunk: (at 12,4,12 in 13,15; contains blocks 208,0,240 to 223,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 12971042 game time, 13642127 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 12238 (now: true), thunder time: 8169 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Stacktrace:
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:335)
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)

-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Linux (amd64) version 2.6.32-431.11.2.el6.x86_64
Java Version: 1.7.0_55, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 217503392 bytes (207 MB) / 695689216 bytes (663 MB) up to 6241845248 bytes (5952 MB)
JVM Flags: 4 total; -Xmx6144M -Xms128M -XX:MaxPermSize=256M -XX:+UseConcMarkSweepGC
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 96
FML: MCP v9.05 FML v7.10.25.1191 Minecraft Forge 10.13.0.1191 32 mods loaded, 32 mods active
mcp{9.05} Minecraft Coder Pack Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{7.10.25.1191} Forge Mod Loader Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{10.13.0.1191} Minecraft Forge Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
AppliedEnergistics2-Core{rv0-stable-8} AppliedEnergistics2 Core Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CodeChickenCore{1.0.1.8} CodeChicken Core Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
TConstruct-Preloader{0.1.1} Tinkers Corestruct Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
bspkrsCore{6.12} bspkrsCore Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Treecapitator{1.7.2} Treecapitator Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Core{6.0.17} BuildCraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
IC2{2.2.485-experimental} IndustrialCraft 2 Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MetallurgyCore{4.0.3} Metallurgy Core Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ForgeMultipart{1.1.0.297} Forge Multipart Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Mekanism{7.0.0} Mekanism Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
appliedenergistics2{rv0-stable-8} Applied Energistics 2 Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Builders{6.0.17} BC Builders Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Energy{6.0.17} BC Energy Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Factory{6.0.17} BC Factory Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Transport{6.0.17} BC Transport Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Silicon{6.0.17} BC Silicon Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
factorization.notify{1.0} Factorization Notification System Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
factorization{1.7.10-0.8.85} Factorization Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
factorization.misc{1.7.10-0.8.85} Factorization Miscellaneous Nonsense 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
Mantle{1.7.10-165.4bc3343} Mantle Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MekanismGenerators{7.0.0} MekanismGenerators Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MekanismTools{7.0.0} MekanismTools Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Metallurgy{4.0.3} Metallurgy 4 Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
TConstruct{1.7.10-1.6.0.jenkins523} Tinkers' Construct Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
YAFM{1.0.3} Yet Another Food Mod Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
voxelmap{1.7.10} VoxelMap No Radar Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
McMultipart{1.1.0.297} Minecraft Multipart Plugin Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ForgeMicroblock{1.1.0.297} Forge Microblocks Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
AE2 Version: stable rv0-stable-8 for Forge 10.13.0.1152
Mantle Environment: Environment healthy.
TConstruct Environment: Environment healthy.
AE2 Integration: RotaryCraft:OFF, IC2:ON, RC:OFF, BC:ON, MJ5:ON, MJ6:ON, RF:OFF, RFItem:OFF, MFR:OFF, DSU:OFF, FZ:ON, CLApi:OFF, RB:OFF, FMP:ON
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Player Count: 2 / 10; [EntityPlayerMP['lsax001'/385826, l='world', x=211.08, y=61.50, z=226.31], EntityPlayerMP['magarnus'/386732, l='world', x=210.94, y=61.50, z=227.89]]
Is Modded: Definitely; Server brand changed to 'fml,forge'
Type: Dedicated Server (map_server.txt)

commented

I think that first one is the wrong log, that error would have stopped the game from even launching. Second one looks like our problem, I'll take a look at it

commented

thanks, I'll see if i can generate the client fatal error log. Not sure it even makes ont though.

commented

@Saerok, the Digital Miner crash is due to a major oversight by me, and I have fixed it for the next build. As for the Solar Generator crash, however, I have no clue how it could be happening - it definitely would not be the effect of the same issue. If you could give me the server crash report when two players use a Solar Generator that would be great.

commented

Thanks Aidan, the Solar generator issue is a bit odd. We tested it a bit more and noticed its not just that block ID. Its any Mekanism block(pump, electrolytic converter, solar panels, energy cubes, etc). One person would lay down a Metallurgic infuser (we tested this) and it will show as a compressor or enrichment chamber to two other. If we click on it ( we don't even get it use it), it gives us a fatal exception on the client but the server is un-affected. It doesn't seem to generate a crash report but when I get home I will test again and post the fml-latest log. When we log back in it shows to be the correct block id and we can use it as normal.

What seems to be puzzling is this never happened until we built a digital miner. Could the digital miner its self introduce a bug? The player that made the digital miner does not experience this issue but every other player does.