Server consistently crashes and can't figure out why?

I’m trying to host a forge server with a modpack I created, but every time I try to start the server it crashes and I don’t see an obvious Error. I’ve gone on all sorts of forums and after contacting my server hosting support they determined that it’s a problem with sponge so if anyone can help me that would be great… I’ve seen people having problems with mod compatibility and I’m really hoping that’s not my issue.

For the mod list here is the Modpack I’m trying to load all my mods from:
https://www.curseforge.com/minecraft/modpacks/iron-deficiency-defiance/files/3304912

And as for the server log, here it is:
https://mcpaste.io/449ac7699c18f0f8

You are missing javafx which is required for one of the mods.

I belive JavaFX is included within Java8 (and removed in Java 9) which is a requirement for Sponge (Java 8 being the requirement). Based on your log, your running a newer Java version.

17.05 01:43:52 [Server] main/INFO [FerriteCore - class definer/]: Using Java 9+ class definer

JavaFX is missing

Thats odd cause i’m 99.9% sure that I am using Java 8… I’m gunna check first

Yea so I’m not sure how to get javafx because its not a mod and from the other responses it comes with Java 8 but I am using it…

However I did get this this time, also it said I was using Java 8

[23:25:30] [main/WARN] [mixin/]: Error loading class: javafx/util/Pair (java.lang.ClassNotFoundException: null)
Exception in thread “main” [23:25:30] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
[23:25:30] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:39)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.run(Launcher.java:82)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.server.ServerMain.main(ServerMain.java:57)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: Caused by: java.lang.reflect.InvocationTargetException
[23:25:30] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at java.lang.reflect.Method.invoke(Method.java:498)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at net.minecraftforge.fml.loading.FMLServerLaunchProvider.lambda$launchService$0(FMLServerLaunchProvider.java:51)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: … 7 more
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:223)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: at org.spongepowered.asm.mixin.transformer.MixinTransformationHandler.processClass(MixinTransformationHandler.java:121)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: at org.spongepowered.asm.launch.MixinLaunchPlugin.processClass(MixinLaunchPlugin.java:131)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: at cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:154)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:85)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: at net.minecraft.util.registry.Registry.func_218353_F(Registry.java:159)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: at net.minecraft.util.registry.Registry.lambda$static$51(Registry.java:466)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: at java.util.LinkedHashMap.forEach(LinkedHashMap.java:684)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: at net.minecraft.util.registry.Registry.(Registry.java:465)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: at net.minecraft.util.registry.Bootstrap.func_151354_b(Bootstrap.java:38)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: at net.minecraft.server.Main.main(Main.java:92)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: … 13 more
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:668]: Caused by: org.spongepowered.asm.mixin.throwables.ClassMetadataNotFoundException: javafx.util.Pair
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:668]: at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.transformMethod(MixinPreProcessorStandard.java:741)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:668]: at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.transform(MixinPreProcessorStandard.java:726)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:668]: at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.attach(MixinPreProcessorStandard.java:297)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:668]: at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.createContextFor(MixinPreProcessorStandard.java:267)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:668]: at org.spongepowered.asm.mixin.transformer.MixinInfo.createContextFor(MixinInfo.java:1271)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:668]: at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:287)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:668]: at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:345)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:668]: at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:569)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:668]: at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:351)
[23:25:30] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:668]: … 29 more

That error is still saying that JavaFX is missing.

Just to make sure your running Sponge with Java 8 instead of anything else (if you have multiple Java versions installed it can get confused)

If you run the command

java --version

Or

java -version

What is the outcome?

Ps. One of them will work

It looks like you are using OpenJRE or OpenJDK. In this case, JavaFX is installed separately. You can either install JavaFX yourself or install OracleJRE/DK (or another option, there are many) and get all the required libraries.

1 Like

Okay, I switched back to Oracle but the server still isn’t starting…

After some tinkering, I found out OpenJDK was still on my pc so once I uninstalled it it finally worked! Thank you very much… now I just have to find out how to fix it on pebblehost

The installation options for OracleJRE/DK may vary depending on the OS. The easiest way in operating systems of the ArchLinux family. It will be enough for you to download tar.gz archive and install via AUR. However, I do not recommend using such systems on the server due to their upgrade model. I also do not recommend using Windows on the server. The best option would be Debian, but in this case, the installation is completely manual. If you do not have the rights to install the software or even access the system itself, then you cannot do anything.

I tried both fixes here, neither worked, though probably would help once the current problem gets fixed.

Your error could be different (requiring a different fix).

You got a log?

I also have the same problems. Another advantage of custom software development services is their ability to provide customers with a security and compliance solution. Many companies like https://mlsdev.com/services/custom-software-development that use off-shore software development companies have found a lack of security standards when dealing with US-based customers. By incorporating custom software development solutions into their programs, companies were able to provide their customers with a secure and compliant environment. These solutions also allow organizations to update their applications as their security needs change. In addition to security concerns, lack of compliance standards can pose a problem for employees that use electronic documents.

I will say to you as my previous comment.