Skip to content

[Bug]: MusicQuiz fails to start #735

@jiriks74

Description

@jiriks74

Contact Details

No response

What happened?

Sorry. I won't be adding more info RN. It's late and I have to get other things done first. I created it now so that I won't forget later. I'll try to add more info later on.

Also I couldn't find documentation on how to add my own playlists to the music quiz. I see it in the config but there are only IDs and IDK for which platform they are.

Version

v4 (LTS)

Relevant log output

Log

20:26:13 [JDA [0 / 2] MainWS-ReadThread] ERROR net.dv8tion.jda.api.JDA - One of the EventListeners had an uncaught exception

java.lang.ClassCastException: class de.presti.ree6.module.game.impl.musicquiz.MusicQuiz$$Lambda/0x0000001801d273f8 cannot be cast to class com.sedmelluq.discord.lavaplayer.player.event.AudioEventListener (de.presti.ree6.module.game.impl.musicquiz.MusicQuiz$$Lambda/0x0000001801d273f8 and com.sedmelluq.discord.lavaplayer.player.event.AudioEventListener are in unnamed module of loader 'app')

at lavalink.client.player.LavaplayerPlayerWrapper.addListener(LavaplayerPlayerWrapper.java:85)

at de.presti.ree6.module.game.impl.musicquiz.MusicQuiz.startGame(MusicQuiz.java:137)

at de.presti.ree6.events.GameEvents.onButtonInteraction(GameEvents.java:58)

at net.dv8tion.jda.api.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:458)

at net.dv8tion.jda.api.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:98)

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:173)

at net.dv8tion.jda.internal.handle.InteractionCreateHandler.handleAction(InteractionCreateHandler.java:130)

at net.dv8tion.jda.internal.handle.InteractionCreateHandler.handleInternally(InteractionCreateHandler.java:82)

at net.dv8tion.jda.internal.handle.SocketHandler.handle(SocketHandler.java:39)

at net.dv8tion.jda.internal.requests.WebSocketClient.onDispatch(WebSocketClient.java:1009)

at net.dv8tion.jda.internal.requests.WebSocketClient.onEvent(WebSocketClient.java:892)

at net.dv8tion.jda.internal.requests.WebSocketClient.handleEvent(WebSocketClient.java:870)

at net.dv8tion.jda.internal.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:1048)

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)

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriageNeeds more info

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions