Terrain Control

Terrain Control

235k Downloads

Server crash creating new worlds with MCPC+

keenerb opened this issue ยท 7 comments

commented

Creation of any new worlds (with multiverse/mystcraft/dimensional doors) crashes with an error like this. IF I create the dimension folder manually and copy a valid level.dat in before creating the dimension in-game it seems to work fine.

MCPC+ build 635 for 1.5.2
TerrainControl(Terrain Control:2.4.12): TerrainControl.jar ()

07:37:27 [SEVERE] Encountered an unexpected exception ReportedException
net.minecraft.util.ReportedException: Exception initializing level
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:826)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:320)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:716)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:600)
at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)
Caused by: java.lang.NullPointerException
at com.khorn.terraincontrol.forge.TCWorldType.getMinimumSpawnHeight(TCWorldType.java:91)
at net.minecraft.world.WorldProvider.func_76557_i(WorldProvider.java:236)
at net.minecraft.world.WorldServer.func_73052_b(WorldServer.java:1067)
at net.minecraft.world.WorldServer.func_72963_a(WorldServer.java:1056)
at net.minecraft.world.World.(World.java:389)
at net.minecraft.world.WorldServer.(WorldServer.java:138)
at net.minecraft.world.WorldServerMulti.(WorldServerMulti.java:14)
at net.minecraftforge.common.DimensionManager.initDimension(DimensionManager.java:352)
at StevenDimDoors.mod_pocketDim.helpers.dimHelper.teleportEntity(dimHelper.java:155)
at StevenDimDoors.mod_pocketDim.helpers.dimHelper.teleportToPocket(dimHelper.java:324)
at StevenDimDoors.mod_pocketDim.TransientDoor.func_71869_a(TransientDoor.java:96)
at net.minecraft.entity.Entity.func_70017_D(Entity.java:1137)
at net.minecraft.entity.Entity.func_70091_d(Entity.java:1067)
at net.minecraft.entity.EntityLiving.func_70612_e(EntityLiving.java:1684)
at net.minecraft.entity.EntityLiving.func_70636_d(EntityLiving.java:2008)
at tropicraft.entities.hostile.EntityLand.func_70636_d(EntityLand.java:183)
at tropicraft.entities.passive.land.VMonkey.func_70636_d(VMonkey.java:66)
at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:871)
at net.minecraft.world.World.func_72866_a(World.java:2522)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:938)
at net.minecraft.world.World.func_72870_g(World.java:2475)
at net.minecraft.world.World.func_72939_s(World.java:2287)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:803)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:820)
... 4 more

commented

Im getting errors with TC as a bukkit plugin creating worlds with mcpc+ unfortunately. 1.6 mcpc latest tc

commented

@overclock22 Make sure that the TC and MCPC+ versions march. TC 2.5 is designed for MC 1.6.4, it won't work on MC 1.6.2. If the issue is something else, I'll need the error log to be able to help you.

commented

Ah let me be more concise

http://pastebin.com/B614iAma

Using 2.4.14 and mcpc 1.6.2, probably latest before their update to 1.6.4 if they have at all. If they have I will try 2.5 with it and report back but that is the error I was getting. It was much like this error in this thread or it felt so to me. So I reported it here.

:D

commented

@overclock22 It looks like you misspelled a biome name somewhere, and TC forgot to detect it, causing an error later on.

2.5 won't work on MC 1.6.2, so no need to try that. ๐Ÿ˜„

commented

Sorry rutger, I completely missed your updates to this issue.

I would be more than happy to help you test out the continuing issue with this and MCPC+; I'm training from home all week, and could dedicate whatever time you needed to troubleshooting this.

commented

And the bug is still occuring as a forge mod:

Creating a brand-new world with mcpc+ 1.6.4 build 100 and 2.5.0 recommended build, as well as latest 2.5.1 dev snapshot:

http://pastie.org/8407682

18:13:58 [INFO] Melon Growth Modifier: 100%
18:13:58 [INFO] Mushroom Growth Modifier: 100%
18:13:58 [INFO] Pumpkin Growth Modifier: 100%
18:13:58 [INFO] Sapling Growth Modifier: 100%
18:13:58 [INFO] Wheat Growth Modifier: 100%
18:13:58 [INFO] View Distance: 10
18:13:58 [INFO] Chunks to Grow per Tick: 650
18:13:58 [INFO] Experience Merge Radius: 3.0
18:13:59 [SEVERE] net.minecraft.util.ReportedException: Exception initializing level
18:13:59 [SEVERE]       at net.minecraft.world.World.<init>(World.java:476)
18:13:59 [SEVERE]       at net.minecraft.world.WorldServer.<init>(WorldServer.java:186)
18:13:59 [SEVERE]       at net.minecraft.world.WorldServerMulti.<init>(WorldServerMulti.java:14)
18:13:59 [SEVERE]       at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:401)
18:13:59 [SEVERE]       at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:222)
18:13:59 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:618)
18:13:59 [SEVERE]       at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
18:13:59 [SEVERE] Caused by: java.lang.NullPointerException
18:13:59 [SEVERE]       at com.khorn.terraincontrol.forge.TCWorldType.getMinimumSpawnHeight(TCWorldType.java:108)
18:13:59 [SEVERE]       at net.minecraft.world.WorldProvider.func_76557_i(WorldProvider.java:238)
18:13:59 [SEVERE]       at net.minecraft.world.WorldServer.func_73052_b(WorldServer.java:1144)
18:13:59 [SEVERE]       at net.minecraft.world.WorldServer.func_72963_a(WorldServer.java:1123)
18:13:59 [SEVERE]       at net.minecraft.world.World.<init>(World.java:461)
18:13:59 [SEVERE]       ... 6 more
18:13:59 [SEVERE] Encountered an unexpected exception ReportedException
net.minecraft.util.ReportedException: Exception initializing level
        at net.minecraft.world.World.<init>(World.java:476)
        at net.minecraft.world.WorldServer.<init>(WorldServer.java:186)
        at net.minecraft.world.WorldServerMulti.<init>(WorldServerMulti.java:14)
        at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:401)
        at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:222)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:618)
        at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
Caused by: java.lang.NullPointerException
        at com.khorn.terraincontrol.forge.TCWorldType.getMinimumSpawnHeight(TCWorldType.java:108)
        at net.minecraft.world.WorldProvider.func_76557_i(WorldProvider.java:238)
        at net.minecraft.world.WorldServer.func_73052_b(WorldServer.java:1144)
        at net.minecraft.world.WorldServer.func_72963_a(WorldServer.java:1123)
        at net.minecraft.world.World.<init>(World.java:461)
        ... 6 more
commented

I really need to sit down and debug the issues on MCPC+. Since Minecraft 1.6 there are some compability problems between TC and MCPC+. #178 is another issue with MCPC+ (issue is still around in 1.6), let's see if they can be solved together.

Maybe you can install TC as a Bukkit plugin? On 1.5.2 I tought I fixed all issues when TC was loaded as a Bukkit plugin.

But do you know if this still happens in MC 1.6?