Jump to content

Forge server crashing upon start


raffel080108

Recommended Posts

I made a forge server but it keeps crashing when I try to start it (latest version for 1.16.5). I tried redownloading aswell, same thing happened. I would really appriciate it if someone could tell me why this is and how I would fix it, thanks!

Console log:

[16:06:16] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.2.8, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge]
[16:06:16] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 1.8.0_282 by Oracle Corporation
[16:06:16] [main/INFO] [ne.mi.fm.lo.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[16:06:16] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=file:/home/container/libraries/org/spongepowered/mixin/0.8.4/mixin-0.8.4.jar Service=ModLauncher Env=SERVER
[16:06:18] [pool-2-thread-1/ERROR] [ne.mi.fm.lo.mo.BackgroundScanHandler/SCAN]: An error occurred scanning file Mod File: /home/container/libraries/net/minecraftforge/forge/1.16.5-36.2.8/forge-1.16.5-36.2.8-server.jar
java.util.concurrent.CompletionException: java.lang.ArrayIndexOutOfBoundsException: 1842030787
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) ~[?:1.8.0_282] {}
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) [?:1.8.0_282] {}
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1606) [?:1.8.0_282] {}
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_282] {}
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_282] {}
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282] {}
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1842030787
at org.objectweb.asm.ClassReader.readInt(ClassReader.java:3597) ~[asm-9.1.jar:9.1] {}
at org.objectweb.asm.ClassReader.getFirstAttributeOffset(ClassReader.java:3436) ~[asm-9.1.jar:9.1] {}
at org.objectweb.asm.ClassReader.accept(ClassReader.java:478) ~[asm-9.1.jar:9.1] {}
at org.objectweb.asm.ClassReader.accept(ClassReader.java:401) ~[asm-9.1.jar:9.1] {}
at net.minecraftforge.fml.loading.moddiscovery.Scanner.fileVisitor(Scanner.java:60) ~[server.jar:?] {}
at net.minecraftforge.fml.loading.moddiscovery.Scanner.lambda$scan$0(Scanner.java:46) ~[server.jar:?] {}
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:1.8.0_282] {}
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_282] {}
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_282] {}
at java.util.Iterator.forEachRemaining(Iterator.java:116) ~[?:1.8.0_282] {}
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) ~[?:1.8.0_282] {}
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_282] {}
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_282] {}
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:1.8.0_282] {}
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:1.8.0_282] {}
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_282] {}
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) ~[?:1.8.0_282] {}
at net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer$MinecraftLocator.scanFile(ModDiscoverer.java:219) ~[server.jar:?] {}
at net.minecraftforge.fml.loading.moddiscovery.ModFile.scanFile(ModFile.java:134) ~[server.jar:?] {}
at net.minecraftforge.fml.loading.moddiscovery.Scanner.scan(Scanner.java:46) ~[server.jar:?] {}
at net.minecraftforge.fml.loading.moddiscovery.ModFile.compileContent(ModFile.java:130) ~[server.jar:?] {}
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604) ~[?:1.8.0_282] {}
... 3 more
[16:06:18] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlserver' with arguments [--gameDir, .]

 

Link to comment
Share on other sites

Ok, I've found the problem. The server host which I am trying to start the server on requires you (for some reason) to rename your server file to server.jar. I already asked their support for a fix, I might also just rent a VPS server if they can't give me an alternative or run it from my own computer alltogether. 
Thanks for the replys anyways! :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.