Spark

Error when trying to establish a voice communication

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.5.0 Beta 4
  • Fix Version/s: 2.5.1
  • Component/s: Jingle
  • Labels:
    None
  • 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)

  • Acceptance Test - Add?:
    No

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)

Activity

Hide
Derek DeMoro added a comment -

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.

Show
Derek DeMoro added a comment - 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.
Hide
Francisco Vives added a comment -

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.

Show
Francisco Vives added a comment - 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.
Hide
Thiago Rocha Camargo added a comment -

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.

Show
Thiago Rocha Camargo added a comment - 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.
Hide
Thiago Rocha Camargo added a comment -

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

Show
Thiago Rocha Camargo added a comment - Added support to change to javasound when DSound is not found. This fixes problems with DSound on every plataform.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: