Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

SimpleHarvest crashes on first launch, unable to create config file #8

Closed
Syndaryl opened this issue Sep 3, 2017 · 0 comments
Closed

Comments

@Syndaryl
Copy link

Syndaryl commented Sep 3, 2017

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

TehNut added a commit that referenced this issue Sep 3, 2017
- First run searching renamed to `checkForCrops`
  - Not meant to collect a master list, but at least help find valid crops.
  - For example, netherwart is not found.
@TehNut TehNut closed this as completed Sep 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants