Terrain Control

Terrain Control

235k Downloads

MCPC with MinecraftForge v7.7.1.653 crashes at world generation

whisper2shade opened this issue ยท 10 comments

commented

12:38:44 [INFO] [TerrainControl] Starting to enable world 'worldTwo'...
12:38:44 [SEVERE] java.lang.NoSuchFieldException: F
12:38:44 [SEVERE] at java.lang.Class.getField(Class.java:1539)
12:38:44 [SEVERE] at com.khorn.terraincontrol.bukkit.BukkitBiome.(Unknown Source)
12:38:44 [SEVERE] at com.khorn.terraincontrol.bukkit.BukkitWorld.(Unknown Source)
12:38:44 [SEVERE] at com.khorn.terraincontrol.bukkit.TCPlugin.getDefaultWorldGenerator(Unknown Source)
12:38:44 [SEVERE] at org.bukkit.craftbukkit.v1_5_R2.CraftServer.getGenerator(CraftServer.java:1089)
12:38:44 [SEVERE] at org.bukkit.craftbukkit.v1_5_R2.CraftServer.createWorld(CraftServer.java:766)
12:38:44 [SEVERE] at org.bukkit.Bukkit.createWorld(Bukkit.java:157)
12:38:44 [SEVERE] at org.bukkit.WorldCreator.createWorld(WorldCreator.java:235)
12:38:44 [SEVERE] at com.onarandombox.MultiverseCore.utils.WorldManager.doLoad(Unknown Source)
12:38:44 [SEVERE] at com.onarandombox.MultiverseCore.utils.WorldManager.doLoad(Unknown Source)
12:38:44 [SEVERE] at com.onarandombox.MultiverseCore.utils.WorldManager.doLoad(Unknown Source)
12:38:44 [SEVERE] at com.onarandombox.MultiverseCore.utils.WorldManager.loadWorlds(Unknown Source)
12:38:44 [SEVERE] at com.onarandombox.MultiverseCore.MultiverseCore.onEnable(Unknown Source)
12:38:44 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
12:38:44 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:396)
12:38:44 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:383)
12:38:44 [SEVERE] at org.bukkit.craftbukkit.v1_5_R2.CraftServer.loadPlugin(CraftServer.java:292)
12:38:44 [SEVERE] at org.bukkit.craftbukkit.v1_5_R2.CraftServer.enablePlugins(CraftServer.java:274)
12:38:44 [SEVERE] at net.minecraft.server.MinecraftServer.func_71243_i(MinecraftServer.java:572)
12:38:44 [SEVERE] at net.minecraft.server.MinecraftServer.func_71222_d(MinecraftServer.java:538)
12:38:44 [SEVERE] at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:417)
12:38:44 [SEVERE] at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:217)
12:38:44 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:694)
12:38:44 [SEVERE] at net.minecraft.server.ThreadMinecraftServer.run(Unknown Source)

commented

No problem. That error is now also fixed. But of course, a new error popped up:

net.minecraft.util.ReportedException: Exception generating new chunk
    at net.minecraft.world.World.<init>(World.java:366)
    at net.minecraft.world.WorldServer.<init>(WorldServer.java:136)
    at net.minecraft.server.MinecraftServer.initOverWorld(MinecraftServer.java:424)
    at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:314)
    at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:217)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:694)
    at net.minecraft.server.ThreadMinecraftServer.run(Unknown Source)
Caused by: java.lang.NullPointerException
    at net.minecraft.crash.CrashReportCategory.func_85069_a(CrashReportCategory.java:144)
    at net.minecraft.crash.CrashReport.func_85057_a(CrashReport.java:250)
    at net.minecraft.crash.CrashReport.func_85058_a(CrashReport.java:223)
    at net.minecraft.world.gen.structure.MapGenStructure.func_75037_a(Unknown Source)
    at net.minecraft.world.gen.MapGenBase.func_75036_a(Unknown Source)
    at com.khorn.terraincontrol.bukkit.structuregens.VillageGen.prepare(Unknown Source)
    at com.khorn.terraincontrol.bukkit.BukkitWorld.PrepareTerrainObjects(Unknown Source)
    at com.khorn.terraincontrol.generator.ChunkProviderTC.generate(Unknown Source)
    at com.khorn.terraincontrol.bukkit.TCChunkGenerator.generateBlockSections(Unknown Source)
    at org.bukkit.craftbukkit.v1_5_R2.generator.CustomChunkGenerator.func_73154_d(CustomChunkGenerator.java:95)
    at net.minecraft.world.gen.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:177)
    at net.minecraft.world.gen.ChunkProviderServer.func_73158_c(ChunkProviderServer.java:138)
    at org.bukkit.craftbukkit.v1_5_R2.CraftWorld.loadChunk(CraftWorld.java:367)
    at org.bukkit.craftbukkit.v1_5_R2.CraftWorld.loadChunk(CraftWorld.java:263)
    at org.bukkit.craftbukkit.v1_5_R2.CraftWorld.getHighestBlockYAt(CraftWorld.java:212)
    at org.bukkit.craftbukkit.v1_5_R2.CraftWorld.getHighestBlockAt(CraftWorld.java:632)
    at com.khorn.terraincontrol.bukkit.TCChunkGenerator.canSpawn(Unknown Source)
    at net.minecraft.world.WorldServer.canSpawn(WorldServer.java:307)
    at net.minecraft.world.WorldServer.func_73052_b(WorldServer.java:1125)
    at net.minecraft.world.WorldServer.func_72963_a(WorldServer.java:1066)
    at net.minecraft.world.World.<init>(World.java:351)
    ... 6 more
commented

It is always funny when a CrashReporter crashes :)

commented

Yes, especially because I don't know where the error occured. func_75037_a doesn't even exist, so it must be the remapped version of something. I also don't know what kind of error we have here.

If I can't fix this, I'll simply post a build here without villages tomorrow.

commented

Ok, this wasn't hard to reproduce. It was also easily fixed. But immediately another error popped up...

net.minecraft.util.ReportedException: Exception generating new chunk
    at net.minecraft.world.gen.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:186)
    at net.minecraft.world.gen.ChunkProviderServer.func_73158_c(ChunkProviderServer.java:138)
    at net.minecraft.server.MinecraftServer.func_71222_d(MinecraftServer.java:533)
    at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:417)
    at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:217)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:694)
    at net.minecraft.server.ThreadMinecraftServer.run(Unknown Source)
Caused by: java.lang.NoSuchMethodError: com.khorn.terraincontrol.bukkit.structuregens.StrongholdGen.a(Lnet/minecraft/world/chunk/IChunkProvider;Lnet/minecraft/world/World;II[B)V
    at com.khorn.terraincontrol.bukkit.BukkitWorld.PrepareTerrainObjects(Unknown Source)
    at com.khorn.terraincontrol.generator.ChunkProviderTC.generate(Unknown Source)
    at com.khorn.terraincontrol.bukkit.TCChunkGenerator.generateBlockSections(Unknown Source)
    at org.bukkit.craftbukkit.v1_5_R2.generator.CustomChunkGenerator.func_73154_d(CustomChunkGenerator.java:95)
    at net.minecraft.world.gen.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:177)
    ... 6 more
commented

Thanks for looking into it. I have to rebuild our server from scratch as the old one fell apart and there's no point in starting it up without terrain generation. (terrain regeneration isn't a favourite among the players after they've built their houses)

commented

Well, anything working would be fine, i need to tweak the config files first anyway. I don't suppose the old one are going to work out of the box.

commented

Don't worry, it's now fixed. Download: (launch as a Bukkit plugin)

https://dl.dropboxusercontent.com/u/23288978/terraincontrol/TerrainControl.jar

commented

Still not completely fixed, see #155.

commented

at org.bukkit.craftbukkit.v1_5_R2.generator.CustomChunkGenerator.func_73154_d(CustomChunkGenerator.java:95)

are you running a server?

commented

@alpharulesirulee

This issue is super-old... Why bump it? The original author was running a server, there's no client version of MCPC+...