javax.sound.sampled.LineUnavailableException: Audio Device Unavailable

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 843802, 1 year ago
Audio Device Unavailable
via Google Groups by Jonathan Kaplan, 4 months ago
Audio Device Unavailable
via Google Groups by Marcus B., 1 month ago
via Google Groups by Marcus B., 2 years ago
via Oracle Community by 843802, 1 year ago
Audio Device Unavailable
javax.sound.sampled.LineUnavailableException: Audio Device Unavailable
at com.sun.media.sound.HeadspaceMixer.nResume(Native Method)
at com.sun.media.sound.HeadspaceMixer.implOpen(HeadspaceMixer.java:393)
at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:87)
at com.sun.media.sound.AbstractMixer.open(AbstractMixer.java:275)
at com.sun.media.sound.AbstractMixer.open(AbstractMixer.java:291)
at com.sun.media.sound.AbstractMixer.open(AbstractMixer.java:337)
at com.sun.media.sound.AbstractMixer.open(AbstractMixer.java:374)
at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:83)
at gapf.utils.AudioPlayer.run(AudioPlayer.java:236)
at java.lang.Thread.run(Thread.java:484)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.