Open IndexOutOfMJ opened 2 years ago
Please fill out the complete issue template, including:
You are missing two of the more important parts of the issue, so please provide them or we can't help you.
Just wanted to report the same bug. I tried to fix it in many ways, but I couldn't. This occurs randomly when listening on a voice channel.
please give to us more details about this error, I'll try to help
please give to us more details about this error, I'll try to help
I can't, like @AdixePL said, it appears randomly if you listen to a voice channel. There is no more information in the exception, that's the problem.
General Troubleshooting
Bug Report
Console error appears randomly
Expected Behavior
That should not happen
Exception or Error
Mar 17, 2022 2:57:26 AM net.dv8tion.jda.internal.audio.AudioConnection lambda$setupReceiveThread$3 SEVERE: There was some random exception while waiting for udp packets java.lang.ArrayIndexOutOfBoundsException: Index -91292 out of bounds for length 281 at net.dv8tion.jda.internal.audio.AudioPacket.getPayloadOffset(AudioPacket.java:120) at net.dv8tion.jda.internal.audio.AudioPacket.(AudioPacket.java:93)
at net.dv8tion.jda.internal.audio.AudioPacket.(AudioPacket.java:70)
at net.dv8tion.jda.internal.audio.AudioPacket.decryptAudioPacket(AudioPacket.java:195)
at net.dv8tion.jda.internal.audio.AudioConnection.lambda$setupReceiveThread$3(AudioConnection.java:374)
at java.base/java.lang.Thread.run(Thread.java:831)