-
-
Notifications
You must be signed in to change notification settings - Fork 737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Random ArrayIndexOutOfBoundsException #2056
Comments
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 |
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)
The text was updated successfully, but these errors were encountered: