Jump to content

Issues with forge server 1.15.2


boduzapho

Recommended Posts

Im not sure which jar to run, when I execute this :   

"C:\Program Files\Java\jdk1.8.0_241\bin\java.exe" -Xms4096m -Xmx4096m -jar forge-1.15.2-31.1.18-launcher.jar

 

I get this console error:


C:\mcforge>"C:\Program Files\Java\jdk1.8.0_241\bin\java.exe" -Xms4096m -Xmx4096m -jar forge-1.15.2-31.1.18-launcher.jar
2020-03-02 00:18:46,927 main WARN Advanced terminal features are not available in this environment
[32m[00:18:47] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 31.1.18, --fml.mcpVersion, 20200122.131323, --fml.mcVersion, 1.15.2, --fml.forgeGroup, net.minecraftforge]
[m[32m[00:18:47] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 5.0.0-milestone.4+67+b1a340b starting: java version 1.8.0_241 by Oracle Corporation
[m[32m[00:18:47] [main/INFO] [ne.mi.fm.lo.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[m[32m[00:18:48] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlserver' with arguments [--gameDir, .]
[m[1;31m[00:18:48] [main/FATAL] [cp.mo.mo.TransformerClassWriter/]: Class net/minecraft/util/concurrent/RecursiveEventLoop unable to find resource null
[mException in thread "main" [32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: java.lang.RuntimeException: java.lang.RuntimeException: Failed to load hierarchy member net/minecraft/util/concurrent/RecursiveEventLoop
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:       at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:39)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:       at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:       at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:       at cpw.mods.modlauncher.Launcher.run(Launcher.java:81)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:       at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:       at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:       at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:       at net.minecraftforge.server.ServerMain.main(ServerMain.java:57)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: Caused by: java.lang.RuntimeException: Failed to load hierarchy member net/minecraft/util/concurrent/RecursiveEventLoop
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:       at cpw.mods.modlauncher.TransformerClassWriter.computeHierarchy(TransformerClassWriter.java:86)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:       at cpw.mods.modlauncher.TransformerClassWriter.access$100(TransformerClassWriter.java:35)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:       at cpw.mods.modlauncher.TransformerClassWriter$SuperCollectingVisitor.visit(TransformerClassWriter.java:129)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:       at org.objectweb.asm.tree.ClassNode.accept(ClassNode.java:340)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:       at cpw.mods.modlauncher.TransformerClassWriter.computeHierarchy(TransformerClassWriter.java:74)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:       at cpw.mods.modlauncher.TransformerClassWriter.<init>(TransformerClassWriter.java:48)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:       at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:       at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:239)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:       at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:126)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:       at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:96)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:       at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:       at java.lang.Class.forName0(Native Method)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:       at java.lang.Class.forName(Class.java:348)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:       at net.minecraftforge.fml.loading.FMLServerLaunchProvider.lambda$launchService$0(FMLServerLaunchProvider.java:51)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:       at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:       ... 7 more
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: Caused by: java.io.IOException: Class not found
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]:    at org.objectweb.asm.ClassReader.readStream(ClassReader.java:310)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]:    at org.objectweb.asm.ClassReader.<init>(ClassReader.java:283)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]:    at cpw.mods.modlauncher.TransformerClassWriter.computeHierarchy(TransformerClassWriter.java:82)
[m[32m[00:18:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]:    ... 21 more
[m
C:\mcforge>pause
Press any key to continue . . .

 

I have re installed vanilla MC 1.15.2 as well as reinstalled the client after deleting the ".minecraft" folder. I then ran the minecraft 1.15.2 server jar to create the server structure. Next I installed forge client and server. After wich I ran : "C:\Program Files\Java\jdk1.8.0_241\bin\java.exe" -Xms4096m -Xmx4096m -jar forge-1.15.2-31.1.18-launcher.jar which produced the error. I am running Java 8 64 bit.

What am I missing? Thanks in advance for any help or suggestions.

 

-Bod

Link to comment
Share on other sites

Can you provide the exact name of the jar I need or provide a link? Is it the universal or another one on the download page? Thanks. FYI Im not new to all this, I ran RPGMinecraft in 2004-2008 I developed many mods for bukkit, like RPGJumpstick RPGCannons etc.. I had a custom mod for my server that handled Everything like permissions, security (worldguard replacement) chat management, anti spam for chat, vote rewards etc... 

Link to comment
Share on other sites

So I changes the server install directory, and the Jar file was created but when I opened it I got this: 

[01:01:30] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 31.1.18, --fml.mcpVersion, 20200122.131323, --fml.mcVersion, 1.15.2, --fml.forgeGroup, net.minecraftforge]
[01:01:30] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 5.0.0-milestone.4+67+b1a340b starting: java version 1.8.0_241 by Oracle Corporation
[01:01:31] [main/INFO] [ne.mi.fm.lo.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[01:01:32] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlserver' with arguments [--gameDir, .]
[01:01:39] [main/WARN] [minecraft/Commands]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[01:01:39] [main/WARN] [minecraft/Commands]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[01:01:39] [main/WARN] [minecraft/Commands]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[01:01:39] [main/WARN] [minecraft/Commands]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[01:01:39] [main/WARN] [minecraft/Commands]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[01:01:39] [Server thread/INFO] [minecraft/DedicatedServer]: Starting minecraft server version 1.15.2
[01:01:39] [Server console handler/ERROR] [minecraft/DedicatedServer]: Exception handling console input
java.io.IOException: The handle is invalid
    at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_241]
    at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_241]
    at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_241]
    at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_241]
    at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_241]
    at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_241]
    at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_241]
    at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_241]
    at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_241]
    at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_241]
    at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_241]
    at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:105) [?:?]
[01:01:40] [modloading-worker-9/INFO] [ne.mi.co.ForgeMod/FORGEMOD]: Forge mod loading, version 31.1.18, for MC 1.15.2 with MCP 20200122.131323
[01:01:40] [modloading-worker-9/INFO] [ne.mi.co.MinecraftForge/FORGE]: MinecraftForge v31.1.18 Initialized
[01:01:41] [Forge Version Check/INFO] [ne.mi.fm.VersionChecker/]: [forge] Starting version check at https://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[01:01:41] [Server thread/INFO] [minecraft/DedicatedServer]: Loading properties
[01:01:41] [Server thread/INFO] [minecraft/DedicatedServer]: Default game type: SURVIVAL
[01:01:41] [Server thread/INFO] [minecraft/DedicatedServer]: Generating keypair
[01:01:41] [Server thread/INFO] [minecraft/DedicatedServer]: Starting Minecraft server on *:25565
[01:01:41] [Server thread/INFO] [minecraft/NetworkSystem]: Using default channel type
[01:01:42] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Configuration file .\world\serverconfig\forge-server.toml is not correct. Correcting
[01:01:42] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key server was corrected from null to SimpleCommentedConfig:{}
[01:01:42] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key server.removeErroringEntities was corrected from null to false
[01:01:42] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key server.removeErroringTileEntities was corrected from null to false
[01:01:42] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key server.fullBoundingBoxLadders was corrected from null to false
[01:01:42] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key server.zombieBaseSummonChance was corrected from null to 0.1
[01:01:42] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key server.zombieBabyChance was corrected from null to 0.05
[01:01:42] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key server.logCascadingWorldGeneration was corrected from null to true
[01:01:42] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key server.fixVanillaCascading was corrected from null to false
[01:01:42] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key server.dimensionUnloadQueueDelay was corrected from null to 0
[01:01:42] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key server.clumpingThreshold was corrected from null to 64
[01:01:42] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key server.treatEmptyTagsAsAir was corrected from null to false
[01:01:42] [Server thread/INFO] [minecraft/DedicatedServer]: Preparing level "world"
[01:01:42] [Server thread/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: Default, forge-1.15.2-31.1.18-universal.jar
[01:01:42] [Server thread/INFO] [minecraft/RecipeManager]: Loaded 6 recipes
[01:01:43] [Server thread/INFO] [minecraft/AdvancementList]: Loaded 825 advancements
[01:01:43] [Forge Version Check/INFO] [ne.mi.fm.VersionChecker/]: [forge] Found status: AHEAD Current: 31.1.18 Target: null
[01:01:43] [Server thread/INFO] [minecraft/MinecraftServer]: Preparing start region for dimension minecraft:overworld
[01:01:44] [Server thread/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 0%
[01:01:44] [Server thread/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 0%
[01:01:44] [Server thread/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 0%
[01:01:46] [Server-Worker-7/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 83%
[01:01:46] [Server-Worker-1/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 83%
[01:01:46] [Server-Worker-1/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 83%
[01:01:46] [Server-Worker-1/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 83%
[01:01:47] [Server-Worker-6/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 83%
[01:01:47] [Server-Worker-1/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 83%
[01:01:48] [Server-Worker-7/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 84%
[01:01:48] [Server-Worker-4/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 92%
[01:01:48] [Server thread/INFO] [minecraft/LoggingChunkStatusListener]: Time elapsed: 5402 ms
[01:01:48] [Server thread/INFO] [minecraft/DedicatedServer]: Done (6.888s)! For help, type "help"
[01:01:49] [Server thread/INFO] [minecraft/ChunkManager]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[01:01:49] [Server thread/INFO] [minecraft/ChunkManager]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
 

Link to comment
Share on other sites

Just now, diesieben07 said:

Why "but"? The server started up fine.

It was putting the created jar in the .minecraft folder not the server folder. The dialog put the .minecraft path in by default not the directory it started in.

Just now, diesieben07 said:

 

You cannot run Optifine on a server. Also note that as of right now there are no Optifine versions for 1.15.2 that are compatible with Forge.

Always check the Optifine changelog regarding Forge compatibility.

I found out thats why it is not in the plugins folder.

Link to comment
Share on other sites

Anyway thanks for the help and I would suggest removing the unnecessary files from the download page and maybe add some sort of basic install instructions, it would have prevented all of this back and forth. One last question is there a template for creating mods in forge that can be used in eclipse?

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.

Announcements



×
×
  • Create New...

Important Information

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