DiscordSRV

DiscordSRV

86.8k Downloads

Server Crash - NoClassDefFoundError: github/scarsz/discordsrv/dependencies/jda/core/requests/CloseCode

ProsperCraft opened this issue ยท 6 comments

commented

I don't know if Discordsrv caused the original crash, but it had a stacktrace in console.

DiscordSRV-Build-1.16.4
https://ci.codemc.io/job/Mohist-Community/job/Mohist-1.12.2/
https://www.curseforge.com/minecraft/modpacks/towncraft

Crash log-
java.lang.NoClassDefFoundError: net/minecraft/world/World$3
https://gist.github.com/ProsperCraft/f1a9b7b295b66244e6df81155c7d261e

java.lang.NoClassDefFoundError: github/scarsz/discordsrv/dependencies/jda/core/requests/CloseCode
https://gist.github.com/ProsperCraft/30d90915f8655064b2872548151b18c9

Server log-
latest.log

commented

DiscordSRV Build 1.16.4 is an extremely old version of the plugin.
Please download the latest version of the plugin from https://get.discordsrv.com/ and try again.
All it requires is a drag&drop replacement of the plugin.
If a crash happens again, go to the #support channel in our Discord server.
All versions of DiscordSRV support CraftBukkit/Spigot from Minecraft 1.7.9 to Minecraft 1.15
Disclaimer: Color Translations get reset on config migration.

commented

We use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please join our Discord at https://scarsz.me/discord and go to the #support channel for help with installing or configuring DiscordSRV.

commented

So the crash itself has nothing to do with DiscordSRV.
The error on shutdown usually happens when the jar gets changed whilst the server is running

commented

@pkrok01 I can't run the latest version with 1.12.2 or it doesn't show achievements in discord because newer minecraft uses advancements.

commented

@ProsperCraft Both achievements and advancements are supported on the latest version.

commented

ok thank you, I will update then report the bug if it still exists.