Crash after /reload
rutgerkok opened this issue ยท 2 comments
Sent to me in a PM by trovaooutlive. Posting it here to remind myself about it, as well so that others can find it
Hi TerrainControl have problem login in you server write /reload and destroy all in front wait 1minute show this
Internal Server Error
console :
net.minecraft.server.v1_5_R1.ReportedException: Exception generating new chunk at net.minecraft.server.v1_5_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:121) at net.minecraft.server.v1_5_R1.PlayerChunk.(PlayerChunk.java:24) at net.minecraft.server.v1_5_R1.PlayerChunkMap.a(PlayerChunkMap.java:70) at net.minecraft.server.v1_5_R1.PlayerChunkMap.b(PlayerChunkMap.java:145) at net.minecraft.server.v1_5_R1.PlayerChunkMap.movePlayer(PlayerChunkMap.java:221) at net.minecraft.server.v1_5_R1.PlayerList.d(PlayerList.java:246) at net.minecraft.server.v1_5_R1.PlayerConnection.a(PlayerConnection.java:426) at net.minecraft.server.v1_5_R1.Packet10Flying.handle(SourceFile:136) at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:174) at net.minecraft.server.v1_5_R1.PlayerConnection.d(PlayerConnection.java:113) at net.minecraft.server.v1_5_R1.ServerConnection.b(SourceFile:35) at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:66) at net.minecraft.server.v1_5_R1.MinecraftServer.r(MinecraftServer.java:582) at net.minecraft.server.v1_5_R1.DedicatedServer.r(DedicatedServer.java:229) at net.minecraft.server.v1_5_R1.MinecraftServer.q(MinecraftServer.java:471) at net.minecraft.server.v1_5_R1.MinecraftServer.run(MinecraftServer.java:403) at net.minecraft.server.v1_5_R1.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.NullPointerException at com.khorn.terraincontrol.generator.ChunkProviderTC.generateTerrain(ChunkProviderTC.java:104) at com.khorn.terraincontrol.generator.ChunkProviderTC.generate(ChunkProviderTC.java:450) at com.khorn.terraincontrol.bukkit.TCChunkGenerator.generateBlockSections(TCChunkGenerator.java:64) at org.bukkit.craftbukkit.v1_5_R1.generator.CustomChunkGenerator.getOrCreateChunk(CustomChunkGenerator.java:98) at net.minecraft.server.v1_5_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:113) ... 16 more
NOT type reload in console go in game and type /reload and destroy all in front wait 1minute
After doing some more research, this crash happens when exploring chunks after a /reload. It seems that Bukkit is keeping references to the old chunk generator.
"Fixed" in bf68396