SimpleHarvest

SimpleHarvest

20M Downloads

SimpleHarvest crashes on first launch, unable to create config file

Syndaryl opened this issue ยท 0 comments

commented

On first launch with the mod, Harvest-1.12-1.2.5-17.jar creates the config json as an empty file, but does not populate it. Instead, it crashes.

I am using Forge Mod Loader version 14.22.0.2467.

log error snippet:
net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Harvest (harvest)
Caused by: java.lang.NullPointerException
at tehnut.harvest.JsonConfigHandler.handleDefaults(JsonConfigHandler.java:67)
at tehnut.harvest.HarvestConfig.(HarvestConfig.java:25)
at tehnut.harvest.JsonConfigHandler.init(JsonConfigHandler.java:45)
at tehnut.harvest.Harvest.init(Harvest.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:609)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)

Full log file: https://gist.github.com/anonymous/add8b45ed3754fae1289b7f1803eeb16/raw/ad36cffaf478958ee7c7d4bc89043fad5f50fe1f/fml-client-2.log