Discord Integration Forge

Discord Integration Forge

666k Downloads

[BUG] Server crash: Exception in server tick loop dcintegration

skythebro opened this issue ยท 4 comments

commented

What happened?

  • Server crashed when stopping

What should happen?

  • Server should just stop

Steps to reproduce

  • Start server, Stop server

Version

  • 1.16.5

Platform

  • [ 1.16.5] Forge 36.1.0

Mod version:
dcintegration-2.1.0-1.16.jar
Config file

Crash report if available

commented

[08:46:06] [Server thread/INFO] [STDERR/]: [de.erdbeerbaerlp.dcintegration.common.Discord:getChannel:268]: Failed to get channel with ID '823530876301213716', falling back to default channel

commented

no idea why the id is correct and permissions are also done

commented

error in log when stopping server
[08:50:54] [Server thread/ERROR] [ne.mi.ev.EventBus/EVENTBUS]: Exception caught during firing event: listeners may not be null
Index: 1
Listeners:
0: NORMAL
1: ASM: de.erdbeerbaerlp.dcintegration.forge.DiscordIntegration@36acd27e serverStopped(Lnet/minecraftforge/fml/event/server/FMLServerStoppedEvent;)V
java.lang.IllegalArgumentException: listeners may not be null
at net.dv8tion.jda.internal.utils.Checks.notNull(Checks.java:64)
at net.dv8tion.jda.internal.utils.Checks.noneNull(Checks.java:119)
at net.dv8tion.jda.internal.JDAImpl.removeEventListener(JDAImpl.java:790)
at de.erdbeerbaerlp.dcintegration.common.Discord.kill(Discord.java:230)
at de.erdbeerbaerlp.dcintegration.common.Discord.kill(Discord.java:248)
at de.erdbeerbaerlp.dcintegration.forge.DiscordIntegration.serverStopped(DiscordIntegration.java:241)
at net.minecraftforge.eventbus.ASMEventHandler_19_DiscordIntegration_serverStopped_FMLServerStoppedEvent.invoke(.dynamic)
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85)
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302)
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283)
at net.minecraftforge.fml.server.ServerLifecycleHooks.handleServerStopped(ServerLifecycleHooks.java:125)
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:683)
at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:232)
at java.lang.Thread.run(Thread.java:748)

[08:50:54] [Server thread/ERROR] [minecraft/MinecraftServer]: java.lang.IllegalArgumentException: listeners may not be null

commented

Im dumb
closing it now
for some reason server members intent wasn't on when i do remember it being on