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.

Featured Replies

Posted
Quote

[20:32:26] [Worker-Main-4/INFO] [IC2Classic/]: Loading Recipes
[20:32:26] [main/INFO] [minecraft/RecipeManager]: Loaded 12 recipes
[20:32:27] [main/INFO] [minecraft/AdvancementList]: Loaded 3036 advancements
[20:32:29] [Server thread/INFO] [minecraft/DedicatedServer]: Starting minecraft server version 1.19.2
[20:32:29] [Server thread/INFO] [minecraft/DedicatedServer]: Loading properties
[20:32:29] [Server thread/INFO] [minecraft/DedicatedServer]: Default game type: SURVIVAL
[20:32:29] [Server thread/INFO] [minecraft/MinecraftServer]: Generating keypair
[20:32:29] [Server thread/INFO] [minecraft/DedicatedServer]: Starting Minecraft server on *:25565
[20:32:29] [Server thread/INFO] [minecraft/ServerConnectionListener]: Using default channel type
[20:32:29] [Server thread/INFO] [journeymap/]: Loading JourneyMap Forge Configs
[20:32:29] [Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception
net.minecraftforge.fml.config.ConfigFileTypeHandler$ConfigLoadingException: Failed loading config file forge-server.toml of type SERVER for modid forge
        at net.minecraftforge.fml.config.ConfigFileTypeHandler.lambda$reader$1(ConfigFileTypeHandler.java:47) ~[fmlcore-1.19.2-43.3.0.jar%23158!/:?] {}
        at net.minecraftforge.fml.config.ConfigTracker.openConfig(ConfigTracker.java:60) ~[fmlcore-1.19.2-43.3.0.jar%23158!/:?] {}
        at net.minecraftforge.fml.config.ConfigTracker.lambda$loadConfigs$1(ConfigTracker.java:50) ~[fmlcore-1.19.2-43.3.0.jar%23158!/:?] {}
        at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?] {re:mixin}
        at java.util.Collections$SynchronizedCollection.forEach(Collections.java:2131) ~[?:?] {}
        at net.minecraftforge.fml.config.ConfigTracker.loadConfigs(ConfigTracker.java:50) ~[fmlcore-1.19.2-43.3.0.jar%23158!/:?] {}
        at net.minecraftforge.server.ServerLifecycleHooks.handleServerAboutToStart(ServerLifecycleHooks.java:90) ~[forge-1.19.2-43.3.0-universal.jar%23162!/:?] {re:classloading}
        at net.minecraft.server.dedicated.DedicatedServer.m_7038_(DedicatedServer.java:163) ~[server-1.19.2-20220805.130853-srg.jar%23157!/:?] {re:classloading,pl:accesstransformer:B}
        at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:625) ~[server-1.19.2-20220805.130853-srg.jar%23157!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:ae2.mixins.json:spatial.MinecraftServerMixin,pl:mixin:A}
        at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244) ~[server-1.19.2-20220805.130853-srg.jar%23157!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:ae2.mixins.json:spatial.MinecraftServerMixin,pl:mixin:A}
        at java.lang.Thread.run(Thread.java:842) [?:?] {}
Caused by: com.electronwill.nightconfig.core.io.ParsingException: Not enough data available
        at com.electronwill.nightconfig.core.io.ParsingException.notEnoughData(ParsingException.java:22) ~[core-3.6.4.jar%2356!/:?] {}
        at com.electronwill.nightconfig.core.io.ReaderInput.directReadChar(ReaderInput.java:36) ~[core-3.6.4.jar%2356!/:?] {}
        at com.electronwill.nightconfig.core.io.AbstractInput.readChar(AbstractInput.java:49) ~[core-3.6.4.jar%2356!/:?] {}
        at com.electronwill.nightconfig.core.io.AbstractInput.readCharsUntil(AbstractInput.java:123) ~[core-3.6.4.jar%2356!/:?] {}
        at com.electronwill.nightconfig.toml.TableParser.parseKey(TableParser.java:166) ~[toml-3.6.4.jar%2357!/:?] {}
        at com.electronwill.nightconfig.toml.TableParser.parseDottedKey(TableParser.java:145) ~[toml-3.6.4.jar%2357!/:?] {}
        at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:55) ~[toml-3.6.4.jar%2357!/:?] {}
        at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:44) ~[toml-3.6.4.jar%2357!/:?] {}
        at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37) ~[toml-3.6.4.jar%2357!/:?] {}
        at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113) ~[core-3.6.4.jar%2356!/:?] {}
        at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219) ~[core-3.6.4.jar%2356!/:?] {}
        at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202) ~[core-3.6.4.jar%2356!/:?] {}
        at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.load(WriteSyncFileConfig.java:73) ~[core-3.6.4.jar%2356!/:?] {}
        at com.electronwill.nightconfig.core.file.AutosaveCommentedFileConfig.load(AutosaveCommentedFileConfig.java:85) ~[core-3.6.4.jar%2356!/:?] {}
        at net.minecraftforge.fml.config.ConfigFileTypeHandler.lambda$reader$1(ConfigFileTypeHandler.java:43) ~[fmlcore-1.19.2-43.3.0.jar%23158!/:?] {}
        ... 10 more
[20:32:29] [Server thread/FATAL] [ne.mi.co.ForgeMod/]: Preparing crash report with UUID
[20:32:29] [Server thread/ERROR] [minecraft/MinecraftServer]: This crash report has been saved to: C:\Users\vitya\OneDrive\Рабочий стол\Новая папка\.\crash-reports\crash-2024-06-19_20.32.29-server.txt
[20:32:29] [Server thread/INFO] [minecraft/MinecraftServer]: Stopping server
[20:32:29] [Server thread/INFO] [minecraft/MinecraftServer]: Saving players
[20:32:29] [Server thread/INFO] [minecraft/MinecraftServer]: Saving worlds
[20:32:29] [Server thread/ERROR] [minecraft/MinecraftServer]: Exception stopping the server
java.lang.NullPointerException: Cannot invoke "net.minecraft.server.level.ServerLevel.m_6857_()" because "serverlevel2" is null
        at net.minecraft.server.MinecraftServer.m_129885_(MinecraftServer.java:502) ~[server-1.19.2-20220805.130853-srg.jar%23157!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:ae2.mixins.json:spatial.MinecraftServerMixin,pl:mixin:A}
        at net.minecraft.server.MinecraftServer.m_7041_(MinecraftServer.java:575) ~[server-1.19.2-20220805.130853-srg.jar%23157!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:ae2.mixins.json:spatial.MinecraftServerMixin,pl:mixin:A}
        at net.minecraft.server.dedicated.DedicatedServer.m_7041_(DedicatedServer.java:521) ~[server-1.19.2-20220805.130853-srg.jar%23157!/:?] {re:classloading,pl:accesstransformer:B}
        at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:682) ~[server-1.19.2-20220805.130853-srg.jar%23157!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:ae2.mixins.json:spatial.MinecraftServerMixin,pl:mixin:A}
        at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244) ~[server-1.19.2-20220805.130853-srg.jar%23157!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:ae2.mixins.json:spatial.MinecraftServerMixin,pl:mixin:A}
        at java.lang.Thread.run(Thread.java:842) [?:?] {}

As I understand it, the error lies in the forge-server.toml file, what can it be and how to fix it? In general, there were no manipulations with the server files, but for some reason the error came out..

 

  • Author

This is understandable, but why did this error appear in the first place? and what does this file do?
Because after publishing the ticket, I deleted this file (I’m not good at the server? system? part of Minecraft and it took me 30 minutes to figure out the error) and was able to play, played for 6 hours, and now, a day later, I launch it again and I got this error again and it was fixed she deleted this file.

2 hours ago, TileEntity said:

Just delete this file from the config folder

don't know what could be?

Edited by Ullimunatu

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.