No pokemons spawning after i lost from a gym and server crashes

I also tried to spawn pokemons using the command /pokespawn but it still disappears right after.

---- Minecraft Crash Report ----

WARNING: coremods are present:
Java8CheckerCoremod (Pixelmon-1.8.9-4.3.0-beta5-universal.jar)
SpongeCoremod (spongeforge-1.8.9-1890-4.2.0-BETA-1693.jar)
Contact their authors BEFORE contacting forge

// Why is it breaking :frowning:

Time: 9/5/16 11:23 AM
Description: Exception in server tick loop

net.minecraftforge.fml.common.LoaderException: java.lang.NoClassDefFoundError: com/pixelmonmod/pixelmon/blocks/BlockEvolutionStoneOre
at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:162)
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:559)
at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:88)
at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:320)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:112)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:441)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: com/pixelmonmod/pixelmon/blocks/BlockEvolutionStoneOre
at com.pixelmonmod.pixelmon.config.PixelmonConfig.loadConfig(PixelmonConfig.java:414)
at com.pixelmonmod.pixelmon.config.PixelmonConfig.init(PixelmonConfig.java:407)
at com.pixelmonmod.pixelmon.Pixelmon.preInit(Pixelmon.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.redirect$onPost$0(LoadController.java:53)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556)
… 5 more
Caused by: java.lang.ClassNotFoundException: com.pixelmonmod.pixelmon.blocks.BlockEvolutionStoneOre
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
… 36 more
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.HashMap$EntrySet.iterator(Unknown Source)
at java.util.HashMap.putMapEntries(Unknown Source)
at java.util.HashMap.(Unknown Source)
at java.util.jar.Attributes.(Unknown Source)
at java.util.jar.Attributes.clone(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.getManifest(Unknown Source)
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:147)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.pixelmonmod.pixelmon.config.PixelmonConfig.loadConfig(PixelmonConfig.java:414)
at com.pixelmonmod.pixelmon.config.PixelmonConfig.init(PixelmonConfig.java:407)
at com.pixelmonmod.pixelmon.Pixelmon.preInit(Pixelmon.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)

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 (x86) version 10.0
Java Version: 1.8.0_101, Oracle Corporation
Java VM Version: Java HotSpot™ Client VM (mixed mode), Oracle Corporation
Memory: 991736 bytes (0 MB) / 259522560 bytes (247 MB) up to 259522560 bytes (247 MB)
JVM Flags: 0 total;
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.19 Powered by Forge 11.15.1.1902 13 mods loaded, 13 mods active
States: ‘U’ = Unloaded ‘L’ = Loaded ‘C’ = Constructed ‘H’ = Pre-initialized ‘I’ = Initialized ‘J’ = Post-initialized ‘A’ = Available ‘D’ = Disabled ‘E’ = Errored
UCH mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
UCH FML{8.0.99.99} [Forge Mod Loader] (Forge.jar)
UCH Forge{11.15.1.1902} [Minecraft Forge] (Forge.jar)
UCH sponge{1.8.9-1890-4.2.0-BETA-1693} [SpongeForge] (spongeforge-1.8.9-1890-4.2.0-BETA-1693.jar)
UCH ArchitectureCraft{1.3.1} [ArchitectureCraft] (ArchitectureCraft-1.3.1-mc1.8.9.jar)
UCH economylite{2.2.6} [EconomyLite] (EconomyLite-5.0.0-2.2.6.jar)
UCH io.github.hsyyid.essentialcmds{@project.informativeVersion@} [EssentialCmds] (EssentialCmds-1.8.9-8.1.14-universal.jar)
UCH lucky{7.0.2} [Lucky Block] (LuckyBlock_1-8-9_v7-0-2.zip)
UCE pixelmon{4.3.0-beta5} [Pixelmon] (Pixelmon-1.8.9-4.3.0-beta5-universal.jar)
UCE pixelextras{2.1.4} [Pixel Extras] (PixelExtras-1.8.9-2.1.4-universal.jar)
UCE pixelmoneconomybridge{1.1.2} [PixelmonEconomyBridge] (PixelmonEconomyBridge-1.8.9-1.1.2-universal.jar)
UCE spawnofpsy{2.1.2} [SpawnOfPsyduck] (SpawnOfPsyduck-1.8.9-2.1.2-universal.jar)
UCE trainercommands{2.1.1} [Pixelmon Trainer Commands] (TrainerCommands-1.8.9-2.1.1-universal.jar)
Loaded coremods (and transformers):
Java8CheckerCoremod (Pixelmon-1.8.9-4.3.0-beta5-universal.jar)

SpongeCoremod (spongeforge-1.8.9-1890-4.2.0-BETA-1693.jar)
org.spongepowered.common.launch.transformer.SpongeSuperclassTransformer
Profiler Position: N/A (disabled)
Is Modded: Definitely; Server brand changed to ‘fml,forge,sponge’
Type: Dedicated Server (map_server.txt)

Your server ram out of ram. Try specifying a larger amount of heap space with -XmxNG, where N is the number of gigabytes to use (e.g. -XmX4g for 4 gigabytes).

Everytime i try to allocate more than 1 gigabytes for my server it says:

C:\Users\MicroHard\Desktop\Server>java -Xmx3G -jar Forge.jar -o true
Error occurred during initialization of VM
Could not reserve enough space for 3145728KB object heap

My machine has 8 gigabytes of ram.

Is it possible you’re running the 32-bit version of Java? You normally need to use 64-bit (on a 64-bit OS) to utilise more than ~1.5GB.

http://www.oracle.com/technetwork/java/hotspotfaq-138619.html#gc_heap_32bit

At a guess this is a 32 vs 64 bit java issue, try installing the 64 bit Java Runtime Environment.

If you have both 32 and 64 bit installed, and you still get this issue, the easiest solution is to uninstall the 32 bit version.

If you need 32 bit java for some reason or another, you could specify which of the 2 java you are trying to run, by specifying the full path to where the 64 bit version is installed.

Yeah about that…

4 Likes