Error when trying to establish a voice communication

Description

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)

Environment

java version "1.6.0" Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)

Activity

Show:

Thiago Rocha Camargo 
April 7, 2007 at 10:24 AM

Added support to change to javasound when DSound is not found.
This fixes problems with DSound on every plataform.

Thiago Rocha Camargo 
April 6, 2007 at 3:15 PM

If we check if the user has DSound support before setting it, even if the user is on windows. It should fix this.

Anyway this is a very uncommon issue. Especially under windows XP.

Francisco Vives 
March 30, 2007 at 7:42 PM

ok for 2.5.1. I can reproduce it always in the same computer so I can debug it. Let me know if you already know what to see.

Derek DeMoro 
March 30, 2007 at 10:55 AM

Hi Francisco,
This appears to be a corner case for now. I've never seen an issue like this one before. However, let's push it out to 2.5.1 for a better look.

Fixed

Details

Priority

Assignee

Reporter

Affects versions

Fix versions

Components

Created March 23, 2007 at 7:26 AM
Updated November 11, 2009 at 11:29 PM
Resolved April 7, 2007 at 10:24 AM