Help with error while starting

When I start the server I get this error and it does not start, but I can not find the cause!

---- Minecraft Crash Report ----

WARNING: coremods are present:
llibrary (llibrary-core-1.0.11-1.12.2.jar)
ShetiPhian-ASM (ShetiPhian-ASM-1.12.0.jar)
LogisticsPipesCoreLoader (logisticspipes-0.10.1.112.jar)
SpongeCoremod (spongeforge-1.12.2-2768-7.1.5.jar)
ForgelinPlugin (Forgelin-1.8.2.jar)
CTMCorePlugin (CTM-MC1.12.2-0.3.3.22.jar)
Contact their authors BEFORE contacting forge

// My bad.

Time: 09/04/19 00:50
Description: Exception in server tick loop

java.lang.NoClassDefFoundError: net/minecraft/client/resources/IResourceManagerReloadListener
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:526)
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.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197)
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.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.redirect$onPost$zza000(LoadController.java:560)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136)
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:593)
at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:98)
at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:333)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:125)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.resources.IResourceManagerReloadListener
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
… 35 more
Caused by: net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer@78de58ea from coremod FMLCorePlugin
at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:260)
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279)
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176)
… 37 more
Caused by: java.lang.RuntimeException: Attempted to load class ceq for invalid side SERVER
at net.minecraftforge.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:62)
at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:256)
… 39 more

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

– Head –
Thread: Server thread
Stacktrace:
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:526)
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.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197)
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.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.redirect$onPost$zza000(LoadController.java:560)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136)
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:593)

– Sponge PhaseTracker –
Details:
Phase Stack: [Empty stack]
Stacktrace:
at net.minecraft.server.MinecraftServer.handler$onCrashReport$zjm000(MinecraftServer.java:3973)
at net.minecraft.server.MinecraftServer.func_71230_b(MinecraftServer.java:889)
at net.minecraft.server.dedicated.DedicatedServer.func_71230_b(DedicatedServer.java:371)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:558)
at java.lang.Thread.run(Unknown Source)

– System Details –
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_201, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 871052360 bytes (830 MB) / 1423441920 bytes (1357 MB) up to 1894252544 bytes (1806 MB)
JVM Flags: 2 total; -Xms1G -Xms1G
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.42 Powered by Forge 14.23.5.2824 38 mods loaded, 38 mods active
States: ‘U’ = Unloaded ‘L’ = Loaded ‘C’ = Constructed ‘H’ = Pre-initialized ‘I’ = Initialized ‘J’ = Post-initialized ‘A’ = Available ‘D’ = Disabled ‘E’ = Errored

| State | ID                | Version                 | Source                                             | Signature                                |
|:----- |:----------------- |:----------------------- |:-------------------------------------------------- |:---------------------------------------- |
| LC    | minecraft         | 1.12.2                  | minecraft.jar                                      | None                                     |
| LC    | mcp               | 9.42                    | minecraft.jar                                      | None                                     |
| LC    | FML               | 8.0.99.99               | forge.jar                                          | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| LC    | forge             | 14.23.5.2824            | forge.jar                                          | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| LC    | spongeapi         | 7.1.0-366290f8          | spongeforge-1.12.2-2768-7.1.5.jar                  | None                                     |
| LC    | sponge            | 1.12.2-7.1.5            | spongeforge-1.12.2-2768-7.1.5.jar                  | None                                     |
| LC    | spongeforge       | 1.12.2-2768-7.1.5       | spongeforge-1.12.2-2768-7.1.5.jar                  | None                                     |
| LC    | jei               | 4.15.0.275              | jei_1.12.2-4.15.0.275.jar                          | None                                     |
| LC    | appleskin         | 1.0.9                   | AppleSkin-mc1.12-1.0.9.jar                         | None                                     |
| LC    | baubles           | 1.5.2                   | Baubles-1.12-1.5.2.jar                             | None                                     |
| L     | betterhud         | 1.4                     | betterhud-1.12.2-1.4.jar                           | None                                     |
| L     | zawa              | 1.12.2-1.5.5            | zawa+-+1.5.5+(1.12.2).jar                          | None                                     |
| L     | bookworm          | 1.12.2-2.1.0            | bookworm+-+2.1.0+(1.12.2).jar                      | None                                     |
| L     | chisel            | MC1.12.2-0.2.1.35       | Chisel-MC1.12.2-0.2.1.35.jar                       | None                                     |
| L     | codechickenlib    | 3.2.2.353               | CodeChickenLib-1.12.2-3.2.2.353-universal.jar      | None                                     |
| L     | craftstudioapi    | 1.0.0                   | CraftStudioAPI-universal-1.0.1.95-mc1.12-alpha.jar | None                                     |
| L     | mocreatures       | 12.0.5                  | DrZharks MoCreatures Mod-12.0.5.jar                | None                                     |
| L     | economylite       | 2.15.1                  | EconomyLite-7.1.0-2.15.1.jar                       | None                                     |
| L     | forestry          | 5.8.2.387               | forestry_1.12.2-5.8.2.387.jar                      | None                                     |
| L     | forgelin          | 1.8.2                   | Forgelin-1.8.2.jar                                 | None                                     |
| L     | griefprevention   | 1.12.2-4.3.0.689        | griefprevention-1.12.2-4.3.0.689.jar               | None                                     |
| L     | waila             | 1.8.26                  | Hwyla-1.8.26-B41_1.12.2.jar                        | None                                     |
| L     | improvedbackpacks | 1.12.2-1.4.0.0          | ImprovedBackpacks-1.12.2-1.4.0.0.jar               | None                                     |
| L     | jobslite          | 1.8.1                   | JobsLite-7.1.0-1.8.1.jar                           | None                                     |
| L     | journeymap        | 1.12.2-5.5.4            | journeymap-1.12.2-5.5.4.jar                        | None                                     |
| L     | langswitch        | 1.4                     | LangSwitch-1.4.jar                                 | None                                     |
| L     | logisticspipes    | 0.10.1.112              | logisticspipes-0.10.1.112.jar                      | None                                     |
| L     | megamenus         | 0.3                     | Mega Menus-0.3.jar                                 | None                                     |
| L     | mobends           | 0.24                    | mobends-0.24_for_MC-1.12.jar                       | None                                     |
| L     | morebees          | 1.12.2-2.0.1            | morebees-1.12.2-2.0.1.jar                          | None                                     |
| L     | llibrary          | 1.7.18                  | llibrary-1.7.18-1.12.2.jar                         | None                                     |
| L     | mowziesmobs       | 1.5.3                   | mowziesmobs-1.5.3.jar                              | None                                     |
| L     | patchouli         | 1.0-18                  | Patchouli-1.0-18.jar                               | None                                     |
| L     | thaumcraft        | 6.1.BETA26              | Thaumcraft-1.12.2-6.1.BETA26.jar                   | None                                     |
| L     | vampirism         | 1.5.0-alpha+04-01-23-42 | Vampirism-1.12.2-1.5.0-alpha+04-01-23-42.jar       | None                                     |
| L     | teamlapen-lib     | 1.5.0-alpha+04-01-23-42 | Vampirism-1.12.2-1.5.0-alpha+04-01-23-42.jar       | None                                     |
| L     | vshop             | 2.0                     | VillagerShops-2.0.jar                              | None                                     |
| L     | shetiphiancore    | 3.5.9                   | shetiphiancore-1.12.0-3.5.9.jar                    | None                                     |

Loaded coremods (and transformers): 

llibrary (llibrary-core-1.0.11-1.12.2.jar)
net.ilexiconn.llibrary.server.core.plugin.LLibraryTransformer
net.ilexiconn.llibrary.server.core.patcher.LLibraryRuntimePatcher
ShetiPhian-ASM (ShetiPhian-ASM-1.12.0.jar)
shetiphian.asm.ClassTransformer
LogisticsPipesCoreLoader (logisticspipes-0.10.1.112.jar)
logisticspipes.asm.LogisticsClassTransformer
SpongeCoremod (spongeforge-1.12.2-2768-7.1.5.jar)
org.spongepowered.common.launch.transformer.SpongeSuperclassTransformer
ForgelinPlugin (Forgelin-1.8.2.jar)

CTMCorePlugin (CTM-MC1.12.2-0.3.3.22.jar)
team.chisel.ctm.client.asm.CTMTransformer
Profiler Position: N/A (disabled)
Is Modded: Definitely; Server brand changed to ‘fml,forge,sponge’
Type: Dedicated Server (map_server.txt)

I think your issue here is that 1GB of memory is most likely definitely not enough to run a server with that many mods…

1 Like

even allocating 4GB still got the same error!

Can you post the - system details- section of the new crash report on the 4GB try?

obviously, you can’t call net.minecraft.client at server side.

1 Like

That’s also a good point… Betterhud mod is probably client side only. Would be nice if the mod declared itself as client-side only tho.

Remove betterhub and start again

Yes, problem is with better-hud
(you can determine this from the table that forge prints out:

| LC    | baubles           | 1.5.2                   | Baubles-1.12-1.5.2.jar                             | None                                     |
| L     | betterhud         | 1.4                     | betterhud-1.12.2-1.4.jar                           | None                                     |

See how it constructed - “C” the other mods but stopped at betterhud)

Problem is specifically with their config class
https://github.com/mccreery/better-hud/blob/1.12.2/src/main/java/jobicade/betterhud/config/ConfigManager.java#L34