NullPointerException on loading map which never finishes loading
hakanai opened this issue ยท 0 comments
I'm not sure whether this is the main error stopping me from getting in, but I see it in the logs when I try to start my game which never finishes loading.
Seems like DataManager.saveMap is passing a null in as the filename. If this only happens after something else fails, maybe it could just check for null and not save the map in this situation?
Full pack being run is SkyFactory 3 v3.0.15.
Exception caught during firing event net.minecraftforge.event.world.WorldEvent$Save@1b7c1ce5:
java.lang.NullPointerException: name can't be null
at java.io.FilePermission.init(FilePermission.java:191)
at java.io.FilePermission.<init>(FilePermission.java:277)
at java.lang.SecurityManager.checkWrite(SecurityManager.java:979)
at java.io.FileOutputStream.<init>(FileOutputStream.java:200)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at java.io.FileWriter.<init>(FileWriter.java:90)
at org.wyldmods.simpleachievements.common.data.DataManager.saveMap(DataManager.java:255)
at org.wyldmods.simpleachievements.common.data.DataManager.save(DataManager.java:206)
at org.wyldmods.simpleachievements.common.data.DataManager.onWorldSave(DataManager.java:105)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_796_DataManager_onWorldSave_Save.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:185)
at net.minecraft.world.WorldServer.func_73044_a(WorldServer.java:1014)
at net.minecraft.server.MinecraftServer.func_71267_a(MinecraftServer.java:355)
at net.minecraft.server.integrated.IntegratedServer.func_71267_a(IntegratedServer.java:216)
at net.minecraft.server.MinecraftServer.func_71260_j(MinecraftServer.java:393)
at net.minecraft.server.integrated.IntegratedServer.func_71260_j(IntegratedServer.java:328)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:524)
at java.lang.Thread.run(Thread.java:745)