Retail Point-of-Service Solutions (MOSC)

MOSC Banner

Exception caught while playing audio

edited Sep 1, 2019 5:03AM in Retail Point-of-Service Solutions (MOSC) 1 commentAnswered

Hi Team,

I am trying to play audio when my condition becomes true using Sound.create(_sound).play(). here _sound pointing the path where the audio available. but when it tries to play the sound caught below exception.

_soundTapAction= audio path.

[_soundTapAction] could not be converted to a URL: java.net.MalformedURLException: no protocol: _soundTapAction :: dtv.util.config.UrlConfig.makeURLImpl(UrlConfig.java:54) [SoundFileLoadThread(_soundTapAction)]

CAUGHT EXCEPTION :: dtv.hardware.audio.FileSound$1.run(FileSound.java:75) [SoundFileLoadThread(_soundTapAction)]

java.lang.NullPointerException

having any idea on resolving this?

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center