History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SPARK-623
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Thiago Rocha Camargo
Reporter: Francisco Vives
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Spark

Error when trying to establish a voice communication

Created: 03/22/07 07:26 PM   Updated: 04/06/07 10:24 PM
Component/s: Jingle
Affects Version/s: 2.5.0 Beta 4
Fix Version/s: 2.5.1

Time Tracking:
Not Specified

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)

Support Plan Customer Issue: No
Resolution Date: 04/06/07 10:24 PM
Acceptance Test - Add?: No


 Description  « Hide
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)



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Derek DeMoro - 03/29/07 10:55 PM
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.

Francisco Vives - 03/30/07 07:42 AM
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.

Thiago Rocha Camargo - 04/06/07 03:15 AM
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.


Thiago Rocha Camargo - 04/06/07 10:24 PM
Added support to change to javasound when DSound is not found.
This fixes problems with DSound on every plataform.