WARNING - Audio sink warning master volume level

Whenever I play something using playSound(something.mp3) I get this warning.

2018-05-11 09:14:07.424 [WARN ] [core.audio.internal.AudioManagerImpl] - An exception occurred while getting the volume of sink 'enhancedjavasound' : Cannot determine master volume level

I also get that warning when I execute the command getMasterVolume()

The sound still plays.
Any ideas on how to get rid of that warning?

I’m having a similar problem. Same error message, but no sounds plays.

Were you able to determine a solution?

Nope. At least the sound plays

Which HW and java versions do you use guys ?

Hi @mstormi


System:    Host: openhab Kernel: 4.13.0-43-generic x86_64 (64 bit gcc: 5.4.0)
           Console: tty 8 Distro: Ubuntu 16.04 xenial
Machine:   System: Hewlett-Packard product: HP t620 Dual Core TC
           Mobo: Hewlett-Packard model: 2187 v: A01
           Bios: AMI v: L40 v2.05 date: 06/16/2014
CPU:       Dual core AMD GX-217GA SOC with Radeon HD Graphics (-MCP-) cache: 2048 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 6588
           clock speeds: max: 1650 MHz 1: 985 MHz 2: 1335 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Kabini [Radeon HD 8280E]
           bus-ID: 00:01.0
           Display Server: N/A drivers: ati,radeon (unloaded: fbdev,vesa)
           tty size: 80x24 Advanced Data: N/A out of X
Audio:     Card-1 Advanced Micro Devices [AMD] FCH Azalia Controller
           driver: snd_hda_intel bus-ID: 00:14.2
           Card-2 Advanced Micro Devices [AMD/ATI] Kabini HDMI/DP Audio
           driver: snd_hda_intel bus-ID: 00:01.1
           Sound: Advanced Linux Sound Architecture v: k4.13.0-43-generic
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 01:00.0
           IF: enp1s0 state: up speed: 100 Mbps duplex: full
           mac: XX:XX:XX:XX:XX:XX
Drives:    HDD Total Size: 63.0GB (31.4% used)
           ID-1: /dev/sda model: SanDisk_SDSA6PM size: 63.0GB temp: 38C
Partition: ID-1: / size: 55G used: 16G (30%) fs: ext4 dev: /dev/sda1
           ID-2: swap-1 size: 3.68GB used: 0.03GB (1%) fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 46.5C mobo: N/A gpu: 47.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 144 Uptime: 1 day Memory: 1874.9/3372.1MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 


java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)

Openhab 2.3-RC1

Thanks - the warning should hopefully be gone again with https://github.com/eclipse/smarthome/pull/5605.