Quark

Quark

143M Downloads

Crash on startup after lastest update.

KostromDan opened this issue ยท 2 comments

commented

This is related to the other crashes which should have been fixed by 6bbe14a but that doesn't seem to be enough of a fix

[07Oct2023 09:40:14.134] [Worker-ResourceReload-6/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/]: Exception caught during firing event: Cannot invoke "net.minecraft.client.multiplayer.ClientPacketListener.m_6198_()" because the return value of "net.minecraft.client.Minecraft.m_91403_()" is null
	Index: 1
	Listeners:
		0: NORMAL
		1: net.minecraftforge.eventbus.EventBus$$Lambda$1818/0x00000008014329a8@1834febf
java.lang.NullPointerException: Cannot invoke "net.minecraft.client.multiplayer.ClientPacketListener.m_6198_()" because the return value of "net.minecraft.client.Minecraft.m_91403_()" is null
	at TRANSFORMER/[email protected]/net.minecraftforge.network.simple.SimpleChannel.sendToServer(SimpleChannel.java:87)
	at TRANSFORMER/[email protected]/vazkii.arl.network.NetworkHandler.sendToServer(NetworkHandler.java:76)
	at TRANSFORMER/[email protected]/vazkii.quark.base.network.QuarkNetwork.sendToServer(QuarkNetwork.java:95)
	at TRANSFORMER/[email protected]/vazkii.quark.base.proxy.ClientProxy.handleQuarkConfigChange(ClientProxy.java:137)
	at TRANSFORMER/[email protected]/vazkii.quark.base.module.ModuleLoader.setup(ModuleLoader.java:106)
	at TRANSFORMER/[email protected]/vazkii.quark.base.proxy.CommonProxy.setup(CommonProxy.java:72)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:260)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:252)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
	at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:107)
	at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$10(ModContainer.java:122)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)

[07Oct2023 09:40:14.135] [Worker-ResourceReload-6/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Caught exception during event FMLCommonSetupEvent dispatch for modid quark
java.lang.NullPointerException: Cannot invoke "net.minecraft.client.multiplayer.ClientPacketListener.m_6198_()" because the return value of "net.minecraft.client.Minecraft.m_91403_()" is null
	at net.minecraftforge.network.simple.SimpleChannel.sendToServer(SimpleChannel.java:87) ~[forge-1.19.2-43.3.0-universal.jar%23884!/:?]
	at vazkii.arl.network.NetworkHandler.sendToServer(NetworkHandler.java:76) ~[AutoRegLib-1.8.2-55.jar%23542!/:1.8.2-55]
	at vazkii.quark.base.network.QuarkNetwork.sendToServer(QuarkNetwork.java:95) ~[Quark-3.4-411.jar%23774!/:3.4-411]
	at vazkii.quark.base.proxy.ClientProxy.handleQuarkConfigChange(ClientProxy.java:137) ~[Quark-3.4-411.jar%23774!/:3.4-411]
	at vazkii.quark.base.module.ModuleLoader.setup(ModuleLoader.java:106) ~[Quark-3.4-411.jar%23774!/:3.4-411]
	at vazkii.quark.base.proxy.CommonProxy.setup(CommonProxy.java:72) ~[Quark-3.4-411.jar%23774!/:3.4-411]
	at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:260) ~[eventbus-6.0.3.jar%23134!/:?]
	at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:252) ~[eventbus-6.0.3.jar%23134!/:?]
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.3.jar%23134!/:?]
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.3.jar%23134!/:?]
	at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:107) ~[javafmllanguage-1.19.2-43.3.0.jar%23881!/:?]
	at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$10(ModContainer.java:122) ~[fmlcore-1.19.2-43.3.0.jar%23880!/:?]
	at java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source) [?:?]
	at java.util.concurrent.CompletableFuture$AsyncRun.exec(Unknown Source) [?:?]
	at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) [?:?]
	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source) [?:?]
	at java.util.concurrent.ForkJoinPool.scan(Unknown Source) [?:?]
	at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) [?:?]
	at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) [?:?]
commented

Dupe of #4365