Hotelmariofan Posted May 18, 2014 Posted May 18, 2014 (edited) I recently put together a modpack for some friends and I. After testing and not running into many issues, I began getting this error message in the server log: 2014-05-18 11:36:34 [SEVERE] java.lang.NullPointerException 2014-05-18 11:36:34 [SEVERE] at powercrystals.minefactoryreloaded.modhelpers.forgemultiparts.FMP.addSubtypes(FMP.java:60) 2014-05-18 11:36:34 [SEVERE] at powercrystals.minefactoryreloaded.modhelpers.forgemultiparts.FMP.Init(FMP.java:38) 2014-05-18 11:36:34 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-05-18 11:36:34 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2014-05-18 11:36:34 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-05-18 11:36:34 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source) 2014-05-18 11:36:34 [SEVERE] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:545) 2014-05-18 11:36:34 [SEVERE] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) 2014-05-18 11:36:34 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-05-18 11:36:34 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source) 2014-05-18 11:36:34 [SEVERE] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) 2014-05-18 11:36:34 [SEVERE] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2014-05-18 11:36:34 [SEVERE] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) 2014-05-18 11:36:34 [SEVERE] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) 2014-05-18 11:36:34 [SEVERE] at com.google.common.eventbus.EventBus.post(EventBus.java:267) 2014-05-18 11:36:34 [SEVERE] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:201) 2014-05-18 11:36:34 [SEVERE] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181) 2014-05-18 11:36:34 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-05-18 11:36:34 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2014-05-18 11:36:34 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-05-18 11:36:34 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source) 2014-05-18 11:36:34 [SEVERE] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) 2014-05-18 11:36:34 [SEVERE] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2014-05-18 11:36:34 [SEVERE] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) 2014-05-18 11:36:34 [SEVERE] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) 2014-05-18 11:36:34 [SEVERE] at com.google.common.eventbus.EventBus.post(EventBus.java:267) 2014-05-18 11:36:34 [SEVERE] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:112) 2014-05-18 11:36:34 [SEVERE] at cpw.mods.fml.common.Loader.initializeMods(Loader.java:699) 2014-05-18 11:36:34 [SEVERE] at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:107) 2014-05-18 11:36:34 [SEVERE] at cpw.mods.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:355) 2014-05-18 11:36:34 [SEVERE] at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:178) 2014-05-18 11:36:34 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:630) 2014-05-18 11:36:34 [SEVERE] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16) 2014-05-18 11:36:40 [SEVERE] java.lang.ClassNotFoundException: twilightforest.entity.TFCreatures 2014-05-18 11:36:40 [SEVERE] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:97) 2014-05-18 11:36:40 [SEVERE] at java.lang.ClassLoader.loadClass(Unknown Source) 2014-05-18 11:36:40 [SEVERE] at java.lang.ClassLoader.loadClass(Unknown Source) 2014-05-18 11:36:40 [SEVERE] at java.lang.Class.forName0(Native Method) 2014-05-18 11:36:40 [SEVERE] at java.lang.Class.forName(Unknown Source) 2014-05-18 11:36:40 [SEVERE] at powercrystals.minefactoryreloaded.modhelpers.twilightforest.TwilightForest.load(TwilightForest.java:47) 2014-05-18 11:36:40 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-05-18 11:36:40 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2014-05-18 11:36:40 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-05-18 11:36:40 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source) 2014-05-18 11:36:40 [SEVERE] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:545) 2014-05-18 11:36:40 [SEVERE] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) 2014-05-18 11:36:40 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-05-18 11:36:40 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source) 2014-05-18 11:36:40 [SEVERE] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) 2014-05-18 11:36:40 [SEVERE] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2014-05-18 11:36:40 [SEVERE] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) 2014-05-18 11:36:40 [SEVERE] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) 2014-05-18 11:36:40 [SEVERE] at com.google.common.eventbus.EventBus.post(EventBus.java:267) 2014-05-18 11:36:40 [SEVERE] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:201) 2014-05-18 11:36:40 [SEVERE] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181) 2014-05-18 11:36:40 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-05-18 11:36:40 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2014-05-18 11:36:40 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-05-18 11:36:40 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source) 2014-05-18 11:36:40 [SEVERE] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) 2014-05-18 11:36:40 [SEVERE] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2014-05-18 11:36:40 [SEVERE] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) 2014-05-18 11:36:40 [SEVERE] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) 2014-05-18 11:36:40 [SEVERE] at com.google.common.eventbus.EventBus.post(EventBus.java:267) 2014-05-18 11:36:40 [SEVERE] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:112) 2014-05-18 11:36:40 [SEVERE] at cpw.mods.fml.common.Loader.initializeMods(Loader.java:699) 2014-05-18 11:36:40 [SEVERE] at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:107) 2014-05-18 11:36:40 [SEVERE] at cpw.mods.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:355) 2014-05-18 11:36:40 [SEVERE] at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:178) 2014-05-18 11:36:40 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:630) 2014-05-18 11:36:40 [SEVERE] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16) 2014-05-18 11:36:46 [INFO] Ore: cropPumpkin 2014-05-18 11:36:46 [INFO] Ore: cropMelon 2014-05-18 11:36:46 [INFO] Ore: cropPotato 2014-05-18 11:36:46 [INFO] Ore: cropCarrot 2014-05-18 11:36:46 [INFO] Fluid: peat 2014-05-18 11:36:46 [INFO] Fluid: vegetable 2014-05-18 11:36:49 [INFO] Fluid: molten redstone 2014-05-18 11:36:53 [INFO] [qCraft] Loading qCraft v1.1 (rev 253) 2014-05-18 11:37:03 [SEVERE] java.lang.OutOfMemoryError: PermGen space 2014-05-18 11:37:03 [SEVERE] Encountered an unexpected exception OutOfMemoryError java.lang.OutOfMemoryError: PermGen space 2014-05-18 11:37:06 [INFO] Stopping server 2014-05-18 11:37:06 [SEVERE] java.lang.NoClassDefFoundError: org/bukkit/plugin/Plugin 2014-05-18 11:37:06 [SEVERE] at org.bukkit.plugin.SimplePluginManager.getPlugins(SimplePluginManager.java:343) 2014-05-18 11:37:06 [SEVERE] at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:393) 2014-05-18 11:37:06 [SEVERE] at org.bukkit.craftbukkit.v1_6_R3.CraftServer.disablePlugins(CraftServer.java:273) 2014-05-18 11:37:06 [SEVERE] at net.minecraft.server.MinecraftServer.func_71260_j(MinecraftServer.java:566) 2014-05-18 11:37:06 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:715) 2014-05-18 11:37:06 [SEVERE] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16) 2014-05-18 11:37:06 [SEVERE] Exception in thread "Server thread" 2014-05-18 11:37:06 [SEVERE] java.lang.OutOfMemoryError: PermGen space 2014-05-18 11:39:08 [SEVERE] Exception in thread "Listen thread" 2014-05-18 11:39:08 [SEVERE] java.lang.NoClassDefFoundError: net/minecraft/network/packet/Packet44UpdateAttributes 2014-05-18 11:39:08 [SEVERE] at net.minecraft.server.ServerListenThread.run(ServerListenThread.java:108) 2014-05-18 11:39:08 [SEVERE] Caused by: java.lang.ClassNotFoundException: net.minecraft.network.packet.Packet44UpdateAttributes 2014-05-18 11:39:08 [SEVERE] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:186) 2014-05-18 11:39:08 [SEVERE] at java.lang.ClassLoader.loadClass(Unknown Source) 2014-05-18 11:39:08 [SEVERE] at java.lang.ClassLoader.loadClass(Unknown Source) 2014-05-18 11:39:08 [SEVERE] ... 1 more 2014-05-18 11:39:08 [SEVERE] Caused by: java.lang.OutOfMemoryError: PermGen space Now, as far as the server's specs go, it has the following: RAM: 6GB GPU: 9800GT (2GB) CPU: Q8200 Quad-Core at 2.33GHz If you'd like to see the full server log, here it is: http://pastebin.com/5M5tWzcA At this point, I'm still not experienced enough to be able to understand server logs extensively, so any help would be greatly appreciated. Thanks. Edited May 18, 2014 by Hotelmariofan Quote
Discord Moderator plowmanplow Posted May 18, 2014 Discord Moderator Posted May 18, 2014 It says right in your log what the problem is: 2014-05-18 11:37:03 [SEVERE] Encountered an unexpected exception OutOfMemoryError java.lang.OutOfMemoryError: PermGen space Increase the permgen allocation of your server process. Quote
Hotelmariofan Posted May 18, 2014 Author Posted May 18, 2014 (edited) It says right in your log what the problem is: 2014-05-18 11:37:03 [SEVERE] Encountered an unexpected exception OutOfMemoryError java.lang.OutOfMemoryError: PermGen space Increase the permgen allocation of your server process. Yeah, I saw that. That's why I changed my server.bat to this: @echo off java -Xms2048m -Xmx6144m -XX:PermSize=256m -XX:MaxPermSize=1024m -jar Minecraft_RKit.jar user:pass pause Either there's a mistake somewhere in there, or we must be missing something. By the way, for testing purposes, I will be running the server on a machine with the following specs: CPU: Intel 3570K @ 3.8GHz RAM: 16GB GPU: GTX 680 2GB Edited May 19, 2014 by Hotelmariofan Quote
Discord Moderator plowmanplow Posted May 19, 2014 Discord Moderator Posted May 19, 2014 Without a link to your pack I can't give you more specific information, but 1G of PermSize is going to be major overkill. 256M of permgen will typically handle a couple hundred mods without trouble. Maybe up to 384M if you have a lot of very big mods in there. Quote
Hotelmariofan Posted May 19, 2014 Author Posted May 19, 2014 (edited) Well, I've found that it's an issue with Remote Toolkit. For some reason, no amount of permgen will get rid of that error, but as soon as I run the server without that tool (which is incredibly useful), it works without issue. (Well, I have other issues that are irrelevant to this particular thread). I think I'll deal with the rToolkit dev (unless of course you have any ideas as to why this would happen). Thank you for your help thus far, I appreciate it. Edited May 19, 2014 by Hotelmariofan Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.