Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[1.18] Exit Code 1 after launching minecraft with forge. Only in 1.18 versions.

Featured Replies

Posted

Hello!

I started making a modpack in forge version 38.0.15 and I'm having an issue that I can't fix by myself. Everytime I launch my modpack I get exit code 1. This only happens in 1.18 versions of forge and does not happen in vanilla or fabric.

Here are the logs (Debug log and Latest): https://gist.github.com/TheWonWon/8c202cd1435a9b19a155c6c6ada93b5f

Game Output log (Only game logs):

Spoiler
[21:02:17] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, TheWonWon, --version, forge-38.0.16, --gameDir, C:\Users\Topias\curseforge\minecraft\Instances\WonWon's Modpack, --assetsDir, C:\Users\Topias\curseforge\minecraft\Install\assets, --assetIndex, 1.18, --uuid, f98c6727442f47c397186f467656d446, --accessToken, ❄❄❄❄❄❄❄❄, --clientId, ZDc1MzlhYmYtOTM4Zi00ZTZhLThiZTgtMWM0NzMzZDU3YTNj, --xuid, 2535421023186722, --userType, msa, --versionType, release, --width, 1920, --height, 1080, --launchTarget, forgeclient, --fml.forgeVersion, 38.0.16, --fml.mcVersion, 1.18, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20211130.085255]
21:02:17.496
game
[21:02:17] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 9.0.7+91+master.8569cdf starting: java version 17.0.1 by Microsoft
21:02:17.694
game
[21:02:17] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/Topias/curseforge/minecraft/Install/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2318! Service=ModLauncher Env=CLIENT
21:02:18.446
game
Exception in thread "main" com.electronwill.nightconfig.core.io.ParsingException: Invalid newline in string. Are you missing a " quote? Use \n to include a newline in the string.
21:02:18.447
game
at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.toml.StringParser.parseBasic(StringParser.java:32)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.toml.ValueParser.parse(ValueParser.java:45)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.toml.ValueParser.parse(ValueParser.java:69)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:57)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:72)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.core.file.WriteAsyncFileConfig.load(WriteAsyncFileConfig.java:138)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.moddiscovery.ModFileParser.modsTomlParser(ModFileParser.java:58)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.moddiscovery.ModFileParser.readModList(ModFileParser.java:45)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.moddiscovery.ModFile.identifyMods(ModFile.java:119)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.moddiscovery.ModValidator.validateFiles(ModValidator.java:49)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.moddiscovery.ModValidator.stage1Validation(ModValidator.java:38)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer.discoverMods(ModDiscoverer.java:76)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.FMLLoader.beginModScan(FMLLoader.java:180)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.FMLServiceProvider.beginScanning(FMLServiceProvider.java:100)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformationServiceDecorator.runScan(TransformationServiceDecorator.java:113)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformationServicesHandler.lambda$runScanningTransformationServices$8(TransformationServicesHandler.java:101)
21:02:18.448
game
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
21:02:18.448
game
at java.base/java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1779)
21:02:18.448
game
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
21:02:18.448
game
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
21:02:18.448
game
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575)
21:02:18.448
game
at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
21:02:18.448
game
at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616)
21:02:18.448
game
at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622)
21:02:18.448
game
at java.base/java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformationServicesHandler.runScanningTransformationServices(TransformationServicesHandler.java:103)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:56)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:87)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
21:02:18.448
game
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
21:02:18.448
game
at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90)
21:02:19.050
monitor
Process Monitor
Process crashed with exit code 1

Things I have already tried:

- Download java 17

- Remove curseforge and reinstall

-Try to launch without mods

-Try removing old java arguments (that I've been using in 1.16.5 version)

- Vanilla 1.18 seems to work normally

- Fabric 1.18 works normally

This is my first time posting an issue anywhere so if I'm missing any info, I'm happy to provide them.

 

  • Author

I don't know how, but It suddenly started to launch 1.18 forge normally. After launching multiple times to verify I can say that the problem is no more present.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.