So recently my minecraft 1.16.4 with forge on it has been automatically crashing for no reason, I have reinstalled forge, reinstalled java, and reinstalled mc itself and yet its still doing it. The bizarre thing is that every other version of mc I have including optifine works without any problems, its just the version with forge not working it just cuts to black then shows exit code: O here is the output it gave me
21:48:27.495
[21:48:27] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:55)
21:48:27.495
[21:48:27] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:44)
21:48:27.495
[21:48:27] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37)
21:48:27.495
[21:48:27] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113)
21:48:27.495
[21:48:27] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219)
21:48:27.495
[21:48:27] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202)
21:48:27.495
[21:48:27] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.load(WriteSyncFileConfig.java:73)
21:48:27.496
[21:48:27] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.core.file.AutoreloadFileConfig.load(AutoreloadFileConfig.java:41)
21:48:27.496
[21:48:27] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.core.file.AutosaveCommentedFileConfig.load(AutosaveCommentedFileConfig.java:85)
21:48:27.496
[21:48:27] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at net.minecraftforge.fml.loading.FMLConfig.loadFrom(FMLConfig.java:60)
21:48:27.496
[21:48:27] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: ... 10 more
21:48:27.854
Process crashed with exit code 1