[Crash]: Caused by: com.electronwill.nightconfig.core.io.ParsingException: Not enough data available
Skorepion opened this issue ยท 2 comments
Steps to Reproduce the Crash
Make a pack in 1.19.2, create a world itll load normally the first time you load the pack
quit the world. close the game and then reopen the game and try to rejoin
Mod Pack URL (Optional)
No response
Mod Pack Version (Optional)
No response
Extra Notes (Optional)
here is the chunk of text the logs spit out at the point of crashing
[10:20:47] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraftforge.fml.config.ConfigFileTypeHandler$ConfigLoadingException: Failed loading config file jei-server.toml of type SERVER for modid jei
at net.minecraftforge.fml.config.ConfigFileTypeHandler.lambda$reader$1(ConfigFileTypeHandler.java:47) ~[fmlcore-1.19.2-43.2.21.jar%23260!/:?]
at net.minecraftforge.fml.config.ConfigTracker.openConfig(ConfigTracker.java:60) ~[fmlcore-1.19.2-43.2.21.jar%23260!/:?]
at net.minecraftforge.fml.config.ConfigTracker.lambda$loadConfigs$1(ConfigTracker.java:50) ~[fmlcore-1.19.2-43.2.21.jar%23260!/:?]
at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
at java.util.Collections$SynchronizedCollection.forEach(Collections.java:2131) ~[?:?]
at net.minecraftforge.fml.config.ConfigTracker.loadConfigs(ConfigTracker.java:50) ~[fmlcore-1.19.2-43.2.21.jar%23260!/:?]
at net.minecraftforge.server.ServerLifecycleHooks.handleServerAboutToStart(ServerLifecycleHooks.java:90) ~[forge-1.19.2-43.2.21-universal.jar%23264!/:?]
at net.minecraft.client.server.IntegratedServer.m_7038_(IntegratedServer.java:61) ~[client-1.19.2-20220805.130853-srg.jar%23259!/:?]
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:625) ~[client-1.19.2-20220805.130853-srg.jar%23259!/:?]
at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244) ~[client-1.19.2-20220805.130853-srg.jar%23259!/:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
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%2390!/:?]
at com.electronwill.nightconfig.core.io.ReaderInput.directReadChar(ReaderInput.java:36) ~[core-3.6.4.jar%2390!/:?]
at com.electronwill.nightconfig.core.io.AbstractInput.readChar(AbstractInput.java:49) ~[core-3.6.4.jar%2390!/:?]
at com.electronwill.nightconfig.core.io.AbstractInput.readCharsUntil(AbstractInput.java:123) ~[core-3.6.4.jar%2390!/:?]
at com.electronwill.nightconfig.toml.TableParser.parseKey(TableParser.java:166) ~[toml-3.6.4.jar%2391!/:?]
at com.electronwill.nightconfig.toml.TableParser.parseDottedKey(TableParser.java:145) ~[toml-3.6.4.jar%2391!/:?]
at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:55) ~[toml-3.6.4.jar%2391!/:?]
at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:44) ~[toml-3.6.4.jar%2391!/:?]
at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37) ~[toml-3.6.4.jar%2391!/:?]
at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113) ~[core-3.6.4.jar%2390!/:?]
at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219) ~[core-3.6.4.jar%2390!/:?]
at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202) ~[core-3.6.4.jar%2390!/:?]
at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.load(WriteSyncFileConfig.java:73) ~[core-3.6.4.jar%2390!/:?]
at com.electronwill.nightconfig.core.file.AutosaveCommentedFileConfig.load(AutosaveCommentedFileConfig.java:85) ~[core-3.6.4.jar%2390!/:?]
at net.minecraftforge.fml.config.ConfigFileTypeHandler.lambda$reader$1(ConfigFileTypeHandler.java:43) ~[fmlcore-1.19.2-43.2.21.jar%23260!/:?]
... 10 more
[10:20:47] [Server thread/FATAL]: Preparing crash report with UUID 3b37ee23-1d6e-4af9-bf34-efb40940eae3
[10:20:47] [Server thread/ERROR]: This crash report has been saved to: C:\Users\jayov\curseforge\minecraft\Instances\Fetchdog\crash-reports\crash-2023-09-03_10.20.47-server.txt
[10:20:47] [Server thread/INFO]: Stopping server
[10:20:47] [Server thread/INFO]: Saving players
[10:20:47] [Server thread/INFO]: Saving worlds
[10:20:47] [Server thread/ERROR]: 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) ~[client-1.19.2-20220805.130853-srg.jar%23259!/:?]
at net.minecraft.server.MinecraftServer.m_7041_(MinecraftServer.java:575) ~[client-1.19.2-20220805.130853-srg.jar%23259!/:?]
at net.minecraft.client.server.IntegratedServer.m_7041_(IntegratedServer.java:173) ~[client-1.19.2-20220805.130853-srg.jar%23259!/:?]
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:682) ~[client-1.19.2-20220805.130853-srg.jar%23259!/:?]
at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244) ~[client-1.19.2-20220805.130853-srg.jar%23259!/:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
Crash Report
https://gist.github.com/CorpseRunner/e1a7267beed15a845871c747c16073a7
This has been automatically marked as stale because it has not had recent activity, and will be closed if no further activity occurs. If this was overlooked, forgotten, or should remain open for any other reason, please reply here to call attention to it and remove the stale status. Thank you for your contributions.