Crashing MCPC+ 1.6.4 server when add "Base" mod
r4sas opened this issue ยท 5 comments
Hi. I have problem with adding Project: Red on my server.
mcpc-plus-1.6.4-R2.1-forge965-B250.jar
Crashed only when add your mod. Here problem with P:R or ForgeMultipart?
---- Minecraft Crash Report ----
// This doesn't make any sense!
Time: 4/11/14 1:13 PM
Description: Exception in server tick loop
java.lang.NoClassDefFoundError: scala/collection/Seq
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:270)
at cpw.mods.fml.common.ILanguageAdapter$ScalaAdapter.getNewInstance(ILanguageAdapter.java:21)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:518)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:201)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:112)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:511)
at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:99)
at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:350)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:92)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:630)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
Caused by: java.lang.ClassNotFoundException: scala.collection.Seq
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 31 more
Caused by: java.lang.NullPointerException
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:178)
... 33 more
A detailed walkthrough of the error, its code path and all known details is as follows:
-- System Details --
Details:
Minecraft Version: 1.6.4
Operating System: Linux (i386) version 3.5.0-23-generic
Java Version: 1.7.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) Server VM (mixed mode), Oracle Corporation
Memory: 806073632 bytes (768 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
JVM Flags: 2 total; -Xms1G -Xmx1G
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
CraftBukkit Information:
Running:
Failed to handle CraftCrashReport:
java.lang.NullPointerException
at org.bukkit.Bukkit.getName(Bukkit.java:72)
at org.bukkit.craftbukkit.v1_6_R3.CraftCrashReport.call(CraftCrashReport.java:19)
at net.minecraft.crash.CrashReportCategory.func_71500_a(CrashReportCategory.java:106)
at net.minecraft.crash.CrashReport.func_71504_g(CrashReport.java:58)
at net.minecraft.crash.CrashReport.(CrashReport.java:40)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:689)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
FML: MCP v8.11 FML v6.4.49.965 Minecraft Forge 9.11.1.965 19 mods loaded, 19 mods active
mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed
FML{6.4.49.965} [Forge Mod Loader] (mcpc-plus-1.6.4-R2.1-forge965-B250.jar) Unloaded->Constructed
Forge{9.11.1.965} [Minecraft Forge] (mcpc-plus-1.6.4-R2.1-forge965-B250.jar) Unloaded->Constructed
CodeChickenCore{0.9.0.9} [CodeChicken Core] (minecraft.jar) Unloaded->Constructed
Backpack{1.27.34} [Backpack] (backpack-1.27.34-1.6.x.jar) Unloaded->Constructed
BuildCraft|Core{4.2.2} [BuildCraft] (buildcraft-A-1.6.4-4.2.2.jar) Unloaded->Constructed
BuildCraft|Builders{4.2.2} [BC Builders] (buildcraft-A-1.6.4-4.2.2.jar) Unloaded->Constructed
BuildCraft|Energy{4.2.2} [BC Energy] (buildcraft-A-1.6.4-4.2.2.jar) Unloaded->Constructed
BuildCraft|Factory{4.2.2} [BC Factory] (buildcraft-A-1.6.4-4.2.2.jar) Unloaded->Constructed
BuildCraft|Transport{4.2.2} [BC Transport] (buildcraft-A-1.6.4-4.2.2.jar) Unloaded->Constructed
BuildCraft|Silicon{4.2.2} [BC Silicon] (buildcraft-A-1.6.4-4.2.2.jar) Unloaded->Constructed
craftguide{1.5.2} [CraftGuide] (CraftGuide-1.6.7.5.zip) Unloaded->Constructed
FTL{1.0.0_R1} [Flesh To Leather] (Flesh_To_Leather_V.1.0.0_R1.jar) Unloaded->Constructed
IC2{2.0.397-experimental} [IndustrialCraft 2] (industrialcraft-2_2.0.397-experimental.jar) Unloaded->Constructed
Thaumcraft{4.1.0g} [Thaumcraft] (Thaumcraft4.1.0g.zip) Unloaded->Constructed
Railcraft{8.3.2.0} [Railcraft] (Railcraft_1.6.4-8.3.2.0.jar) Unloaded->Constructed
ForgeMultipart{1.0.0.244} [Forge Multipart] (ForgeMultipart-universal-1.6.4-1.0.0.244.jar) Unloaded->Constructed
McMultipart{1.0.0.244} [Minecraft Multipart Plugin] (ForgeMultipart-universal-1.6.4-1.0.0.244.jar) Unloaded->Constructed
ForgeMicroblock{1.0.0.244} [Forge Microblocks] (ForgeMultipart-universal-1.6.4-1.0.0.244.jar) Unloaded
Profiler Position: N/A (disabled)
Is Modded: Definitely; Server brand changed to 'mcpc,craftbukkit,fml,forge'
Type: Dedicated Server (map_server.txt)
OK, I have found the problem. When setting up a new MCPC+ server, the required scala libraries are downloaded except for the fact that the URL for the libraries are returning a 302 Found message. The library manager does not redirect to the new URL and instead simply stores the response as-is.
To fix, you need to manually overwrite the following files:
- libraries/org/scala-lang/scala-compiler/2.10.2/scala-compiler-2.10.2.jar
- libraries/org/scala-lang/scala-library/2.10.2/scala-library-2.10.2.jar
You can find the files from an installation of forge in your .minecraft folder or direct from scala-lang.org
This is an MCPC+ issue.