Pixelmon Mod - Bug tracker

Error when creating a new world (java.util.NoSuchElementException: No value present ) fix completed

Ticket description:
When trying to create a new world (also when trying to load world), it crashes.

Here is error log:

---- Minecraft Crash Report ----

WARNING: coremods are present:
FMLPlugin (InventoryTweaks-1.60-40.jar)
MalisisCorePlugin (malisiscore-1.8.9-2.1.0.jar)
Java8CheckerCoremod (Pixelmon-1.8.9-4.2.6-universal.jar)
Contact their authors BEFORE contacting forge

// Don't be sad, have a hug! <3

Time: 1/11/16 12:57
Description: Exception in server tick loop

java.lang.NullPointerException: Exception in server tick loop
at com.pixelmonmod.pixelmon.entities.pixelmon.stats.Level.getExpForLevel(Level.java:121)
at com.pixelmonmod.pixelmon.entities.pixelmon.stats.Level.setLevel(Level.java:98)
at com.pixelmonmod.pixelmon.entities.npcs.NPCTrainer.initializePokemon(NPCTrainer.java:447)
at com.pixelmonmod.pixelmon.entities.npcs.NPCTrainer.loadPokemon(NPCTrainer.java:431)
at com.pixelmonmod.pixelmon.entities.npcs.NPCTrainer.init(NPCTrainer.java:176)
at com.pixelmonmod.pixelmon.listener.spawn.ReplaceMCVillagers.onVillagerSpawn(ReplaceMCVillagers.java:30)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_67_ReplaceMCVillagers_onVillagerSpawn_EntityJoinWorldEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:49)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:140)
at net.minecraft.world.World.func_72838_d(World.java:1122)
at net.minecraft.world.gen.structure.StructureVillagePieces$Village.func_74893_a(StructureVillagePieces.java:1618)
at net.minecraft.world.gen.structure.StructureVillagePieces$House4Garden.func_74875_a(StructureVillagePieces.java:1235)
at net.minecraft.world.gen.structure.StructureStart.func_75068_a(StructureStart.java:46)
at net.minecraft.world.gen.structure.MapGenStructure.func_175794_a(MapGenStructure.java:86)
at net.minecraft.world.gen.ChunkProviderGenerate.func_73153_a(ChunkProviderGenerate.java:401)
at net.minecraft.world.gen.ChunkProviderServer.func_73153_a(ChunkProviderServer.java:261)
at net.minecraft.world.chunk.Chunk.func_76624_a(Chunk.java:1082)
at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:172)
at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:114)
at net.minecraft.world.gen.ChunkProviderServer.func_73158_c(ChunkProviderServer.java:84)
at net.minecraft.server.MinecraftServer.func_71222_d(MinecraftServer.java:307)
at net.minecraft.server.integrated.IntegratedServer.func_71247_a(IntegratedServer.java:109)
at net.minecraft.server.integrated.IntegratedServer.func_71197_b(IntegratedServer.java:123)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:441)
at java.lang.Thread.run(Thread.java:745)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
Minecraft Version: 1.8.9
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 785197928 bytes (748 MB) / 1945276416 bytes (1855 MB) up to 2134114304 bytes (2035 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
IntCache: cache: 1, tcache: 1, allocated: 12, tallocated: 94
FML: MCP 9.19 Powered by Forge 11.15.1.1902 12 mods loaded, 12 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHIJAA mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
UCHIJAA FML{8.0.99.99} [Forge Mod Loader] (forge-1.8.9-11.15.1.1902-1.8.9.jar)
UCHIJAA Forge{11.15.1.1902} [Minecraft Forge] (forge-1.8.9-11.15.1.1902-1.8.9.jar)
UCHIJAA excore{1.5.3} [EXCore] (Excore-1.5.3-1.9.jar)
UCHIJAA inventorytweaks{1.60-40-e06e29a} [Inventory Tweaks] (InventoryTweaks-1.60-40.jar)
UCHIJAA IronChest{6.0.125.770} [Iron Chest] (ironchest-1.8.9-6.0.125.770.jar)
UCHIJAA JEI{2.28.18.186} [Just Enough Items] (jei_1.8.9-2.28.18.186.jar)
UCHIJAA malisiscore{1.8.9-2.1.0} [MalisisCore] (malisiscore-1.8.9-2.1.0.jar)
UCHIJAA malisisdoors{1.8.9-3.1.4} [MalisisDoors] (malisisdoors-1.8.9-3.1.4.jar)
UCHIJAA MoreFurnaces{1.5.2} [More Furnaces] (MoreFurnaces-1.8.9-1.5.2.jar)
UCHIJAA pixelmon{4.2.6} [Pixelmon] (Pixelmon-1.8.9-4.2.6-universal.jar)
UCHIJAA reinforcedTools{1.4.0} [ReinforcedTools] (ReinforcedTools-1.4.0-MC1.8.9.jar)
Loaded coremods (and transformers):
FMLPlugin (InventoryTweaks-1.60-40.jar)
invtweaks.forge.asm.ContainerTransformer
MalisisCorePlugin (malisiscore-1.8.9-2.1.0.jar)
net.malisis.core.util.chunkcollision.ChunkCollisionTransformer
net.malisis.core.util.chunkblock.ChunkBlockTransformer
net.malisis.core.renderer.transformer.MalisisRendererTransformer
net.malisis.core.renderer.icon.asm.TextureMapTransformer
Java8CheckerCoremod (Pixelmon-1.8.9-4.2.6-universal.jar)

Profiler Position: N/A (disabled)
Player Count: 0 / 8; []
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'

Comments

#14618 Posted by Some Body » 01 Nov 2016 10:16

Does this happens with the most up-to-date version?

#19850 Posted by LordSamosa » 11 May 2020 20:18

This ticket is expired. If you believe this is still an issue, please make a new ticket.

Ticket details

  • Ticket ID: 10842
  • Project: Pixelmon Mod
  • Status: Fix completed
  • Component: Crash
  • Project version: 4.x.x
  • Priority: Normal
  • Severity: Normal
  • Forge/Sponge: forge-1.8.9-11.15.1.1902
  • What else would be useful to know?: (unknown)
  • Assigned to: (unassigned)
  • Reported by: MarcosSanGon96 (Send PM)
  • Reporter's tickets: (List all tickets)
  • Reported on: 01 Nov 2016 06:58
  • Ticket last visited by: LordSamosa on 11 May 2020 20:18
JOIN THE TEAM