Unhandled Exception when creating new world with TC
Crucible76 opened this issue ยท 10 comments
Running a 1.6.2 Server using MCPC+, using Multiverse 2.5 plugins/mods. When attempting to create a new world using TerrainControl I get the following message:
mv create Vestroia normal -g TerrainControl
16:15:09 [INFO] [TerrainControl] Ignoring world with the name "test". This is no
t a valid world name,
16:15:09 [INFO] [TerrainControl] as it's used by Multiverse to check if "Terrain
Control" a valid generator name.
16:15:09 [INFO] [TerrainControl] So if you were just using /mv create, don't wor
ry about this message.
16:15:09 [INFO] CONSOLE: Starting creation of world 'Vestroia'...
16:15:09 [INFO] [TerrainControl] Starting to enable world 'Vestroia'...
16:15:09 [WARNING] Unexpected exception while parsing console command "mv create
Vestroia normal -g TerrainControl"
org.bukkit.command.CommandException: Unhandled exception executing command 'mv'
in plugin Multiverse-Core v2.5-b670
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:18
9)
at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServe
r.java:564)
at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchServerCommand(Craf
tServer.java:547)
at net.minecraft.server.dedicated.DedicatedServer.func_71333_ah(Dedicate
dServer.java:362)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(Dedicated
Server.java:319)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.jav
a:746)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:630)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.
java:16)
Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_6_R2/WorldPro
vider
at com.khorn.terraincontrol.bukkit.TCPlugin.getDefaultWorldGenerator(TCP
lugin.java:129)
at org.bukkit.WorldCreator.getGeneratorForName(WorldCreator.java:284)
at org.bukkit.WorldCreator.generator(WorldCreator.java:181)
at com.onarandombox.MultiverseCore.utils.WorldManager.addWorld(WorldMana
ger.java:201)
at com.onarandombox.MultiverseCore.commands.CreateCommand.runCommand(Cre
ateCommand.java:114)
at com.pneumaticraft.commandhandler.multiverse.CommandHandler.checkAndRu
nCommand(CommandHandler.java:279)
at com.pneumaticraft.commandhandler.multiverse.CommandHandler.processFou
ndCommands(CommandHandler.java:143)
at com.pneumaticraft.commandhandler.multiverse.CommandHandler.locateAndR
unCommand(CommandHandler.java:93)
at com.onarandombox.MultiverseCore.MultiverseCore.onCommand(MultiverseCo
re.java:894)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
... 8 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_6_R2.WorldP
rovider
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
java:340)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
java:332)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 18 more
If I omit the '-g TerrainControl' it creates the new world fine. TIA for any help.
Closing this issue, as it's a really old issue that is unfortunately not going to be fixed.
It looks like you need to upgrade Terrain Control. Do you have the latest file from BukkitDev?
I thought I did, just grabbed Terrain Control v2.4.14 for 1.6.2 (Jul 09, 2013) from dev.bukkit, will give it a try and report back. Thanks.
Updated MCPC, Running latest builds of Multiverse 2.5, picked up the latest build of TerrainControl as mentioned above and still bombing when referencing TC, tested using the mvgens command to see if MV can even call it:
mvgens
16:40:14 [INFO] [Multiverse-Core] PLEASE IGNORE the 'Plugin X does not contain a
ny generators' message below!
16:40:14 [INFO] [TerrainControl] Starting to enable world 'world'...
16:40:14 [WARNING] Unexpected exception while parsing console command "mvgens"
org.bukkit.command.CommandException: Unhandled exception executing command 'mvge
ns' in plugin Multiverse-Core v2.5-b670
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:18
9)
at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServe
r.java:564)
at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchServerCommand(Craf
tServer.java:547)
at net.minecraft.server.dedicated.DedicatedServer.func_71333_ah(Dedicate
dServer.java:362)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(Dedicated
Server.java:319)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.jav
a:746)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:630)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.
java:16)
Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_6_R2/WorldPro
vider
at com.khorn.terraincontrol.bukkit.TCPlugin.getDefaultWorldGenerator(TCP
lugin.java:129)
at com.onarandombox.MultiverseCore.commands.GeneratorCommand.runCommand(
GeneratorCommand.java:44)
at com.pneumaticraft.commandhandler.multiverse.CommandHandler.checkAndRu
nCommand(CommandHandler.java:279)
at com.pneumaticraft.commandhandler.multiverse.CommandHandler.processFou
ndCommands(CommandHandler.java:143)
at com.pneumaticraft.commandhandler.multiverse.CommandHandler.locateAndR
unCommand(CommandHandler.java:93)
at com.onarandombox.MultiverseCore.MultiverseCore.onCommand(MultiverseCo
re.java:894)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
... 8 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_6_R2.WorldP
rovider
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
java:340)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
java:332)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 15 more
Looks like an update to MCPC+ has allowed me to use TC as a generator, but I'm getting some missing Biomes errors, not sure if that's normal, will post messages in a bit
Ok this problem has morphed into something else, does it need a new ticket? When I make a world, it creates now but it is water world minus kevin costner, but this is the result from the console:
mv create Phellstar normal -g TerrainControl
22:04:32 [INFO] [TerrainControl] Ignoring world with the name "test". This is no
t a valid world name,
22:04:32 [INFO] [TerrainControl] as it's used by Multiverse to check if "Terrain
Control" a valid generator name.
22:04:32 [INFO] [TerrainControl] So if you were just using /mv create, don't wor
ry about this message.
22:04:32 [INFO] CONSOLE: Starting creation of world 'Phellstar'...
22:04:32 [INFO] [TerrainControl] Starting to enable world 'Phellstar'...
22:04:32 [INFO] [TerrainControl] settings does not exist, creating defaults
22:04:32 [INFO] [TerrainControl] File not found: WorldConfig.ini
22:04:32 [INFO] [TerrainControl] 0 world custom objects loaded.
22:04:32 [INFO] [TerrainControl] File not found: OceanBiomeConfig.ini
22:04:32 [INFO] [TerrainControl] File not found: PlainsBiomeConfig.ini
22:04:32 [INFO] [TerrainControl] File not found: DesertBiomeConfig.ini
22:04:32 [INFO] [TerrainControl] File not found: Extreme HillsBiomeConfig.ini
22:04:32 [INFO] [TerrainControl] File not found: ForestBiomeConfig.ini
22:04:32 [INFO] [TerrainControl] File not found: TaigaBiomeConfig.ini
22:04:32 [INFO] [TerrainControl] File not found: SwamplandBiomeConfig.ini
22:04:32 [INFO] [TerrainControl] File not found: RiverBiomeConfig.ini
22:04:32 [INFO] [TerrainControl] File not found: HellBiomeConfig.ini
22:04:32 [INFO] [TerrainControl] File not found: SkyBiomeConfig.ini
22:04:32 [INFO] [TerrainControl] File not found: FrozenOceanBiomeConfig.ini
22:04:32 [INFO] [TerrainControl] File not found: FrozenRiverBiomeConfig.ini
22:04:32 [INFO] [TerrainControl] File not found: Ice PlainsBiomeConfig.ini
22:04:32 [INFO] [TerrainControl] File not found: Ice MountainsBiomeConfig.ini
22:04:32 [INFO] [TerrainControl] File not found: MushroomIslandBiomeConfig.ini
22:04:32 [INFO] [TerrainControl] File not found: MushroomIslandShoreBiomeConfig.
ini
22:04:32 [INFO] [TerrainControl] File not found: BeachBiomeConfig.ini
22:04:32 [INFO] [TerrainControl] File not found: DesertHillsBiomeConfig.ini
22:04:32 [INFO] [TerrainControl] File not found: ForestHillsBiomeConfig.ini
22:04:32 [INFO] [TerrainControl] File not found: TaigaHillsBiomeConfig.ini
22:04:32 [INFO] [TerrainControl] File not found: Extreme Hills EdgeBiomeConfig.i
ni
22:04:32 [INFO] [TerrainControl] File not found: JungleBiomeConfig.ini
22:04:33 [INFO] [TerrainControl] File not found: JungleHillsBiomeConfig.ini
22:04:33 [INFO] [TerrainControl] Loaded biomes - Ocean, Plains, Desert, Extreme
Hills, Forest, Taiga, Swampland, River, Hell, Sky, FrozenOcean, FrozenRiver, Ice
Plains, Ice Mountains, MushroomIsland, MushroomIslandShore, Beach, DesertHills,
ForestHills, TaigaHills, Extreme Hills Edge, Jungle, JungleHills
22:04:33 [INFO] [Multiverse-Core] Loading World & Settings - 'Phellstar' - Env:
NORMAL - Type: NORMAL & generator: TerrainControl
22:04:33 [INFO] [TerrainControl] World Phellstar is now enabled!
2013-07-19 22:04:34 [INFO] [ForgeModLoader] Loading dimension 6 (Phellstar) (ne
t.minecraft.server.dedicated.DedicatedServer@14bc22fc)
22:04:34 [INFO] Preparing start region for level 2 (Dimension: 6, Seed: -5253486
64139407735)
22:04:35 [INFO] Preparing spawn area for Phellstar, 8%
22:04:36 [INFO] Preparing spawn area for Phellstar, 28%
22:04:37 [INFO] Preparing spawn area for Phellstar, 48%
22:04:38 [INFO] Preparing spawn area for Phellstar, 69%
22:04:39 [INFO] Preparing spawn area for Phellstar, 85%
22:04:40 [INFO] CONSOLE: Complete!
There are mines and caves under the ocean, but that is all. I've tried it with -t LARGEBIOMES and without to the same effect.
I don't really know what's happening, but MCPC+ is not really stable at the moment. I suggest waiting a week.
By the way, LARGEBIOMES has no effect on your world (you can't have both a world type and a generator). You can set GenerationDepth
to 12 in the WorldConfig for the same effect.
Appreciate the honesty. I'm following MCPC+ so hopefully they'll get the kinks worked out.
And thanks for explaining that, I wasn't sure about the type vs. generator.
In Minecraft 1.6.2, MCPC+ seems to work fine now. The first builds of MCPC+ were unstable, but now everything seems to work fine.