FOMO

FOMO

180 Downloads

!tps Discord error and plugin crash

shplack opened this issue · 4 comments

commented
11.05 07:07:48 [Server] ERROR One of the EventListeners had an uncaught exception
11.05 07:07:48 [Server] INFO java.lang.NullPointerException: null
11.05 07:07:48 [Server] INFO at java.util.Objects.requireNonNull(Objects.java:221) ~[?:?]
11.05 07:07:48 [Server] INFO at com.jamesinaxx.fomo.Discord.Discord.CommandHandler(Discord.java:50) ~[?:?]
11.05 07:07:48 [Server] INFO at com.jamesinaxx.fomo.Discord.Discord.onMessageReceived(Discord.java:29) ~[?:?]
11.05 07:07:48 [Server] INFO at net.dv8tion.jda.api.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:435) ~[?:?]
11.05 07:07:48 [Server] INFO at net.dv8tion.jda.api.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:96) ~[?:?]
11.05 07:07:48 [Server] INFO at net.dv8tion.jda.internal.hooks.EventManagerProxy.handleInternally(EventManagerProxy.java:88) ~[?:?]
11.05 07:07:48 [Server] INFO at net.dv8tion.jda.internal.hooks.EventManagerProxy.handle(EventManagerProxy.java:70) ~[?:?]
11.05 07:07:48 [Server] INFO at net.dv8tion.jda.internal.JDAImpl.handleEvent(JDAImpl.java:149) ~[?:?]
11.05 07:07:48 [Server] INFO at net.dv8tion.jda.internal.handle.MessageCreateHandler.handleInternally(MessageCreateHandler.java:122) ~[?:?]
11.05 07:07:48 [Server] INFO at net.dv8tion.jda.internal.handle.SocketHandler.handle(SocketHandler.java:36) ~[?:?]
11.05 07:07:48 [Server] INFO at net.dv8tion.jda.internal.requests.WebSocketClient.onDispatch(WebSocketClient.java:956) ~[?:?]
11.05 07:07:48 [Server] INFO at net.dv8tion.jda.internal.requests.WebSocketClient.onEvent(WebSocketClient.java:843) ~[?:?]
11.05 07:07:48 [Server] INFO at net.dv8tion.jda.internal.requests.WebSocketClient.handleEvent(WebSocketClient.java:821) ~[?:?]
11.05 07:07:48 [Server] INFO at net.dv8tion.jda.internal.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:994) ~[?:?]
11.05 07:07:48 [Server] INFO at com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:385) ~[?:?]
11.05 07:07:48 [Server] INFO at com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:276) ~[?:?]
11.05 07:07:48 [Server] INFO at com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:996) ~[?:?]
11.05 07:07:48 [Server] INFO at com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:755) ~[?:?]
11.05 07:07:48 [Server] INFO at com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:108) ~[?:?]
11.05 07:07:48 [Server] INFO at com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:64) ~[?:?]
11.05 07:07:48 [Server] INFO at com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45) ~[?:?]

Error running !tps in Discord channel

commented
commented

I think I figured out the issue,
If you could try putting quotes around the ! in your config file
It seems as though it is not getting it properly because it thinks it isn't a string or something
I will see what I can do to fix this for future!

commented

Closing this issue for now. Re-open if you have any further problems

commented

Thank you for reporting this. Could you reply with the FOMO version you are using, your config.yml file (token hidden), and server version (eg. PaperMC 1.16.5 Build #709), please? I will work on fixing this asap