javax.media.NoDataSourceException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I got these 2 errors related with jingle. 1- Jingle Initialization error Initialized java.net.BindException: Cannot assign requested address: Cannot bind at java.net.PlainDatagramSocketImpl.bind0(Native Method) at java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82 ) at java.net.DatagramSocket.bind(DatagramSocket.java:368) at java.net.DatagramSocket.<init>(DatagramSocket.java:210) at java.net.DatagramSocket.<init>(DatagramSocket.java:261) at de.javawi.jstun.test.demo.ice.Candidate.<init>(Candidate.java:53) at de.javawi.jstun.test.demo.ice.ICENegociator.gatherCandidateAddresses( ICENegociator.java:67) at org.jivesoftware.smackx.jingle.nat.ICEResolver.initialize(ICEResolver .java:67) at org.jivesoftware.smackx.jingle.nat.TransportResolver.initializeAndWai t(TransportResolver.java:384) at org.jivesoftware.smackx.jingle.nat.ICETransportManager.<init>(ICETran sportManager.java:36) at org.jivesoftware.sparkplugin.JinglePlugin$1.construct(JinglePlugin.ja va:98) at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:129) at java.lang.Thread.run(Thread.java:619) 1 Initializing...Resolved ---- 2- Jingle Error trying to establish a communication java.lang.Error: Error opening DSound for capture javax.media.NoDataSourceException: Error instantiating class: com.sun.media.protocol.dsound.DataSource : java.lang.Error : Error opening DSound for capture at javax.media.Manager.createDataSource(Manager.java:1017) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.createProcessor(AudioChannel.java:176) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.start(AudioChannel.java:117) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioMediaSession.startTrasmit(AudioMediaSession.java:92) at org.jivesoftware.smackx.jingle.JingleSession.triggerSessionEstablished(JingleSession.java:1090) at org.jivesoftware.smackx.jingle.OutgoingJingleSession$Active.eventEnter(OutgoingJingleSession.java:438) at org.jivesoftware.smackx.jingle.JingleNegotiator.setState(JingleNegotiator.java:137) at org.jivesoftware.smackx.jingle.JingleSession.setState(JingleSession.java:327) at org.jivesoftware.smackx.jingle.OutgoingJingleSession$Pending.eventAck(OutgoingJingleSession.java:379) at org.jivesoftware.smackx.jingle.JingleSession.dispatchIncomingPacket(JingleSession.java:415) at org.jivesoftware.smackx.jingle.JingleSession.respond(JingleSession.java:484) at org.jivesoftware.smackx.jingle.JingleSession$2.processPacket(JingleSession.java:912) at org.jivesoftware.smack.PacketReader$ListenerWrapper.notifyListener(PacketReader.java:819)
    via by Francisco Vives,
  • I got these 2 errors related with jingle. 1- Jingle Initialization error Initialized java.net.BindException: Cannot assign requested address: Cannot bind at java.net.PlainDatagramSocketImpl.bind0(Native Method) at java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82 ) at java.net.DatagramSocket.bind(DatagramSocket.java:368) at java.net.DatagramSocket.<init>(DatagramSocket.java:210) at java.net.DatagramSocket.<init>(DatagramSocket.java:261) at de.javawi.jstun.test.demo.ice.Candidate.<init>(Candidate.java:53) at de.javawi.jstun.test.demo.ice.ICENegociator.gatherCandidateAddresses( ICENegociator.java:67) at org.jivesoftware.smackx.jingle.nat.ICEResolver.initialize(ICEResolver .java:67) at org.jivesoftware.smackx.jingle.nat.TransportResolver.initializeAndWai t(TransportResolver.java:384) at org.jivesoftware.smackx.jingle.nat.ICETransportManager.<init>(ICETran sportManager.java:36) at org.jivesoftware.sparkplugin.JinglePlugin$1.construct(JinglePlugin.ja va:98) at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:129) at java.lang.Thread.run(Thread.java:619) 1 Initializing...Resolved ---- 2- Jingle Error trying to establish a communication java.lang.Error: Error opening DSound for capture javax.media.NoDataSourceException: Error instantiating class: com.sun.media.protocol.dsound.DataSource : java.lang.Error : Error opening DSound for capture at javax.media.Manager.createDataSource(Manager.java:1017) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.createProcessor(AudioChannel.java:176) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.start(AudioChannel.java:117) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioMediaSession.startTrasmit(AudioMediaSession.java:92) at org.jivesoftware.smackx.jingle.JingleSession.triggerSessionEstablished(JingleSession.java:1090) at org.jivesoftware.smackx.jingle.OutgoingJingleSession$Active.eventEnter(OutgoingJingleSession.java:438) at org.jivesoftware.smackx.jingle.JingleNegotiator.setState(JingleNegotiator.java:137) at org.jivesoftware.smackx.jingle.JingleSession.setState(JingleSession.java:327) at org.jivesoftware.smackx.jingle.OutgoingJingleSession$Pending.eventAck(OutgoingJingleSession.java:379) at org.jivesoftware.smackx.jingle.JingleSession.dispatchIncomingPacket(JingleSession.java:415) at org.jivesoftware.smackx.jingle.JingleSession.respond(JingleSession.java:484) at org.jivesoftware.smackx.jingle.JingleSession$2.processPacket(JingleSession.java:912) at org.jivesoftware.smack.PacketReader$ListenerWrapper.notifyListener(PacketReader.java:819)
    via by Francisco Vives,
  • I got these 2 errors related with jingle. 1- Jingle Initialization error Initialized java.net.BindException: Cannot assign requested address: Cannot bind at java.net.PlainDatagramSocketImpl.bind0(Native Method) at java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82 ) at java.net.DatagramSocket.bind(DatagramSocket.java:368) at java.net.DatagramSocket.<init>(DatagramSocket.java:210) at java.net.DatagramSocket.<init>(DatagramSocket.java:261) at de.javawi.jstun.test.demo.ice.Candidate.<init>(Candidate.java:53) at de.javawi.jstun.test.demo.ice.ICENegociator.gatherCandidateAddresses( ICENegociator.java:67) at org.jivesoftware.smackx.jingle.nat.ICEResolver.initialize(ICEResolver .java:67) at org.jivesoftware.smackx.jingle.nat.TransportResolver.initializeAndWai t(TransportResolver.java:384) at org.jivesoftware.smackx.jingle.nat.ICETransportManager.<init>(ICETran sportManager.java:36) at org.jivesoftware.sparkplugin.JinglePlugin$1.construct(JinglePlugin.ja va:98) at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:129) at java.lang.Thread.run(Thread.java:619) 1 Initializing...Resolved ---- 2- Jingle Error trying to establish a communication java.lang.Error: Error opening DSound for capture javax.media.NoDataSourceException: Error instantiating class: com.sun.media.protocol.dsound.DataSource : java.lang.Error : Error opening DSound for capture at javax.media.Manager.createDataSource(Manager.java:1017) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.createProcessor(AudioChannel.java:176) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.start(AudioChannel.java:117) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioMediaSession.startTrasmit(AudioMediaSession.java:92) at org.jivesoftware.smackx.jingle.JingleSession.triggerSessionEstablished(JingleSession.java:1090) at org.jivesoftware.smackx.jingle.OutgoingJingleSession$Active.eventEnter(OutgoingJingleSession.java:438) at org.jivesoftware.smackx.jingle.JingleNegotiator.setState(JingleNegotiator.java:137) at org.jivesoftware.smackx.jingle.JingleSession.setState(JingleSession.java:327) at org.jivesoftware.smackx.jingle.OutgoingJingleSession$Pending.eventAck(OutgoingJingleSession.java:379) at org.jivesoftware.smackx.jingle.JingleSession.dispatchIncomingPacket(JingleSession.java:415) at org.jivesoftware.smackx.jingle.JingleSession.respond(JingleSession.java:484) at org.jivesoftware.smackx.jingle.JingleSession$2.processPacket(JingleSession.java:912) at org.jivesoftware.smack.PacketReader$ListenerWrapper.notifyListener(PacketReader.java:819)
    via by Francisco Vives,
  • Error when trying to establish a voice conference. This error happens always on the same PC. How to reproduce: 1- Try to establish a Voice communication. 2- When accepted the call, the following error occurs This error occours when trying to stablish a voice conference. [8:09 PM] mauricio: java.lang.NullPointerException javax.media.NoDataSourceException: Error instantiating class: com.sun.media.protocol.dsound.DataSource : java.lang.NullPointerException at javax.media.Manager.createDataSource(Manager.java:1012) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.createProcessor(AudioChannel.java:172) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.start(AudioChannel.java:113) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioMediaSession.startTrasmit(AudioMediaSession.java:92) at org.jivesoftware.smackx.jingle.JingleSession.triggerSessionEstablished(JingleSession.java:1078) at org.jivesoftware.smackx.jingle.IncomingJingleSession$Active.eventEnter(IncomingJingleSession.java:439) at org.jivesoftware.smackx.jingle.JingleNegotiator.setState(JingleNegotiator.java:137) at org.jivesoftware.smackx.jingle.JingleSession.setState(JingleSession.java:318) at org.jivesoftware.smackx.jingle.IncomingJingleSession$Pending.eventAck(IncomingJingleSession.java:391) at org.jivesoftware.smackx.jingle.JingleSession.dispatchIncomingPacket(JingleSession.java:406) at org.jivesoftware.smackx.jingle.JingleSession.respond(JingleSession.java:472) at org.jivesoftware.smackx.jingle.JingleSession$2.processPacket(JingleSession.java:901) at org.jivesoftware.smack.PacketReader$ListenerWrapper.notifyListener(PacketReader.java:819) at org.jivesoftware.smack.PacketReader$ListenerNotification.run(PacketReader.java:799) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619)
    via by Francisco Vives,
  • Error when trying to establish a voice conference. This error happens always on the same PC. How to reproduce: 1- Try to establish a Voice communication. 2- When accepted the call, the following error occurs This error occours when trying to stablish a voice conference. [8:09 PM] mauricio: java.lang.NullPointerException javax.media.NoDataSourceException: Error instantiating class: com.sun.media.protocol.dsound.DataSource : java.lang.NullPointerException at javax.media.Manager.createDataSource(Manager.java:1012) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.createProcessor(AudioChannel.java:172) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.start(AudioChannel.java:113) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioMediaSession.startTrasmit(AudioMediaSession.java:92) at org.jivesoftware.smackx.jingle.JingleSession.triggerSessionEstablished(JingleSession.java:1078) at org.jivesoftware.smackx.jingle.IncomingJingleSession$Active.eventEnter(IncomingJingleSession.java:439) at org.jivesoftware.smackx.jingle.JingleNegotiator.setState(JingleNegotiator.java:137) at org.jivesoftware.smackx.jingle.JingleSession.setState(JingleSession.java:318) at org.jivesoftware.smackx.jingle.IncomingJingleSession$Pending.eventAck(IncomingJingleSession.java:391) at org.jivesoftware.smackx.jingle.JingleSession.dispatchIncomingPacket(JingleSession.java:406) at org.jivesoftware.smackx.jingle.JingleSession.respond(JingleSession.java:472) at org.jivesoftware.smackx.jingle.JingleSession$2.processPacket(JingleSession.java:901) at org.jivesoftware.smack.PacketReader$ListenerWrapper.notifyListener(PacketReader.java:819) at org.jivesoftware.smack.PacketReader$ListenerNotification.run(PacketReader.java:799) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619)
    via by Francisco Vives,
  • Error when trying to establish a voice conference. This error happens always on the same PC. How to reproduce: 1- Try to establish a Voice communication. 2- When accepted the call, the following error occurs This error occours when trying to stablish a voice conference. [8:09 PM] mauricio: java.lang.NullPointerException javax.media.NoDataSourceException: Error instantiating class: com.sun.media.protocol.dsound.DataSource : java.lang.NullPointerException at javax.media.Manager.createDataSource(Manager.java:1012) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.createProcessor(AudioChannel.java:172) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.start(AudioChannel.java:113) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioMediaSession.startTrasmit(AudioMediaSession.java:92) at org.jivesoftware.smackx.jingle.JingleSession.triggerSessionEstablished(JingleSession.java:1078) at org.jivesoftware.smackx.jingle.IncomingJingleSession$Active.eventEnter(IncomingJingleSession.java:439) at org.jivesoftware.smackx.jingle.JingleNegotiator.setState(JingleNegotiator.java:137) at org.jivesoftware.smackx.jingle.JingleSession.setState(JingleSession.java:318) at org.jivesoftware.smackx.jingle.IncomingJingleSession$Pending.eventAck(IncomingJingleSession.java:391) at org.jivesoftware.smackx.jingle.JingleSession.dispatchIncomingPacket(JingleSession.java:406) at org.jivesoftware.smackx.jingle.JingleSession.respond(JingleSession.java:472) at org.jivesoftware.smackx.jingle.JingleSession$2.processPacket(JingleSession.java:901) at org.jivesoftware.smack.PacketReader$ListenerWrapper.notifyListener(PacketReader.java:819) at org.jivesoftware.smack.PacketReader$ListenerNotification.run(PacketReader.java:799) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619)
    via by Francisco Vives,
  • Setting up Cairo Project
    via Stack Overflow by Tushar Gupta
    ,
  • Using a webcam in a java application
    via Stack Overflow by Jayashri
    ,
  • Cannot find webcam on mac with JVM
    via Stack Overflow by Loren Zimmer
    ,
    • javax.media.NoDataSourceException: Error instantiating class: com.sun.media.protocol.dsound.DataSource : java.lang.Error : Error opening DSound for capture at javax.media.Manager.createDataSource(Manager.java:1017) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.createProcessor(AudioChannel.java:176) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.start(AudioChannel.java:117) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioMediaSession.startTrasmit(AudioMediaSession.java:92) at org.jivesoftware.smackx.jingle.JingleSession.triggerSessionEstablished(JingleSession.java:1090) at org.jivesoftware.smackx.jingle.OutgoingJingleSession$Active.eventEnter(OutgoingJingleSession.java:438) at org.jivesoftware.smackx.jingle.JingleNegotiator.setState(JingleNegotiator.java:137) at org.jivesoftware.smackx.jingle.JingleSession.setState(JingleSession.java:327) at org.jivesoftware.smackx.jingle.OutgoingJingleSession$Pending.eventAck(OutgoingJingleSession.java:379) at org.jivesoftware.smackx.jingle.JingleSession.dispatchIncomingPacket(JingleSession.java:415) at org.jivesoftware.smackx.jingle.JingleSession.respond(JingleSession.java:484) at org.jivesoftware.smackx.jingle.JingleSession$2.processPacket(JingleSession.java:912) at org.jivesoftware.smack.PacketReader$ListenerWrapper.notifyListener(PacketReader.java:819)

    Users with the same issue

    Unknown visitor1 times, last one,