[sip-comm-dev] Jabber out of order


#1

Hi devs,

A fews days ago, my two jabber accounts stop working with SC (the debian package). I don't have the time to investigate more than this, but if someone wants to solve it, there is 2 exceptions log (generated form scratch (rm -rf .sip-communicator/ and .felix/) with version SC version 764, just adding a jabber account):

-FIRST:
Cannot open audio device for input: javax.sound.sampled.LineUnavailableException: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.
Failed to configure: com.sun.media.ProcessEngine@bf5555
   IO exception: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.

Error: Unable to configure com.sun.media.ProcessEngine@bf5555
javax.media.NotConfiguredError: setContentDescriptor cannot be called before configured
         at com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)
         at com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java:123)
         at net.java.sip.communicator.impl.media.MediaControl.initProcessor(MediaControl.java:536)
         at net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(MediaControl.java:410)
         at net.java.sip.communicator.impl.media.MediaControl.initialize(MediaControl.java:202)
         at net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(MediaServiceImpl.java:393)
         at net.java.sip.communicator.impl.media.MediaServiceImpl.start(MediaServiceImpl.java:222)
         at net.java.sip.communicator.impl.media.MediaActivator.start(MediaActivator.java:60)
         at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
         at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
         at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
         at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
         at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
         at java.lang.Thread.run(Thread.java:595)
ERROR: Error starting reference:file:sc-bundles/media.jar (org.osgi.framework.BundleException: Activator start error.)
javax.media.NotConfiguredError: setContentDescriptor cannot be called before configured
         at com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)
         at com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java:123)
         at net.java.sip.communicator.impl.media.MediaControl.initProcessor(MediaControl.java:536)
         at net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(MediaControl.java:410)
         at net.java.sip.communicator.impl.media.MediaControl.initialize(MediaControl.java:202)
         at net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(MediaServiceImpl.java:393)
         at net.java.sip.communicator.impl.media.MediaServiceImpl.start(MediaServiceImpl.java:222)
         at net.java.sip.communicator.impl.media.MediaActivator.start(MediaActivator.java:60)
         at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
         at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
         at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
         at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
         at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
         at java.lang.Thread.run(Thread.java:595)

-SECOND:
ERROR: Error starting reference:file:sc-bundles/protocol-jabber.jar (org.osgi.framework.BundleException: Activator start error.)
java.lang.NullPointerException: Specified service reference cannot be null.
         at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:479)
         at net.java.sip.communicator.impl.protocol.jabber.JabberActivator.getMediaService(JabberActivator.java:135)
         at net.java.sip.communicator.impl.protocol.jabber.mediamgr.JingleScMediaManager.setupPayloads(JingleScMediaManager.java:69)
         at net.java.sip.communicator.impl.protocol.jabber.mediamgr.JingleScMediaManager.<init>(JingleScMediaManager.java:42)
         at net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.<init>(OperationSetBasicTelephonyJabberImpl.java:95)
         at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initialize(ProtocolProviderServiceJabberImpl.java:618)
         at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderFactoryJabberImpl.loadAccount(ProtocolProviderFactoryJabberImpl.java:162)
         at net.java.sip.communicator.service.protocol.ProtocolProviderFactory.loadStoredAccounts(ProtocolProviderFactory.java:460)
         at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderFactoryJabberImpl.loadStoredAccounts(ProtocolProviderFactoryJabberImpl.java:223)
         at net.java.sip.communicator.impl.protocol.jabber.JabberActivator.start(JabberActivator.java:70)
         at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
         at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
         at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
         at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
         at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
         at java.lang.Thread.run(Thread.java:595)

Cheers,
Vincent

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#2

Hi Vincent,

It looks like some new jingle code are involved in your problem. This bring me to remember that I haven't runned any Linux test. Since no native code has been added, I thought it was unnecessary. Perhaps I have overestimated the "... run anywhere" statement.

Has anyone successfully used telephony with jabber on Linux ?
I will try to run some Linux tests myself as of tomorrow.

One thing I can already notice is that the MediaService aren't started properly causing jingle (and hence jabber) to fails. So I have one question :

  - Do you have another account (sip) wich use media service and wich still works ?

++ Sympho

Vincent Lucas <lucas@clarinet.u-strasbg.fr> a écrit :

···

Hi devs,

A fews days ago, my two jabber accounts stop working with SC (the
debian package). I don't have the time to investigate more than this,
but if someone wants to solve it, there is 2 exceptions log (generated
form scratch (rm -rf .sip-communicator/ and .felix/) with version SC
version 764, just adding a jabber account):

-FIRST:
Cannot open audio device for input:
javax.sound.sampled.LineUnavailableException: line with format
PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not
supported.
Failed to configure: com.sun.media.ProcessEngine@bf5555
  IO exception: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo,
4 bytes/frame, little-endian not supported.

Error: Unable to configure com.sun.media.ProcessEngine@bf5555
javax.media.NotConfiguredError: setContentDescriptor cannot be called
before configured
        at
com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)
        at
com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java:123)
        at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(MediaControl.java:536)
        at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(MediaControl.java:410)
        at
net.java.sip.communicator.impl.media.MediaControl.initialize(MediaControl.java:202)
        at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(MediaServiceImpl.java:393)
        at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(MediaServiceImpl.java:222)
        at
net.java.sip.communicator.impl.media.MediaActivator.start(MediaActivator.java:60)
        at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
        at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
        at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
        at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
        at java.lang.Thread.run(Thread.java:595)
ERROR: Error starting reference:file:sc-bundles/media.jar
(org.osgi.framework.BundleException: Activator start error.)
javax.media.NotConfiguredError: setContentDescriptor cannot be called
before configured
        at
com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)
        at
com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java:123)
        at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(MediaControl.java:536)
        at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(MediaControl.java:410)
        at
net.java.sip.communicator.impl.media.MediaControl.initialize(MediaControl.java:202)
        at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(MediaServiceImpl.java:393)
        at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(MediaServiceImpl.java:222)
        at
net.java.sip.communicator.impl.media.MediaActivator.start(MediaActivator.java:60)
        at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
        at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
        at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
        at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
        at java.lang.Thread.run(Thread.java:595)

-SECOND:
ERROR: Error starting reference:file:sc-bundles/protocol-jabber.jar
(org.osgi.framework.BundleException: Activator start error.)
java.lang.NullPointerException: Specified service reference cannot be null.
        at
org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:479)
        at
net.java.sip.communicator.impl.protocol.jabber.JabberActivator.getMediaService(JabberActivator.java:135)
        at
net.java.sip.communicator.impl.protocol.jabber.mediamgr.JingleScMediaManager.setupPayloads(JingleScMediaManager.java:69)
        at
net.java.sip.communicator.impl.protocol.jabber.mediamgr.JingleScMediaManager.<init>(JingleScMediaManager.java:42)
        at
net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.<init>(OperationSetBasicTelephonyJabberImpl.java:95)
        at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initialize(ProtocolProviderServiceJabberImpl.java:618)
        at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderFactoryJabberImpl.loadAccount(ProtocolProviderFactoryJabberImpl.java:162)
        at
net.java.sip.communicator.service.protocol.ProtocolProviderFactory.loadStoredAccounts(ProtocolProviderFactory.java:460)
        at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderFactoryJabberImpl.loadStoredAccounts(ProtocolProviderFactoryJabberImpl.java:223)
        at
net.java.sip.communicator.impl.protocol.jabber.JabberActivator.start(JabberActivator.java:70)
        at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
        at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
        at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
        at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
        at java.lang.Thread.run(Thread.java:595)

Cheers,
Vincent

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

Hi sympho,

Thanks for your quick reply.
It's maybe strange, but I'm not using SIP-Communicator as a SIP phone :slight_smile:
I'm sorry about that, but don't I have another account which use media service (maybe someone else ?).

Vincent

Sympho wrote:

···

Hi Vincent,

It looks like some new jingle code are involved in your problem. This bring me to remember that I haven't runned any Linux test. Since no native code has been added, I thought it was unnecessary. Perhaps I have overestimated the "... run anywhere" statement.

Has anyone successfully used telephony with jabber on Linux ?
I will try to run some Linux tests myself as of tomorrow.

One thing I can already notice is that the MediaService aren't started properly causing jingle (and hence jabber) to fails. So I have one question :

- Do you have another account (sip) wich use media service and wich still works ?

++ Sympho

Vincent Lucas <lucas@clarinet.u-strasbg.fr> a écrit :

Hi devs,

A fews days ago, my two jabber accounts stop working with SC (the
debian package). I don't have the time to investigate more than this,
but if someone wants to solve it, there is 2 exceptions log (generated
form scratch (rm -rf .sip-communicator/ and .felix/) with version SC
version 764, just adding a jabber account):

-FIRST:
Cannot open audio device for input:
javax.sound.sampled.LineUnavailableException: line with format
PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not
supported.
Failed to configure: com.sun.media.ProcessEngine@bf5555
  IO exception: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo,
4 bytes/frame, little-endian not supported.

Error: Unable to configure com.sun.media.ProcessEngine@bf5555
javax.media.NotConfiguredError: setContentDescriptor cannot be called
before configured
        at
com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)
        at
com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java:123)

        at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(MediaControl.java:536)

        at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(MediaControl.java:410)

        at
net.java.sip.communicator.impl.media.MediaControl.initialize(MediaControl.java:202)

        at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(MediaServiceImpl.java:393)

        at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(MediaServiceImpl.java:222)

        at
net.java.sip.communicator.impl.media.MediaActivator.start(MediaActivator.java:60)

        at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)

        at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
        at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
        at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
        at java.lang.Thread.run(Thread.java:595)
ERROR: Error starting reference:file:sc-bundles/media.jar
(org.osgi.framework.BundleException: Activator start error.)
javax.media.NotConfiguredError: setContentDescriptor cannot be called
before configured
        at
com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)
        at
com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java:123)

        at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(MediaControl.java:536)

        at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(MediaControl.java:410)

        at
net.java.sip.communicator.impl.media.MediaControl.initialize(MediaControl.java:202)

        at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(MediaServiceImpl.java:393)

        at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(MediaServiceImpl.java:222)

        at
net.java.sip.communicator.impl.media.MediaActivator.start(MediaActivator.java:60)

        at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)

        at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
        at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
        at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
        at java.lang.Thread.run(Thread.java:595)

-SECOND:
ERROR: Error starting reference:file:sc-bundles/protocol-jabber.jar
(org.osgi.framework.BundleException: Activator start error.)
java.lang.NullPointerException: Specified service reference cannot be null.
        at
org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:479)

        at
net.java.sip.communicator.impl.protocol.jabber.JabberActivator.getMediaService(JabberActivator.java:135)

        at
net.java.sip.communicator.impl.protocol.jabber.mediamgr.JingleScMediaManager.setupPayloads(JingleScMediaManager.java:69)

        at
net.java.sip.communicator.impl.protocol.jabber.mediamgr.JingleScMediaManager.<init>(JingleScMediaManager.java:42)

        at
net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.<init>(OperationSetBasicTelephonyJabberImpl.java:95)

        at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initialize(ProtocolProviderServiceJabberImpl.java:618)

        at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderFactoryJabberImpl.loadAccount(ProtocolProviderFactoryJabberImpl.java:162)

        at
net.java.sip.communicator.service.protocol.ProtocolProviderFactory.loadStoredAccounts(ProtocolProviderFactory.java:460)

        at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderFactoryJabberImpl.loadStoredAccounts(ProtocolProviderFactoryJabberImpl.java:223)

        at
net.java.sip.communicator.impl.protocol.jabber.JabberActivator.start(JabberActivator.java:70)

        at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)

        at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
        at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
        at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
        at java.lang.Thread.run(Thread.java:595)

Cheers,
Vincent

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#4

Hello Sympho,

A few days ago someone reported problems causing JMF not to work on core
duo under Linux. Personally I haven't had problems on my (non core duo)
debian, so I think this is the situation that Vincent is in.

A quick and easy fix would be to simply not load the telephony operation
set in Jabber if there is no registered MediaService.

How does this sound?

Emil

Sympho wrote:

···

Hi Vincent,

It looks like some new jingle code are involved in your problem. This
bring me to remember that I haven't runned any Linux test. Since no
native code has been added, I thought it was unnecessary. Perhaps I
have overestimated the "... run anywhere" statement.

Has anyone successfully used telephony with jabber on Linux ?
I will try to run some Linux tests myself as of tomorrow.

One thing I can already notice is that the MediaService aren't started
properly causing jingle (and hence jabber) to fails. So I have one
question :

  - Do you have another account (sip) wich use media service and wich
still works ?

++ Sympho

Vincent Lucas <lucas@clarinet.u-strasbg.fr> a écrit :

Hi devs,

A fews days ago, my two jabber accounts stop working with SC (the
debian package). I don't have the time to investigate more than this,
but if someone wants to solve it, there is 2 exceptions log (generated
form scratch (rm -rf .sip-communicator/ and .felix/) with version SC
version 764, just adding a jabber account):

-FIRST:
Cannot open audio device for input:
javax.sound.sampled.LineUnavailableException: line with format
PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not
supported.
Failed to configure: com.sun.media.ProcessEngine@bf5555
  IO exception: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo,
4 bytes/frame, little-endian not supported.

Error: Unable to configure com.sun.media.ProcessEngine@bf5555
javax.media.NotConfiguredError: setContentDescriptor cannot be called
before configured
        at
com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)
        at
com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java:123)
        at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(MediaControl.java:536)
        at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(MediaControl.java:410)
        at
net.java.sip.communicator.impl.media.MediaControl.initialize(MediaControl.java:202)
        at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(MediaServiceImpl.java:393)
        at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(MediaServiceImpl.java:222)
        at
net.java.sip.communicator.impl.media.MediaActivator.start(MediaActivator.java:60)
        at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
        at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
        at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
        at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
        at java.lang.Thread.run(Thread.java:595)
ERROR: Error starting reference:file:sc-bundles/media.jar
(org.osgi.framework.BundleException: Activator start error.)
javax.media.NotConfiguredError: setContentDescriptor cannot be called
before configured
        at
com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)
        at
com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java:123)
        at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(MediaControl.java:536)
        at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(MediaControl.java:410)
        at
net.java.sip.communicator.impl.media.MediaControl.initialize(MediaControl.java:202)
        at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(MediaServiceImpl.java:393)
        at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(MediaServiceImpl.java:222)
        at
net.java.sip.communicator.impl.media.MediaActivator.start(MediaActivator.java:60)
        at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
        at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
        at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
        at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
        at java.lang.Thread.run(Thread.java:595)

-SECOND:
ERROR: Error starting reference:file:sc-bundles/protocol-jabber.jar
(org.osgi.framework.BundleException: Activator start error.)
java.lang.NullPointerException: Specified service reference cannot be null.
        at
org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:479)
        at
net.java.sip.communicator.impl.protocol.jabber.JabberActivator.getMediaService(JabberActivator.java:135)
        at
net.java.sip.communicator.impl.protocol.jabber.mediamgr.JingleScMediaManager.setupPayloads(JingleScMediaManager.java:69)
        at
net.java.sip.communicator.impl.protocol.jabber.mediamgr.JingleScMediaManager.<init>(JingleScMediaManager.java:42)
        at
net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.<init>(OperationSetBasicTelephonyJabberImpl.java:95)
        at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initialize(ProtocolProviderServiceJabberImpl.java:618)
        at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderFactoryJabberImpl.loadAccount(ProtocolProviderFactoryJabberImpl.java:162)
        at
net.java.sip.communicator.service.protocol.ProtocolProviderFactory.loadStoredAccounts(ProtocolProviderFactory.java:460)
        at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderFactoryJabberImpl.loadStoredAccounts(ProtocolProviderFactoryJabberImpl.java:223)
        at
net.java.sip.communicator.impl.protocol.jabber.JabberActivator.start(JabberActivator.java:70)
        at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
        at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
        at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
        at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
        at java.lang.Thread.run(Thread.java:595)

Cheers,
Vincent

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#5

Hi,

Emil Ivov <emcho@sip-communicator.org> a écrit :

Hello Sympho,

A few days ago someone reported problems causing JMF not to work on core
duo under Linux. Personally I haven't had problems on my (non core duo)
debian, so I think this is the situation that Vincent is in.

A quick and easy fix would be to simply not load the telephony operation
set in Jabber if there is no registered MediaService.

How does this sound?

I agree. Perhaps it will be good to do it wherever the media ervice is used and not only in Jabber ?

++ Sympho

···

Emil

Sympho wrote:

Hi Vincent,

It looks like some new jingle code are involved in your problem. This
bring me to remember that I haven't runned any Linux test. Since no
native code has been added, I thought it was unnecessary. Perhaps I
have overestimated the "... run anywhere" statement.

Has anyone successfully used telephony with jabber on Linux ?
I will try to run some Linux tests myself as of tomorrow.

One thing I can already notice is that the MediaService aren't started
properly causing jingle (and hence jabber) to fails. So I have one
question :

  - Do you have another account (sip) wich use media service and wich
still works ?

++ Sympho

Vincent Lucas <lucas@clarinet.u-strasbg.fr> a écrit :

Hi devs,

A fews days ago, my two jabber accounts stop working with SC (the
debian package). I don't have the time to investigate more than this,
but if someone wants to solve it, there is 2 exceptions log (generated
form scratch (rm -rf .sip-communicator/ and .felix/) with version SC
version 764, just adding a jabber account):

-FIRST:
Cannot open audio device for input:
javax.sound.sampled.LineUnavailableException: line with format
PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not
supported.
Failed to configure: com.sun.media.ProcessEngine@bf5555
  IO exception: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo,
4 bytes/frame, little-endian not supported.

Error: Unable to configure com.sun.media.ProcessEngine@bf5555
javax.media.NotConfiguredError: setContentDescriptor cannot be called
before configured
        at
com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)
        at
com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java:123)
        at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(MediaControl.java:536)
        at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(MediaControl.java:410)
        at
net.java.sip.communicator.impl.media.MediaControl.initialize(MediaControl.java:202)
        at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(MediaServiceImpl.java:393)
        at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(MediaServiceImpl.java:222)
        at
net.java.sip.communicator.impl.media.MediaActivator.start(MediaActivator.java:60)
        at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
        at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
        at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
        at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
        at java.lang.Thread.run(Thread.java:595)
ERROR: Error starting reference:file:sc-bundles/media.jar
(org.osgi.framework.BundleException: Activator start error.)
javax.media.NotConfiguredError: setContentDescriptor cannot be called
before configured
        at
com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)
        at
com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java:123)
        at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(MediaControl.java:536)
        at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(MediaControl.java:410)
        at
net.java.sip.communicator.impl.media.MediaControl.initialize(MediaControl.java:202)
        at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(MediaServiceImpl.java:393)
        at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(MediaServiceImpl.java:222)
        at
net.java.sip.communicator.impl.media.MediaActivator.start(MediaActivator.java:60)
        at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
        at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
        at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
        at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
        at java.lang.Thread.run(Thread.java:595)

-SECOND:
ERROR: Error starting reference:file:sc-bundles/protocol-jabber.jar
(org.osgi.framework.BundleException: Activator start error.)
java.lang.NullPointerException: Specified service reference cannot be null.
        at
org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:479)
        at
net.java.sip.communicator.impl.protocol.jabber.JabberActivator.getMediaService(JabberActivator.java:135)
        at
net.java.sip.communicator.impl.protocol.jabber.mediamgr.JingleScMediaManager.setupPayloads(JingleScMediaManager.java:69)
        at
net.java.sip.communicator.impl.protocol.jabber.mediamgr.JingleScMediaManager.<init>(JingleScMediaManager.java:42)
        at
net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.<init>(OperationSetBasicTelephonyJabberImpl.java:95)
        at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initialize(ProtocolProviderServiceJabberImpl.java:618)
        at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderFactoryJabberImpl.loadAccount(ProtocolProviderFactoryJabberImpl.java:162)
        at
net.java.sip.communicator.service.protocol.ProtocolProviderFactory.loadStoredAccounts(ProtocolProviderFactory.java:460)
        at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderFactoryJabberImpl.loadStoredAccounts(ProtocolProviderFactoryJabberImpl.java:223)
        at
net.java.sip.communicator.impl.protocol.jabber.JabberActivator.start(JabberActivator.java:70)
        at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
        at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
        at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
        at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
        at java.lang.Thread.run(Thread.java:595)

Cheers,
Vincent

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#6

Hi Vincent,

Vincent Lucas <lucas@clarinet.u-strasbg.fr> a écrit :

Hi sympho,

Thanks for your quick reply.
It's maybe strange, but I'm not using SIP-Communicator as a SIP phone :slight_smile:
I'm sorry about that, but don't I have another account which use media
service (maybe someone else ?).

Nope. Currently, only sip and jabber (with jingle) use media service.
Emil noticed that some users of multicore chip encoutered such problem.
Have you a core duo processor ? If yes, (and you have time) can you disable the multicore function and see if the probrem persists or not ? So we can know the source of your problem for good.

++ Sympho

···

Vincent

Sympho wrote:

Hi Vincent,

It looks like some new jingle code are involved in your problem. This bring me to remember that I haven't runned any Linux test. Since no native code has been added, I thought it was unnecessary. Perhaps I have overestimated the "... run anywhere" statement.

Has anyone successfully used telephony with jabber on Linux ?
I will try to run some Linux tests myself as of tomorrow.

One thing I can already notice is that the MediaService aren't started properly causing jingle (and hence jabber) to fails. So I have one question :

- Do you have another account (sip) wich use media service and wich still works ?

++ Sympho

Vincent Lucas <lucas@clarinet.u-strasbg.fr> a écrit :

Hi devs,

A fews days ago, my two jabber accounts stop working with SC (the
debian package). I don't have the time to investigate more than this,
but if someone wants to solve it, there is 2 exceptions log (generated
form scratch (rm -rf .sip-communicator/ and .felix/) with version SC
version 764, just adding a jabber account):

-FIRST:
Cannot open audio device for input:
javax.sound.sampled.LineUnavailableException: line with format
PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not
supported.
Failed to configure: com.sun.media.ProcessEngine@bf5555
IO exception: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo,
4 bytes/frame, little-endian not supported.

Error: Unable to configure com.sun.media.ProcessEngine@bf5555
javax.media.NotConfiguredError: setContentDescriptor cannot be called
before configured
       at
com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)
       at
com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java:123) at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(MediaControl.java:536) at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(MediaControl.java:410) at
net.java.sip.communicator.impl.media.MediaControl.initialize(MediaControl.java:202) at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(MediaServiceImpl.java:393) at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(MediaServiceImpl.java:222) at
net.java.sip.communicator.impl.media.MediaActivator.start(MediaActivator.java:60) at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509) at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
       at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
       at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
       at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
       at java.lang.Thread.run(Thread.java:595)
ERROR: Error starting reference:file:sc-bundles/media.jar
(org.osgi.framework.BundleException: Activator start error.)
javax.media.NotConfiguredError: setContentDescriptor cannot be called
before configured
       at
com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)
       at
com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java:123) at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(MediaControl.java:536) at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(MediaControl.java:410) at
net.java.sip.communicator.impl.media.MediaControl.initialize(MediaControl.java:202) at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(MediaServiceImpl.java:393) at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(MediaServiceImpl.java:222) at
net.java.sip.communicator.impl.media.MediaActivator.start(MediaActivator.java:60) at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509) at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
       at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
       at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
       at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
       at java.lang.Thread.run(Thread.java:595)

-SECOND:
ERROR: Error starting reference:file:sc-bundles/protocol-jabber.jar
(org.osgi.framework.BundleException: Activator start error.)
java.lang.NullPointerException: Specified service reference cannot be null.
       at
org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:479) at
net.java.sip.communicator.impl.protocol.jabber.JabberActivator.getMediaService(JabberActivator.java:135) at
net.java.sip.communicator.impl.protocol.jabber.mediamgr.JingleScMediaManager.setupPayloads(JingleScMediaManager.java:69) at
net.java.sip.communicator.impl.protocol.jabber.mediamgr.JingleScMediaManager.<init>(JingleScMediaManager.java:42) at
net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.<init>(OperationSetBasicTelephonyJabberImpl.java:95) at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initialize(ProtocolProviderServiceJabberImpl.java:618) at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderFactoryJabberImpl.loadAccount(ProtocolProviderFactoryJabberImpl.java:162) at
net.java.sip.communicator.service.protocol.ProtocolProviderFactory.loadStoredAccounts(ProtocolProviderFactory.java:460) at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderFactoryJabberImpl.loadStoredAccounts(ProtocolProviderFactoryJabberImpl.java:223) at
net.java.sip.communicator.impl.protocol.jabber.JabberActivator.start(JabberActivator.java:70) at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509) at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
       at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
       at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
       at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
       at java.lang.Thread.run(Thread.java:595)

Cheers,
Vincent

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#7

Hi Sympho,

See comments inline:

Sympho wrote:

Hi Vincent,

Vincent Lucas <lucas@clarinet.u-strasbg.fr> a écrit :

Hi sympho,

Thanks for your quick reply.
It's maybe strange, but I'm not using SIP-Communicator as a SIP phone :slight_smile:
I'm sorry about that, but don't I have another account which use media
service (maybe someone else ?).

Nope. Currently, only sip and jabber (with jingle) use media service.
Emil noticed that some users of multicore chip encoutered such problem.
Have you a core duo processor ?

Yes, I have a dual core.

If yes, (and you have time) can you

disable the multicore function and see if the probrem persists or not ?

I've desactivated one core, tried it and the problem is still there :frowning:
- the first exception is always threw.
- the second is no more (in the console) threw but SC still pop-up an exception message box with nothing more then NULL).
The result is the same: jabber is no more available.

Vincent

···

So we can know the source of your problem for good.

++ Sympho

Vincent

Sympho wrote:

Hi Vincent,

It looks like some new jingle code are involved in your problem. This bring me to remember that I haven't runned any Linux test. Since no native code has been added, I thought it was unnecessary. Perhaps I have overestimated the "... run anywhere" statement.

Has anyone successfully used telephony with jabber on Linux ?
I will try to run some Linux tests myself as of tomorrow.

One thing I can already notice is that the MediaService aren't started properly causing jingle (and hence jabber) to fails. So I have one question :

- Do you have another account (sip) wich use media service and wich still works ?

++ Sympho

Vincent Lucas <lucas@clarinet.u-strasbg.fr> a écrit :

Hi devs,

A fews days ago, my two jabber accounts stop working with SC (the
debian package). I don't have the time to investigate more than this,
but if someone wants to solve it, there is 2 exceptions log (generated
form scratch (rm -rf .sip-communicator/ and .felix/) with version SC
version 764, just adding a jabber account):

-FIRST:
Cannot open audio device for input:
javax.sound.sampled.LineUnavailableException: line with format
PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not
supported.
Failed to configure: com.sun.media.ProcessEngine@bf5555
IO exception: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo,
4 bytes/frame, little-endian not supported.

Error: Unable to configure com.sun.media.ProcessEngine@bf5555
javax.media.NotConfiguredError: setContentDescriptor cannot be called
before configured
       at
com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)

       at
com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java:123) at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(MediaControl.java:536) at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(MediaControl.java:410) at
net.java.sip.communicator.impl.media.MediaControl.initialize(MediaControl.java:202) at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(MediaServiceImpl.java:393) at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(MediaServiceImpl.java:222) at
net.java.sip.communicator.impl.media.MediaActivator.start(MediaActivator.java:60) at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509) at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
       at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
       at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
       at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
       at java.lang.Thread.run(Thread.java:595)
ERROR: Error starting reference:file:sc-bundles/media.jar
(org.osgi.framework.BundleException: Activator start error.)
javax.media.NotConfiguredError: setContentDescriptor cannot be called
before configured
       at
com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)

       at
com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java:123) at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(MediaControl.java:536) at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(MediaControl.java:410) at
net.java.sip.communicator.impl.media.MediaControl.initialize(MediaControl.java:202) at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(MediaServiceImpl.java:393) at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(MediaServiceImpl.java:222) at
net.java.sip.communicator.impl.media.MediaActivator.start(MediaActivator.java:60) at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509) at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
       at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
       at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
       at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
       at java.lang.Thread.run(Thread.java:595)

-SECOND:
ERROR: Error starting reference:file:sc-bundles/protocol-jabber.jar
(org.osgi.framework.BundleException: Activator start error.)
java.lang.NullPointerException: Specified service reference cannot be null.
       at
org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:479) at
net.java.sip.communicator.impl.protocol.jabber.JabberActivator.getMediaService(JabberActivator.java:135) at
net.java.sip.communicator.impl.protocol.jabber.mediamgr.JingleScMediaManager.setupPayloads(JingleScMediaManager.java:69) at
net.java.sip.communicator.impl.protocol.jabber.mediamgr.JingleScMediaManager.<init>(JingleScMediaManager.java:42) at
net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.<init>(OperationSetBasicTelephonyJabberImpl.java:95) at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initialize(ProtocolProviderServiceJabberImpl.java:618) at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderFactoryJabberImpl.loadAccount(ProtocolProviderFactoryJabberImpl.java:162) at
net.java.sip.communicator.service.protocol.ProtocolProviderFactory.loadStoredAccounts(ProtocolProviderFactory.java:460) at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderFactoryJabberImpl.loadStoredAccounts(ProtocolProviderFactoryJabberImpl.java:223) at
net.java.sip.communicator.impl.protocol.jabber.JabberActivator.start(JabberActivator.java:70) at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509) at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
       at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
       at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
       at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
       at java.lang.Thread.run(Thread.java:595)

Cheers,
Vincent

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#8

Hi Vincent,

I've attempted a fix for the problem. It's now on CVS and should also be
available in build 767. Could you please give it a try and let me know
if it works?

Thanks
Emil

Vincent Lucas wrote:

···

Hi Sympho,

See comments inline:

Sympho wrote:

Hi Vincent,

Vincent Lucas <lucas@clarinet.u-strasbg.fr> a écrit :

Hi sympho,

Thanks for your quick reply.
It's maybe strange, but I'm not using SIP-Communicator as a SIP phone :slight_smile:
I'm sorry about that, but don't I have another account which use media
service (maybe someone else ?).

Nope. Currently, only sip and jabber (with jingle) use media service.
Emil noticed that some users of multicore chip encoutered such problem.
Have you a core duo processor ?

Yes, I have a dual core.

If yes, (and you have time) can you

disable the multicore function and see if the probrem persists or not ?

I've desactivated one core, tried it and the problem is still there :frowning:
- the first exception is always threw.
- the second is no more (in the console) threw but SC still pop-up an
exception message box with nothing more then NULL).
The result is the same: jabber is no more available.

Vincent

So we can know the source of your problem for good.

++ Sympho

Vincent

Sympho wrote:

Hi Vincent,

It looks like some new jingle code are involved in your problem.
This bring me to remember that I haven't runned any Linux test.
Since no native code has been added, I thought it was unnecessary.
Perhaps I have overestimated the "... run anywhere" statement.

Has anyone successfully used telephony with jabber on Linux ?
I will try to run some Linux tests myself as of tomorrow.

One thing I can already notice is that the MediaService aren't
started properly causing jingle (and hence jabber) to fails. So I
have one question :

- Do you have another account (sip) wich use media service and wich
still works ?

++ Sympho

Vincent Lucas <lucas@clarinet.u-strasbg.fr> a écrit :

Hi devs,

A fews days ago, my two jabber accounts stop working with SC (the
debian package). I don't have the time to investigate more than this,
but if someone wants to solve it, there is 2 exceptions log (generated
form scratch (rm -rf .sip-communicator/ and .felix/) with version SC
version 764, just adding a jabber account):

-FIRST:
Cannot open audio device for input:
javax.sound.sampled.LineUnavailableException: line with format
PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not
supported.
Failed to configure: com.sun.media.ProcessEngine@bf5555
IO exception: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo,
4 bytes/frame, little-endian not supported.

Error: Unable to configure com.sun.media.ProcessEngine@bf5555
javax.media.NotConfiguredError: setContentDescriptor cannot be called
before configured
       at
com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)

       at
com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java:123)
        at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(MediaControl.java:536)
at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(MediaControl.java:410)
at
net.java.sip.communicator.impl.media.MediaControl.initialize(MediaControl.java:202)
at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(MediaServiceImpl.java:393)
at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(MediaServiceImpl.java:222)
at
net.java.sip.communicator.impl.media.MediaActivator.start(MediaActivator.java:60)
at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
       at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
       at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
       at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
       at java.lang.Thread.run(Thread.java:595)
ERROR: Error starting reference:file:sc-bundles/media.jar
(org.osgi.framework.BundleException: Activator start error.)
javax.media.NotConfiguredError: setContentDescriptor cannot be called
before configured
       at
com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)

       at
com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java:123)
        at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(MediaControl.java:536)
at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(MediaControl.java:410)
at
net.java.sip.communicator.impl.media.MediaControl.initialize(MediaControl.java:202)
at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(MediaServiceImpl.java:393)
at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(MediaServiceImpl.java:222)
at
net.java.sip.communicator.impl.media.MediaActivator.start(MediaActivator.java:60)
at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
       at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
       at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
       at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
       at java.lang.Thread.run(Thread.java:595)

-SECOND:
ERROR: Error starting reference:file:sc-bundles/protocol-jabber.jar
(org.osgi.framework.BundleException: Activator start error.)
java.lang.NullPointerException: Specified service reference cannot
be null.
       at
org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:479)
at
net.java.sip.communicator.impl.protocol.jabber.JabberActivator.getMediaService(JabberActivator.java:135)
at
net.java.sip.communicator.impl.protocol.jabber.mediamgr.JingleScMediaManager.setupPayloads(JingleScMediaManager.java:69)
at
net.java.sip.communicator.impl.protocol.jabber.mediamgr.JingleScMediaManager.<init>(JingleScMediaManager.java:42)
at
net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.<init>(OperationSetBasicTelephonyJabberImpl.java:95)
at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initialize(ProtocolProviderServiceJabberImpl.java:618)
at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderFactoryJabberImpl.loadAccount(ProtocolProviderFactoryJabberImpl.java:162)
at
net.java.sip.communicator.service.protocol.ProtocolProviderFactory.loadStoredAccounts(ProtocolProviderFactory.java:460)
at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderFactoryJabberImpl.loadStoredAccounts(ProtocolProviderFactoryJabberImpl.java:223)
at
net.java.sip.communicator.impl.protocol.jabber.JabberActivator.start(JabberActivator.java:70)
at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
       at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
       at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
       at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
       at java.lang.Thread.run(Thread.java:595)

Cheers,
Vincent

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#9

Hi Emil,

Good job, your fix resolved the problem and Jabber works again.

Thanks,
Vincent

Emil Ivov wrote:

···

Hi Vincent,

I've attempted a fix for the problem. It's now on CVS and should also be
available in build 767. Could you please give it a try and let me know
if it works?

Thanks
Emil

Vincent Lucas wrote:

Hi Sympho,

See comments inline:

Sympho wrote:

Hi Vincent,

Vincent Lucas <lucas@clarinet.u-strasbg.fr> a écrit :

Hi sympho,

Thanks for your quick reply.
It's maybe strange, but I'm not using SIP-Communicator as a SIP phone :slight_smile:
I'm sorry about that, but don't I have another account which use media
service (maybe someone else ?).

Nope. Currently, only sip and jabber (with jingle) use media service.
Emil noticed that some users of multicore chip encoutered such problem.
Have you a core duo processor ?

Yes, I have a dual core.

If yes, (and you have time) can you

disable the multicore function and see if the probrem persists or not ?

I've desactivated one core, tried it and the problem is still there :frowning:
- the first exception is always threw.
- the second is no more (in the console) threw but SC still pop-up an exception message box with nothing more then NULL).
The result is the same: jabber is no more available.

Vincent

So we can know the source of your problem for good.

++ Sympho

Vincent

Sympho wrote:

Hi Vincent,

It looks like some new jingle code are involved in your problem. This bring me to remember that I haven't runned any Linux test. Since no native code has been added, I thought it was unnecessary. Perhaps I have overestimated the "... run anywhere" statement.

Has anyone successfully used telephony with jabber on Linux ?
I will try to run some Linux tests myself as of tomorrow.

One thing I can already notice is that the MediaService aren't started properly causing jingle (and hence jabber) to fails. So I have one question :

- Do you have another account (sip) wich use media service and wich still works ?

++ Sympho

Vincent Lucas <lucas@clarinet.u-strasbg.fr> a écrit :

Hi devs,

A fews days ago, my two jabber accounts stop working with SC (the
debian package). I don't have the time to investigate more than this,
but if someone wants to solve it, there is 2 exceptions log (generated
form scratch (rm -rf .sip-communicator/ and .felix/) with version SC
version 764, just adding a jabber account):

-FIRST:
Cannot open audio device for input:
javax.sound.sampled.LineUnavailableException: line with format
PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not
supported.
Failed to configure: com.sun.media.ProcessEngine@bf5555
IO exception: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo,
4 bytes/frame, little-endian not supported.

Error: Unable to configure com.sun.media.ProcessEngine@bf5555
javax.media.NotConfiguredError: setContentDescriptor cannot be called
before configured
       at
com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)

       at
com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java:123) at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(MediaControl.java:536) at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(MediaControl.java:410) at
net.java.sip.communicator.impl.media.MediaControl.initialize(MediaControl.java:202) at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(MediaServiceImpl.java:393) at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(MediaServiceImpl.java:222) at
net.java.sip.communicator.impl.media.MediaActivator.start(MediaActivator.java:60) at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509) at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
       at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
       at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
       at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
       at java.lang.Thread.run(Thread.java:595)
ERROR: Error starting reference:file:sc-bundles/media.jar
(org.osgi.framework.BundleException: Activator start error.)
javax.media.NotConfiguredError: setContentDescriptor cannot be called
before configured
       at
com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)

       at
com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java:123) at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(MediaControl.java:536) at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(MediaControl.java:410) at
net.java.sip.communicator.impl.media.MediaControl.initialize(MediaControl.java:202) at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(MediaServiceImpl.java:393) at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(MediaServiceImpl.java:222) at
net.java.sip.communicator.impl.media.MediaActivator.start(MediaActivator.java:60) at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509) at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
       at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
       at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
       at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
       at java.lang.Thread.run(Thread.java:595)

-SECOND:
ERROR: Error starting reference:file:sc-bundles/protocol-jabber.jar
(org.osgi.framework.BundleException: Activator start error.)
java.lang.NullPointerException: Specified service reference cannot be null.
       at
org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:479) at
net.java.sip.communicator.impl.protocol.jabber.JabberActivator.getMediaService(JabberActivator.java:135) at
net.java.sip.communicator.impl.protocol.jabber.mediamgr.JingleScMediaManager.setupPayloads(JingleScMediaManager.java:69) at
net.java.sip.communicator.impl.protocol.jabber.mediamgr.JingleScMediaManager.<init>(JingleScMediaManager.java:42) at
net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.<init>(OperationSetBasicTelephonyJabberImpl.java:95) at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initialize(ProtocolProviderServiceJabberImpl.java:618) at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderFactoryJabberImpl.loadAccount(ProtocolProviderFactoryJabberImpl.java:162) at
net.java.sip.communicator.service.protocol.ProtocolProviderFactory.loadStoredAccounts(ProtocolProviderFactory.java:460) at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderFactoryJabberImpl.loadStoredAccounts(ProtocolProviderFactoryJabberImpl.java:223) at
net.java.sip.communicator.impl.protocol.jabber.JabberActivator.start(JabberActivator.java:70) at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509) at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
       at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
       at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
       at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
       at java.lang.Thread.run(Thread.java:595)

Cheers,
Vincent

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net