Unknown Error - Requesting assistance because I have no idea how to solve it #2270
Unanswered
JamieIsGeek
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hiya! I'm trying to make a bot however it keeps throwing this error:
java.lang.NoClassDefFoundError: net/dv8tion/jda/api/entities/UserSnowflake
.The full error is:
[JDA MainWS-ReadThread] ERROR net.dv8tion.jda.api.JDA - One of the EventListeners had an uncaught exception java.lang.NoClassDefFoundError: net/dv8tion/jda/api/entities/UserSnowflake at dev.jamieisgeek.Utils.FilterCheck.FilterCheck(FilterCheck.java:25) at dev.jamieisgeek.Automod.onEvent(Automod.java:52) at net.dv8tion.jda.api.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:96) at net.dv8tion.jda.internal.hooks.EventManagerProxy.handleInternally(EventManagerProxy.java:88) at net.dv8tion.jda.internal.hooks.EventManagerProxy.handle(EventManagerProxy.java:70) at net.dv8tion.jda.internal.JDAImpl.handleEvent(JDAImpl.java:160) at net.dv8tion.jda.internal.handle.MessageCreateHandler.handleInternally(MessageCreateHandler.java:123) at net.dv8tion.jda.internal.handle.SocketHandler.handle(SocketHandler.java:36) at net.dv8tion.jda.internal.requests.WebSocketClient.onDispatch(WebSocketClient.java:952) at net.dv8tion.jda.internal.requests.WebSocketClient.onEvent(WebSocketClient.java:839) at net.dv8tion.jda.internal.requests.WebSocketClient.handleEvent(WebSocketClient.java:817) at net.dv8tion.jda.internal.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:991) at com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:385) at com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:276) at com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:996) at com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:755) at com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:108) at com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:64) at com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45)
The code that the error is referencing is this:
try { PunishUser.Punish(member, PunishCategory.REMOVAL, messageObject); } catch (InterruptedException e) { throw new RuntimeException(e); }
I have no idea why this is happening because I am not even using a UserSnowflake object.
Thanks for any help you guys can provide <3
Beta Was this translation helpful? Give feedback.
All reactions