javax.media.NoDataSourceException: Error instantiating class: com.sun.media.protocol.dsound.DataSource : java.lang.NullPointerException

JIRA | Francisco Vives | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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)

    Jive Software Open Source | 1 decade ago | Francisco Vives
    javax.media.NoDataSourceException: Error instantiating class: com.sun.media.protocol.dsound.DataSource : java.lang.NullPointerException
  2. 0

    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)

    JIRA | 1 decade ago | Francisco Vives
    javax.media.NoDataSourceException: Error instantiating class: com.sun.media.protocol.dsound.DataSource : java.lang.NullPointerException
  3. 0

    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)

    Jive Software Open Source | 1 decade ago | Francisco Vives
    javax.media.NoDataSourceException: Error instantiating class: com.sun.media.protocol.dsound.DataSource : java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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)

    Jive Software Open Source | 10 years ago | Francisco Vives
    javax.media.NoDataSourceException: Error instantiating class: com.sun.media.protocol.dsound.DataSource : java.lang.Error : Error opening DSound for capture
  6. 0

    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)

    JIRA | 10 years ago | Francisco Vives
    javax.media.NoDataSourceException: Error instantiating class: com.sun.media.protocol.dsound.DataSource : java.lang.Error : Error opening DSound for capture

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.media.NoDataSourceException

      Error instantiating class: com.sun.media.protocol.dsound.DataSource : java.lang.NullPointerException

      at javax.media.Manager.createDataSource()
    2. javax.media
      Manager.createDataSource
      1. javax.media.Manager.createDataSource(Manager.java:1012)
      1 frame
    3. org.jivesoftware.smackx
      JingleSession$2.processPacket
      1. org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.createProcessor(AudioChannel.java:172)
      2. org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.start(AudioChannel.java:113)
      3. org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioMediaSession.startTrasmit(AudioMediaSession.java:92)
      4. org.jivesoftware.smackx.jingle.JingleSession.triggerSessionEstablished(JingleSession.java:1078)
      5. org.jivesoftware.smackx.jingle.IncomingJingleSession$Active.eventEnter(IncomingJingleSession.java:439)
      6. org.jivesoftware.smackx.jingle.JingleNegotiator.setState(JingleNegotiator.java:137)
      7. org.jivesoftware.smackx.jingle.JingleSession.setState(JingleSession.java:318)
      8. org.jivesoftware.smackx.jingle.IncomingJingleSession$Pending.eventAck(IncomingJingleSession.java:391)
      9. org.jivesoftware.smackx.jingle.JingleSession.dispatchIncomingPacket(JingleSession.java:406)
      10. org.jivesoftware.smackx.jingle.JingleSession.respond(JingleSession.java:472)
      11. org.jivesoftware.smackx.jingle.JingleSession$2.processPacket(JingleSession.java:901)
      11 frames
    4. Smack
      PacketReader$ListenerNotification.run
      1. org.jivesoftware.smack.PacketReader$ListenerWrapper.notifyListener(PacketReader.java:819)
      2. org.jivesoftware.smack.PacketReader$ListenerNotification.run(PacketReader.java:799)
      2 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      6. java.lang.Thread.run(Thread.java:619)
      6 frames