JDA: There was some unexpected exception in the combinedAudioExecutor!

General Troubleshooting

Hey there! Before you report a bug or suggest a new feature, please make sure to follow these steps first!

  • I have checked for similar issues.
  • I have updated to the latest JDA version.
  • I have checked the branches or the maintainers’ PRs for upcoming features/bug fixes.

This is not the place to learn Java. Please refer to StackOverflow for your general programming questions.

Issue

Issue Type

  • Bug Report
  • Feature Request

For questions join the official JDA discord server: https://discord.gg/0hMr4ce0tIl3SLv5

Description

I’m doing some stuff in the handleCombinedAudio(CombinedAudio audio) method however it is never ran because this exceptions happens first, I can’t really give you anymore except than that stacktrace

[JDA AudioConnection Guild: 331023253785280512 Combined Thread] ERROR net.dv8tion.jda.core.audio.AudioConnection - There was some unexpected exception in the combinedAudioExecutor!
java.lang.ArrayIndexOutOfBoundsException: 960
	at net.dv8tion.jda.core.audio.AudioConnection.lambda$setupCombinedExecutor$7(AudioConnection.java:509)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 18 (4 by maintainers)

Most upvoted comments

Either not using latest version (not possible since you checked it in your troubleshooting checkmark list) or java.lang.ArrayIndexOutOfBoundsException: 960. So you have to give us the code snippet for using handleCombinedAudio.

Either way, the github issue tracker is reserved for feature requests and bug reports. Your issue is neither and should be sorted out inside of our discord server. Go to discord.gg/0hMr4ce0tIl3SLv5 to receive the needed help.