I've been trying to get a modpack off curseforge working, but Minecraft keeps crashing with an error about REI. Relevant part of the crash report below:
---- Minecraft Crash Report ----
// Hey, that tickles! Hehehe!
Time: 2024-01-04 15:01:32
Description: Initializing game
java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'roughlyenoughitems'!
at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:388)
at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33)
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:386)
at net.fabricmc.loader.impl.game.minecraft.Hooks.startClient(Hooks.java:52)
at net.minecraft.class_310.<init>(class_310.java:458)
at net.minecraft.client.main.Main.main(Main.java:211)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:243)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:278)
at org.multimc.EntryPoint.listen(EntryPoint.java:143)
at org.multimc.EntryPoint.main(EntryPoint.java:34)
Caused by: java.lang.RuntimeException: Failed to initialize REI entry point: me.shedaniel.rei.RoughlyEnoughItemsCore
at me.shedaniel.rei.impl.init.RoughlyEnoughItemsInitializer.initializeEntryPoint(RoughlyEnoughItemsInitializer.java:88)
at me.shedaniel.rei.impl.init.RoughlyEnoughItemsInitializer.onInitialize(RoughlyEnoughItemsInitializer.java:48)
at java.base/java.lang.invoke.MethodHandleProxies$1.invoke(MethodHandleProxies.java:199)
at jdk.proxy3/com.sun.proxy.jdk.proxy3.$Proxy31.onInitialize(Unknown Source)
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:384)
... 12 more
Caused by: java.lang.ExceptionInInitializerError
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:390)
at java.base/java.lang.Class.forName(Class.java:381)
at me.shedaniel.rei.impl.init.RoughlyEnoughItemsInitializer.initializeEntryPoint(RoughlyEnoughItemsInitializer.java:65)
... 16 more
Caused by: java.lang.NullPointerException: Cannot invoke "me.shedaniel.autoconfig.ConfigData.validatePostLoad()" because "this.config" is null
at me.shedaniel.autoconfig.ConfigManager.load(ConfigManager.java:106)
at me.shedaniel.autoconfig.ConfigManager.<init>(ConfigManager.java:53)
at me.shedaniel.autoconfig.AutoConfig.register(AutoConfig.java:66)
at me.shedaniel.rei.impl.client.config.ConfigManagerImpl.<init>(ConfigManagerImpl.java:109)
at me.shedaniel.rei.RoughlyEnoughItemsCoreClient.attachClientInternals(RoughlyEnoughItemsCoreClient.java:220)
at dev.architectury.utils.EnvExecutor.runInEnv(EnvExecutor.java:35)
at me.shedaniel.rei.RoughlyEnoughItemsCore.<clinit>(RoughlyEnoughItemsCore.java:122)
... 20 more
It seems to be that REI is having trouble find its config files or something? But the config files that shipped with the pack appear to be in the right place in the config folder, and the pack is running just fine on my friend's (Windows) machine. Any assistance?
UPDATE: Fixed the issue, this came up in the process of me fixing problems with the glfw library and I had botched a part of that fix, I figured out what went wrong
What happened?
I've been trying to get a modpack off curseforge working, but Minecraft keeps crashing with an error about REI. Relevant part of the crash report below:
It seems to be that REI is having trouble find its config files or something? But the config files that shipped with the pack appear to be in the right place in the config folder, and the pack is running just fine on my friend's (Windows) machine. Any assistance?
What mod loaders are you seeing the problem on?
Fabric
What do you think this bug is of?
Relevant log output
Anything else?
No response
By submitting this issue, I have included the necessary logs by pasting the contents into the correct location or attaching the file as an upload.
By submitting this issue, I have confirmed my REI and REI's dependencies are up to date.