TerrainControl crashes the MCPC Server as a bukkit plugin (logs attached)
Asterix34 opened this issue · 3 comments
I have the most simple install right now as i removed every other mods/plugin to isolate the bug. I get Connection time out, Internal server errors while playing and generating new world, I can force it and log back in until the server crash.
It seems to be related to the structure gen.
It starts with alerts :
2013-11-03 02:10:17 [WARNING] Failed to handle packet for CaporalCaCa [/127.0.0.1:64252]: net.minecraft.util.ReportedException: Exception preparing structure feature
net.minecraft.util.ReportedException: Exception preparing structure feature
at net.minecraft.world.gen.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:202)
at net.minecraft.server.management.PlayerInstance.<init>(PlayerInstance.java:46)
at net.minecraft.server.management.PlayerManager.func_72690_a(PlayerManager.java:140)
at net.minecraft.server.management.PlayerManager.func_72683_a(PlayerManager.java:200)
at net.minecraft.server.management.ServerConfigurationManager.func_72375_a(ServerConfigurationManager.java:276)
at net.minecraft.server.management.ServerConfigurationManager.func_72377_c(ServerConfigurationManager.java:342)
at net.minecraft.server.management.ServerConfigurationManager.func_72355_a(ServerConfigurationManager.java:187)
at net.minecraft.network.NetLoginHandler.completeConnection(NetLoginHandler.java:220)
at cpw.mods.fml.common.network.FMLNetworkHandler.handleClientConnection(FMLNetworkHandler.java:171)
at cpw.mods.fml.common.network.FMLNetworkHandler.onConnectionReceivedFromClient(FMLNetworkHandler.java:124)
at net.minecraft.network.NetLoginHandler.func_72529_d(NetLoginHandler.java:196)
at net.minecraft.network.NetLoginHandler.func_72532_c(NetLoginHandler.java:80)
at net.minecraft.server.ServerListenThread.func_71766_a(ServerListenThread.java:57)
at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(DedicatedServerListenThread.java:33)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:912)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:327)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:779)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:661)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
Caused by: java.lang.RuntimeException: StructureStart "com.khorn.terraincontrol.bukkit.structuregens.RareBuildingStart" missing ID Mapping, Modder see MapGenStructureIO
at net.minecraft.world.gen.structure.StructureStart.func_143021_a(StructureStart.java:73)
at net.minecraft.world.gen.structure.MapGenStructure.func_143026_a(MapGenStructure.java:272)
at net.minecraft.world.gen.structure.MapGenStructure.func_75037_a(MapGenStructure.java:48)
at net.minecraft.world.gen.MapGenBase.func_75036_a(MapGenBase.java:33)
at com.khorn.terraincontrol.bukkit.structuregens.RareBuildingGen.prepare(RareBuildingGen.java:118)
at com.khorn.terraincontrol.bukkit.BukkitWorld.PrepareTerrainObjects(BukkitWorld.java:198)
at com.khorn.terraincontrol.generator.ChunkProviderTC.generate(ChunkProviderTC.java:126)
at com.khorn.terraincontrol.bukkit.TCChunkGenerator.generateBlockSections(TCChunkGenerator.java:64)
at org.bukkit.craftbukkit.v1_6_R3.generator.CustomChunkGenerator.func_73154_d(CustomChunkGenerator.java:95)
at net.minecraft.world.gen.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:193)
... 18 more
2013-11-03 02:10:37 [INFO] §eCaporalCaCa left the game.
2013-11-03 02:12:57 [WARNING] Failed to handle packet for megafaat/2.3.1.123: java.lang.RuntimeException: StructureStart "com.khorn.terraincontrol.bukkit.structuregens.RareBuildingStart" missing ID Mapping, Modder see MapGenStructureIO
java.lang.RuntimeException: StructureStart "com.khorn.terraincontrol.bukkit.structuregens.RareBuildingStart" missing ID Mapping, Modder see MapGenStructureIO
at net.minecraft.world.gen.structure.StructureStart.func_143021_a(StructureStart.java:73)
at net.minecraft.world.gen.structure.MapGenStructure.func_143026_a(MapGenStructure.java:272)
at net.minecraft.world.gen.structure.MapGenStructure.func_75051_a(MapGenStructure.java:83)
at com.khorn.terraincontrol.bukkit.structuregens.RareBuildingGen.place(RareBuildingGen.java:123)
at com.khorn.terraincontrol.bukkit.BukkitWorld.PlaceTerrainObjects(BukkitWorld.java:251)
at com.khorn.terraincontrol.generator.ObjectSpawner.populate(ObjectSpawner.java:56)
at com.khorn.terraincontrol.bukkit.TCBlockPopulator.populate(TCBlockPopulator.java:27)
at net.minecraft.world.gen.ChunkProviderServer.func_73153_a(ChunkProviderServer.java:378)
at net.minecraft.world.chunk.Chunk.func_76624_a(Chunk.java:1338)
at net.minecraft.world.gen.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:231)
at net.minecraft.server.management.PlayerInstance.<init>(PlayerInstance.java:46)
at net.minecraft.server.management.PlayerManager.func_72690_a(PlayerManager.java:140)
at net.minecraft.server.management.PlayerManager.func_72691_b(PlayerManager.java:256)
at net.minecraft.server.management.PlayerManager.func_72685_d(PlayerManager.java:343)
at net.minecraft.server.management.ServerConfigurationManager.func_72358_d(ServerConfigurationManager.java:380)
at net.minecraft.network.NetServerHandler.func_72498_a(NetServerHandler.java:595)
at net.minecraft.network.packet.Packet10Flying.func_73279_a(Packet10Flying.java:51)
at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:469)
at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:233)
at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54)
at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(DedicatedServerListenThread.java:34)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:912)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:327)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:779)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:661)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
And then it crashes
---- Minecraft Crash Report ----
// There are four lights!
Time: 03/11/13 02:36
Description: Exception in server tick loop
java.lang.RuntimeException: StructureStart "com.khorn.terraincontrol.bukkit.structuregens.RareBuildingStart" missing ID Mapping, Modder see MapGenStructureIO
at net.minecraft.world.gen.structure.StructureStart.func_143021_a(StructureStart.java:73)
at net.minecraft.world.gen.structure.MapGenStructure.func_143026_a(MapGenStructure.java:272)
at net.minecraft.world.gen.structure.MapGenStructure.func_75051_a(MapGenStructure.java:83)
at com.khorn.terraincontrol.bukkit.structuregens.RareBuildingGen.place(RareBuildingGen.java:123)
at com.khorn.terraincontrol.bukkit.BukkitWorld.PlaceTerrainObjects(BukkitWorld.java:251)
at com.khorn.terraincontrol.generator.ObjectSpawner.populate(ObjectSpawner.java:56)
at com.khorn.terraincontrol.bukkit.TCBlockPopulator.populate(TCBlockPopulator.java:27)
at net.minecraft.world.gen.ChunkProviderServer.func_73153_a(ChunkProviderServer.java:378)
at net.minecraft.world.chunk.Chunk.func_76624_a(Chunk.java:1343)
at org.bukkit.craftbukkit.v1_6_R3.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:65)
at org.bukkit.craftbukkit.v1_6_R3.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:15)
at org.bukkit.craftbukkit.v1_6_R3.util.AsynchronousExecutor$Task.finish(AsynchronousExecutor.java:179)
at org.bukkit.craftbukkit.v1_6_R3.util.AsynchronousExecutor.finishActive(AsynchronousExecutor.java:287)
at org.bukkit.craftbukkit.v1_6_R3.chunkio.ChunkIOExecutor.tick(ChunkIOExecutor.java:26)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:834)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:327)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:779)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:661)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.6.4
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_45, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 277747544 bytes (264 MB) / 576716800 bytes (550 MB) up to 954728448 bytes (910 MB)
JVM Flags: 1 total; -Xmx1024M
AABB Pool Size: 1174 (65744 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
CraftBukkit Information:
Running: MCPC+ version git-MCPC-Plus-jenkins-MCPC-Plus-116 (MC: 1.6.4) (Implementing API version 1.6.4-R2.0-SNAPSHOT) true
Plugins: { TerrainControl v2.5.0 com.khorn.terraincontrol.bukkit.TCPlugin [Khorn, Olof Cayorion Larsson],}
Warnings: DEFAULT
Threads: { TIMED_WAITING Spigot Watchdog Thread: [java.lang.Thread.sleep(Native Method), org.spigotmc.WatchdogThread.run(WatchdogThread.java:85)], TIMED_WAITING Thread-10: [java.lang.Thread.sleep(Native Method), net.minecraft.network.TcpMasterThread.run(TcpMasterThread.java:17)], RUNNABLE Connection #3 read thread: [java.net.SocketInputStream.socketRead0(Native Method), java.net.SocketInputStream.read(Unknown Source), java.net.SocketInputStream.read(Unknown Source), java.io.FilterInputStream.read(Unknown Source), org.bouncycastle.crypto.io.CipherInputStream.nextChunk(Unknown Source), org.bouncycastle.crypto.io.CipherInputStream.read(Unknown Source), java.io.DataInputStream.readUnsignedByte(Unknown Source), net.minecraft.network.packet.Packet.func_73272_a(Packet.java:159), net.minecraft.network.TcpConnection.func_74447_i(TcpConnection.java:326), net.minecraft.network.TcpConnection.func_74450_c(TcpConnection.java:555), net.minecraft.network.TcpReaderThread.run(TcpReaderThread.java:23)], WAITING Chunk I/O Executor Thread-1: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(Unknown Source), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source), java.util.concurrent.LinkedBlockingQueue.take(Unknown Source), java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source), java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source), java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source), java.lang.Thread.run(Unknown Source)], RUNNABLE Signal Dispatcher: [], TIMED_WAITING Snooper Timer: [java.lang.Object.wait(Native Method), java.util.TimerThread.mainLoop(Unknown Source), java.util.TimerThread.run(Unknown Source)], TIMED_WAITING File IO Thread: [java.lang.Thread.sleep(Native Method), net.minecraft.world.storage.ThreadedFileIOBase.func_75736_b(ThreadedFileIOBase.java:49), net.minecraft.world.storage.ThreadedFileIOBase.run(ThreadedFileIOBase.java:27), java.lang.Thread.run(Unknown Source)], TIMED_WAITING Connection #1 read thread: [java.lang.Thread.sleep(Native Method), net.minecraft.network.TcpReaderThread.run(TcpReaderThread.java:27)], WAITING Finalizer: [java.lang.Object.wait(Native Method), java.lang.ref.ReferenceQueue.remove(Unknown Source), java.lang.ref.ReferenceQueue.remove(Unknown Source), java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)], TIMED_WAITING Keep-Alive-Timer: [java.lang.Thread.sleep(Native Method), sun.net.www.http.KeepAliveCache.run(Unknown Source), java.lang.Thread.run(Unknown Source)], RUNNABLE Attach Listener: [], WAITING Java2D Disposer: [java.lang.Object.wait(Native Method), java.lang.ref.ReferenceQueue.remove(Unknown Source), java.lang.ref.ReferenceQueue.remove(Unknown Source), sun.java2d.Disposer.run(Unknown Source), java.lang.Thread.run(Unknown Source)], TIMED_WAITING Thread-12: [java.lang.Thread.sleep(Native Method), net.minecraft.network.TcpMasterThread.run(TcpMasterThread.java:17)], TIMED_WAITING Connection #2 read thread: [java.lang.Thread.sleep(Native Method), net.minecraft.network.TcpReaderThread.run(TcpReaderThread.java:27)], RUNNABLE DestroyJavaVM: [], RUNNABLE Command Reader: [org.fusesource.jansi.internal.Kernel32._getch(Native Method), org.fusesource.jansi.internal.WindowsSupport.readByte(WindowsSupport.java:46), org.bukkit.craftbukkit.libs.jline.WindowsTerminal.readByte(WindowsTerminal.java:184), org.bukkit.craftbukkit.libs.jline.WindowsTerminal.access$000(WindowsTerminal.java:53), org.bukkit.craftbukkit.libs.jline.WindowsTerminal$1.read(WindowsTerminal.java:151), java.io.FilterInputStream.read(Unknown Source), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader$1.read(ConsoleReader.java:167), org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:267), org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:204), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readCharacter(ConsoleReader.java:995), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:1167), net.minecraft.server.dedicated.DedicatedServerCommandThread.run(DedicatedServerCommandThread.java:38)], WAITING Thread-1: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(Unknown Source), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source), java.util.concurrent.LinkedBlockingQueue.take(Unknown Source), cpw.mods.fml.relauncher.FMLRelaunchLog$ConsoleLogThread.run(FMLRelaunchLog.java:83), java.lang.Thread.run(Unknown Source)], TIMED_WAITING Thread-5: [java.lang.Thread.sleep(Native Method), net.minecraft.server.dedicated.DedicatedServerSleepThread.run(DedicatedServerSleepThread.java:23)], WAITING Reference Handler: [java.lang.Object.wait(Native Method), java.lang.Object.wait(Object.java:503), java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)], RUNNABLE Listen thread: [java.net.DualStackPlainSocketImpl.accept0(Native Method), java.net.DualStackPlainSocketImpl.socketAccept(Unknown Source), java.net.AbstractPlainSocketImpl.accept(Unknown Source), java.net.PlainSocketImpl.accept(Unknown Source), java.net.ServerSocket.implAccept(Unknown Source), java.net.ServerSocket.accept(Unknown Source), net.minecraft.server.ServerListenThread.run(ServerListenThread.java:82)], TIMED_WAITING Connection #3 write thread: [java.lang.Thread.sleep(Native Method), net.minecraft.network.TcpWriterThread.run(TcpWriterThread.java:49)], RUNNABLE Server thread: [java.lang.Thread.dumpThreads(Native Method), java.lang.Thread.getAllStackTraces(Unknown Source), org.bukkit.craftbukkit.v1_6_R3.CraftCrashReport.call(CraftCrashReport.java:27), net.minecraft.crash.CrashReportCategory.func_71500_a(CrashReportCategory.java:106), net.minecraft.crash.CrashReport.func_71504_g(CrashReport.java:58), net.minecraft.crash.CrashReport.<init>(CrashReport.java:40), net.minecraft.server.MinecraftServer.run(MinecraftServer.java:691), net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)], TIMED_WAITING Spigot Metrics Thread: [java.lang.Object.wait(Native Method), java.util.TimerThread.mainLoop(Unknown Source), java.util.TimerThread.run(Unknown Source)],}
Recent tasks from 3940-3970{TerrainControl:com.khorn.terraincontrol.bukkit.util.Metrics$1@129,}
FML: MCP v8.11 FML v6.4.30.933 Minecraft Forge 9.11.1.942 3 mods loaded, 3 mods active
mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{6.4.30.933} [Forge Mod Loader] (mcpc-plus-1.6.4-R2.0-forge942-B116.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{9.11.1.942} [Minecraft Forge] (mcpc-plus-1.6.4-R2.0-forge942-B116.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Profiler Position: N/A (disabled)
Vec3 Pool Size: 321 (17976 bytes; 0 MB) allocated, 6 (336 bytes; 0 MB) used
Player Count: 1 / 20; [EntityPlayerMP['CaporalCaCa'/2001, l='Dereth2014', x=2987,31, y=132,78, z=3055,84](CaporalCaCa at 2987.311034285861,132.78227583148612,3055.836232743111)]
Is Modded: Definitely; Server brand changed to 'mcpc,craftbukkit,fml,forge'
Type: Dedicated Server (map_server.txt)
I posted on MCPC+ and a contributor told me it was a problem with TC not registering their structure generator.
It might be linked with multi threads too...
Any help appreciated ! :))
This should be fixed in the latest dev builds.
Thanks for the quick answer, I just tried it and it seems like it it fixed with this latest build. I can't find where to tag this issue as resolved, can you do it ?