ModernFix

ModernFix

72M Downloads

Error in console when stopping server

ICHTLAY opened this issue ยท 2 comments

commented

Have this exception when I trying to stop server. Seems like everything works fine, but I interested in this exception specifically because I don't have it in log files, only in console.

java.lang.NullPointerException: Cannot invoke "Object.getClass()" because "config" is null
        at TRANSFORMER/[email protected]+mc1.19.2/org.embeddedt.modernfix.forge.config.NightConfigFixer.toWriteSyncConfig(NightConfigFixer.java:89)
        at TRANSFORMER/[email protected]+mc1.19.2/org.embeddedt.modernfix.forge.config.ConfigFixer$LockingConfigHandler.accept(ConfigFixer.java:46)
        at TRANSFORMER/[email protected]+mc1.19.2/org.embeddedt.modernfix.forge.config.ConfigFixer$LockingConfigHandler.accept(ConfigFixer.java:35)
        at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModContainer.lambda$dispatchConfigEvent$13(ModContainer.java:150)
        at java.base/java.util.Optional.ifPresent(Optional.java:178)
        at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModContainer.dispatchConfigEvent(ModContainer.java:150)
        at TRANSFORMER/[email protected]/fuzs.puzzleslib.config.core.ForgeConfigFileTypeHandler$ConfigWatcher.run(ForgeConfigFileTypeHandler.java:143)
        at TRANSFORMER/[email protected]+mc1.19.2/org.embeddedt.modernfix.forge.config.NightConfigFixer$MonitoringConfigTracker.protectFromSaving(NightConfigFixer.java:127)
        at TRANSFORMER/[email protected]+mc1.19.2/org.embeddedt.modernfix.forge.config.NightConfigFixer$MonitoringConfigTracker.run(NightConfigFixer.java:148)
        at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.core.file.FileWatcher$WatcherThread.run(FileWatcher.java:181)
commented

This issue is fixed in newer versions of ModernFix as far as I know.

commented

This issue is fixed in newer versions of ModernFix as far as I know.

Yeah, I updated mod on client but forgot on server, just tried and I no longer have this exception, why I am so dumb... Thanks :)