Claptrap-Tracking-Bot / issues

Issues and Feature Suggestions for Claptrack
1 stars 0 forks source link

Failure to delete config table when bot is removed from a guild #3

Open first-dark-dev-sentry-integration[bot] opened 6 months ago

first-dark-dev-sentry-integration[bot] commented 6 months ago

Sentry Issue: CLAPTRACK-3

NullPointerException: Cannot invoke "me.hypherionmc.postgre4j.annotations.SQLTable.value()" because the return value of "java.lang.Class.getAnnotation(java.lang.Class)" is null
    at me.hypherionmc.postgre4j.PostGreDatabase.delete(PostGreDatabase.java:500)
    at com.claptrack.discord.listeners.ClaptrackEventListener.onGuildLeave(ClaptrackEventListener.java:26)
    at net.dv8tion.jda.api.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:446)
    at net.dv8tion.jda.api.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:96)
    at net.dv8tion.jda.internal.hooks.EventManagerProxy.handleInternally(EventManagerProxy.java:88)
...
(15 additional frame(s) were not displayed)

Cannot invoke "me.hypherionmc.postgre4j.annotations.SQLTable.value()" because the return value of "java.lang.Class.getAnnotation(java.lang.Class)" is null