[sip-comm-dev] Newb question on sip dial & sound problem?


#1

Hi, I just install sc and test around by registering IM accounts and sip
account. IM functionality work very well, and I can see sip registeration
and invite coming to sc. but still haven't been able to figure out how to
establish a sip call with sc.

I try to dialing out, but got some some exceptions as below:

     [java] Exception in thread "AWT-EventQueue-0"
java.lang.NullPointerException
     [java] at
net.java.sip.communicator.impl.gui.main.call.CallManager.actionPerformed (
CallManager.java:171)
     [java] at javax.swing.AbstractButton.fireActionPerformed(
AbstractButton.java:1995)
     [java] at javax.swing.AbstractButton$Handler.actionPerformed(
AbstractButton.java:2318)
     [java] at javax.swing.DefaultButtonModel.fireActionPerformed(
DefaultButtonModel.java:387)
     [java] at javax.swing.DefaultButtonModel.setPressed(
DefaultButtonModel.java:242)
     [java] at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(
BasicButtonListener.java:236)
     [java] at java.awt.Component.processMouseEvent(Component.java:6038)
     [java] at javax.swing.JComponent.processMouseEvent(JComponent.java
:3260)
     [java] at java.awt.Component.processEvent (Component.java:5803)
     [java] at java.awt.Container.processEvent(Container.java:2058)
     [java] at java.awt.Component.dispatchEventImpl(Component.java:4410)
     [java] at java.awt.Container.dispatchEventImpl (Container.java
:2116)
     [java] at java.awt.Component.dispatchEvent(Component.java:4240)
     [java] at java.awt.LightweightDispatcher.retargetMouseEvent(
Container.java:4322)
     [java] at java.awt.LightweightDispatcher.processMouseEvent (
Container.java:3986)
     [java] at java.awt.LightweightDispatcher.dispatchEvent(
Container.java:3916)
     [java] at java.awt.Container.dispatchEventImpl(Container.java:2102)
     [java] at java.awt.Window.dispatchEventImpl (Window.java:2429)
     [java] at java.awt.Component.dispatchEvent(Component.java:4240)
     [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
     [java] at java.awt.EventDispatchThread.pumpOneEventForFilters (
EventDispatchThread.java:273)
     [java] at java.awt.EventDispatchThread.pumpEventsForFilter(
EventDispatchThread.java:183)
     [java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(
EventDispatchThread.java :173)
     [java] at java.awt.EventDispatchThread.pumpEvents(
EventDispatchThread.java:168)
     [java] at java.awt.EventDispatchThread.pumpEvents(
EventDispatchThread.java:160)
     [java] at java.awt.EventDispatchThread.run (
EventDispatchThread.java:121)

and also on startup, it seems like the media services failed to
initialize....

     [java] 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.
     [java] Failed to configure: com.sun.media.ProcessEngine@18fc9ba
     [java] IO exception: line with format PCM_SIGNED 44100.0 Hz, 16 bit,
stereo, 4 bytes/frame, little-endian not supported.

     [java] Error: Unable to configure com.sun.media.ProcessEngine@18fc9ba
     [java] javax.media.NotConfiguredError: setContentDescriptor cannot be
called before configured
     [java] at com.sun.media.ProcessEngine.setContentDescriptor(
ProcessEngine.java:342)
     [java] at com.sun.media.MediaProcessor.setContentDescriptor(
MediaProcessor.java:123)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(
MediaControl.java:495)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(
MediaControl.java:393)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initialize(
MediaControl.java:185)
     [java] at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run
(MediaServiceImpl.java:282)
     [java] at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(
MediaServiceImpl.java:137)
     [java] at net.java.sip.communicator.impl.media.MediaActivator.start
(MediaActivator.java:60)
     [java] at
org.apache.felix.framework.util.SecureAction.startActivator(
SecureAction.java:509)
     [java] at org.apache.felix.framework.Felix._startBundle(Felix.java
:1260)
     [java] at org.apache.felix.framework.Felix.startBundle(Felix.java
:1201)
     [java] at org.apache.felix.framework.Felix.setFrameworkStartLevel(
Felix.java:807)
     [java] at org.apache.felix.framework.StartLevelImpl.run(
StartLevelImpl.java:256)
     [java] at java.lang.Thread.run(Thread.java:619)
     [java] javax.media.NotConfiguredError: setContentDescriptor cannot be
called before configured
     [java] at com.sun.media.ProcessEngine.setContentDescriptor(
ProcessEngine.java:342)
     [java] at com.sun.media.MediaProcessor.setContentDescriptor(
MediaProcessor.java:123)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(
MediaControl.java:495)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(
MediaControl.java:393)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initialize(
MediaControl.java:185)
     [java] at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run
(MediaServiceImpl.java:282)
     [java] at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(
MediaServiceImpl.java:137)
     [java] at net.java.sip.communicator.impl.media.MediaActivator.start
(MediaActivator.java:60)
     [java] at
org.apache.felix.framework.util.SecureAction.startActivator(
SecureAction.java:509)
     [java] at org.apache.felix.framework.Felix._startBundle(Felix.java
:1260)
     [java] at org.apache.felix.framework.Felix.startBundle(Felix.java
:1201)
     [java] at org.apache.felix.framework.Felix.setFrameworkStartLevel(
Felix.java:807)
     [java] at org.apache.felix.framework.StartLevelImpl.run(
StartLevelImpl.java:256)
     [java] at java.lang.Thread.run(Thread.java:619)
     [java] ERROR: Error starting reference:file:sc-bundles/media.jar (
org.osgi.framework.BundleException: Activator start error.)
     [java] DEBUG: WIRE: 13.0 ->
net.java.sip.communicator.service.protocol.icqconstants -> 10.0
     [java] DEBUG: WIRE: 13.0 -> javax.net -> 0
     [java] DEBUG: WIRE: 13.0 ->
net.java.sip.communicator.service.protocol.aimconstants -> 10.0

Is both problem related? Appreciate any guide to setup on linux.

Cheers,

JK


#2

Hi Johny,

I think that the first problem is a problem in the gui and I'll have a look on it asap. Could you please tell me more on the situation when you received this exception. Was it an incoming call or you were trying to emit a call? In fact any details that would help me to reproduce the exception are welcome.

I'm not very familiar with the media service though, I think Emil or Damian could help you better with this one.

Thanks,
Yana

Johny Kadarisman wrote:

···

Hi, I just install sc and test around by registering IM accounts and sip
account. IM functionality work very well, and I can see sip registeration
and invite coming to sc. but still haven't been able to figure out how to
establish a sip call with sc.

I try to dialing out, but got some some exceptions as below:

     [java] Exception in thread "AWT-EventQueue-0"
java.lang.NullPointerException
     [java] at
net.java.sip.communicator.impl.gui.main.call.CallManager.actionPerformed (
CallManager.java:171)
     [java] at javax.swing.AbstractButton.fireActionPerformed(
AbstractButton.java:1995)
     [java] at javax.swing.AbstractButton$Handler.actionPerformed(
AbstractButton.java:2318)
     [java] at javax.swing.DefaultButtonModel.fireActionPerformed(
DefaultButtonModel.java:387)
     [java] at javax.swing.DefaultButtonModel.setPressed(
DefaultButtonModel.java:242)
     [java] at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(
BasicButtonListener.java:236)
     [java] at java.awt.Component.processMouseEvent(Component.java:6038)
     [java] at javax.swing.JComponent.processMouseEvent(JComponent.java
:3260)
     [java] at java.awt.Component.processEvent (Component.java:5803)
     [java] at java.awt.Container.processEvent(Container.java:2058)
     [java] at java.awt.Component.dispatchEventImpl(Component.java:4410)
     [java] at java.awt.Container.dispatchEventImpl (Container.java
:2116)
     [java] at java.awt.Component.dispatchEvent(Component.java:4240)
     [java] at java.awt.LightweightDispatcher.retargetMouseEvent(
Container.java:4322)
     [java] at java.awt.LightweightDispatcher.processMouseEvent (
Container.java:3986)
     [java] at java.awt.LightweightDispatcher.dispatchEvent(
Container.java:3916)
     [java] at java.awt.Container.dispatchEventImpl(Container.java:2102)
     [java] at java.awt.Window.dispatchEventImpl (Window.java:2429)
     [java] at java.awt.Component.dispatchEvent(Component.java:4240)
     [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
     [java] at java.awt.EventDispatchThread.pumpOneEventForFilters (
EventDispatchThread.java:273)
     [java] at java.awt.EventDispatchThread.pumpEventsForFilter(
EventDispatchThread.java:183)
     [java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(
EventDispatchThread.java :173)
     [java] at java.awt.EventDispatchThread.pumpEvents(
EventDispatchThread.java:168)
     [java] at java.awt.EventDispatchThread.pumpEvents(
EventDispatchThread.java:160)
     [java] at java.awt.EventDispatchThread.run (
EventDispatchThread.java:121)

and also on startup, it seems like the media services failed to
initialize....

     [java] 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.
     [java] Failed to configure: com.sun.media.ProcessEngine@18fc9ba
     [java] IO exception: line with format PCM_SIGNED 44100.0 Hz, 16 bit,
stereo, 4 bytes/frame, little-endian not supported.

     [java] Error: Unable to configure com.sun.media.ProcessEngine@18fc9ba
     [java] javax.media.NotConfiguredError: setContentDescriptor cannot be
called before configured
     [java] at com.sun.media.ProcessEngine.setContentDescriptor(
ProcessEngine.java:342)
     [java] at com.sun.media.MediaProcessor.setContentDescriptor(
MediaProcessor.java:123)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(
MediaControl.java:495)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(
MediaControl.java:393)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initialize(
MediaControl.java:185)
     [java] at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run
(MediaServiceImpl.java:282)
     [java] at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(
MediaServiceImpl.java:137)
     [java] at net.java.sip.communicator.impl.media.MediaActivator.start
(MediaActivator.java:60)
     [java] at
org.apache.felix.framework.util.SecureAction.startActivator(
SecureAction.java:509)
     [java] at org.apache.felix.framework.Felix._startBundle(Felix.java
:1260)
     [java] at org.apache.felix.framework.Felix.startBundle(Felix.java
:1201)
     [java] at org.apache.felix.framework.Felix.setFrameworkStartLevel(
Felix.java:807)
     [java] at org.apache.felix.framework.StartLevelImpl.run(
StartLevelImpl.java:256)
     [java] at java.lang.Thread.run(Thread.java:619)
     [java] javax.media.NotConfiguredError: setContentDescriptor cannot be
called before configured
     [java] at com.sun.media.ProcessEngine.setContentDescriptor(
ProcessEngine.java:342)
     [java] at com.sun.media.MediaProcessor.setContentDescriptor(
MediaProcessor.java:123)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(
MediaControl.java:495)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(
MediaControl.java:393)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initialize(
MediaControl.java:185)
     [java] at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run
(MediaServiceImpl.java:282)
     [java] at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(
MediaServiceImpl.java:137)
     [java] at net.java.sip.communicator.impl.media.MediaActivator.start
(MediaActivator.java:60)
     [java] at
org.apache.felix.framework.util.SecureAction.startActivator(
SecureAction.java:509)
     [java] at org.apache.felix.framework.Felix._startBundle(Felix.java
:1260)
     [java] at org.apache.felix.framework.Felix.startBundle(Felix.java
:1201)
     [java] at org.apache.felix.framework.Felix.setFrameworkStartLevel(
Felix.java:807)
     [java] at org.apache.felix.framework.StartLevelImpl.run(
StartLevelImpl.java:256)
     [java] at java.lang.Thread.run(Thread.java:619)
     [java] ERROR: Error starting reference:file:sc-bundles/media.jar (
org.osgi.framework.BundleException: Activator start error.)
     [java] DEBUG: WIRE: 13.0 ->
net.java.sip.communicator.service.protocol.icqconstants -> 10.0
     [java] DEBUG: WIRE: 13.0 -> javax.net -> 0
     [java] DEBUG: WIRE: 13.0 ->
net.java.sip.communicator.service.protocol.aimconstants -> 10.0

Is both problem related? Appreciate any guide to setup on linux.

Cheers,

JK

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


#3

Hello Johny,

Concerning your second exception it is probably worth noting that some
of us are currently working on replacing parts of our media
implementation so that it would use FMJ instead of JMF. One of these
parts is audio capture.

We hope that all audio device management would be a lot more reliable
after that.

Cheers
Emil

Johny Kadarisman wrote:

···

Hi, I just install sc and test around by registering IM accounts and sip
account. IM functionality work very well, and I can see sip
registeration and invite coming to sc. but still haven't been able to
figure out how to establish a sip call with sc.

I try to dialing out, but got some some exceptions as below:

     [java] Exception in thread "AWT-EventQueue-0"
java.lang.NullPointerException
     [java] at
net.java.sip.communicator.impl.gui.main.call.CallManager.actionPerformed
(CallManager.java:171)
     [java] at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
     [java] at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
     [java] at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
     [java] at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
     [java] at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(BasicButtonListener.java:236)
     [java] at java.awt.Component.processMouseEvent(Component.java:6038)
     [java] at
javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
     [java] at java.awt.Component.processEvent (Component.java:5803)
     [java] at java.awt.Container.processEvent(Container.java:2058)
     [java] at java.awt.Component.dispatchEventImpl(Component.java:4410)
     [java] at java.awt.Container.dispatchEventImpl
(Container.java:2116)
     [java] at java.awt.Component.dispatchEvent(Component.java:4240)
     [java] at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
     [java] at java.awt.LightweightDispatcher.processMouseEvent
(Container.java:3986)
     [java] at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
     [java] at java.awt.Container.dispatchEventImpl(Container.java:2102)
     [java] at java.awt.Window.dispatchEventImpl (Window.java:2429)
     [java] at java.awt.Component.dispatchEvent(Component.java:4240)
     [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
     [java] at java.awt.EventDispatchThread.pumpOneEventForFilters
(EventDispatchThread.java:273)
     [java] at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
     [java] at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:173)
     [java] at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
     [java] at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
     [java] at java.awt.EventDispatchThread.run
(EventDispatchThread.java:121)

and also on startup, it seems like the media services failed to
initialize....

     [java] 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.
     [java] Failed to configure: com.sun.media.ProcessEngine@18fc9ba
     [java] IO exception: line with format PCM_SIGNED 44100.0 Hz, 16
bit, stereo, 4 bytes/frame, little-endian not supported.

     [java] Error: Unable to configure com.sun.media.ProcessEngine@18fc9ba
     [java] javax.media.NotConfiguredError: setContentDescriptor cannot
be called before configured
     [java] at com.sun.media.ProcessEngine.setContentDescriptor
(ProcessEngine.java:342)
     [java] at
com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java:123)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(MediaControl.java
:495)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(MediaControl.java:393)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initialize(MediaControl.java:185)

     [java] at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(MediaServiceImpl.java:282)
     [java] at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(MediaServiceImpl.java
:137)
     [java] at
net.java.sip.communicator.impl.media.MediaActivator.start(MediaActivator.java:60)
     [java] at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
     [java] at
org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
     [java] at
org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
     [java] at
org.apache.felix.framework.Felix.setFrameworkStartLevel (Felix.java:807)
     [java] at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
     [java] at java.lang.Thread.run(Thread.java:619)
     [java] javax.media.NotConfiguredError: setContentDescriptor cannot
be called before configured
     [java] at
com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)
     [java] at
com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java:123)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initProcessor
(MediaControl.java:495)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(MediaControl.java:393)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initialize(
MediaControl.java:185)
     [java] at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(MediaServiceImpl.java:282)
     [java] at
net.java.sip.communicator.impl.media.MediaServiceImpl.start
(MediaServiceImpl.java:137)
     [java] at
net.java.sip.communicator.impl.media.MediaActivator.start(MediaActivator.java:60)
     [java] at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java
:509)
     [java] at
org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
     [java] at
org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
     [java] at
org.apache.felix.framework.Felix.setFrameworkStartLevel (Felix.java:807)
     [java] at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
     [java] at java.lang.Thread.run(Thread.java:619)
     [java] ERROR: Error starting reference:file:sc-bundles/media.jar (
org.osgi.framework.BundleException: Activator start error.)
     [java] DEBUG: WIRE: 13.0 ->
net.java.sip.communicator.service.protocol.icqconstants -> 10.0
     [java] DEBUG: WIRE: 13.0 -> javax.net <http://javax.net> -> 0
     [java] DEBUG: WIRE: 13.0 ->
net.java.sip.communicator.service.protocol.aimconstants -> 10.0

Is both problem related? Appreciate any guide to setup on linux.

Cheers,

JK

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


#4

Hi Yana, Thanks for looking.

The first exception was emit after I click the dial button (the left button
on the bottom panel).

Sip registration is working fine, its registered with sip provider, when I
make inbound call to sc, I can see the invite coming in and the ringing
panel appeared, but I couldn 't pickup the calls.

is this working before? I also trying to look at the code, but I think i'm
still far from understanding the whole flow :slight_smile:

Rgds,
JK

···

On 8/7/07, Yana Stamcheva <yana@sip-communicator.org> wrote:

Hi Johny,

I think that the first problem is a problem in the gui and I'll have a
look on it asap. Could you please tell me more on the situation when you
received this exception. Was it an incoming call or you were trying to
emit a call? In fact any details that would help me to reproduce the
exception are welcome.

I'm not very familiar with the media service though, I think Emil or
Damian could help you better with this one.

Thanks,
Yana

Johny Kadarisman wrote:
> Hi, I just install sc and test around by registering IM accounts and sip
> account. IM functionality work very well, and I can see sip
registeration
> and invite coming to sc. but still haven't been able to figure out how
to
> establish a sip call with sc.
>
> I try to dialing out, but got some some exceptions as below:
>
> [java] Exception in thread "AWT-EventQueue-0"
> java.lang.NullPointerException
> [java] at
> net.java.sip.communicator.impl.gui.main.call.CallManager.actionPerformed(
> CallManager.java:171)
> [java] at javax.swing.AbstractButton.fireActionPerformed(
> AbstractButton.java:1995)
> [java] at javax.swing.AbstractButton$Handler.actionPerformed(
> AbstractButton.java:2318)
> [java] at javax.swing.DefaultButtonModel.fireActionPerformed(
> DefaultButtonModel.java:387)
> [java] at javax.swing.DefaultButtonModel.setPressed(
> DefaultButtonModel.java:242)
> [java] at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(
> BasicButtonListener.java:236)
> [java] at java.awt.Component.processMouseEvent(Component.java
:6038)
> [java] at javax.swing.JComponent.processMouseEvent(
JComponent.java
> :3260)
> [java] at java.awt.Component.processEvent (Component.java:5803)
> [java] at java.awt.Container.processEvent(Container.java:2058)
> [java] at java.awt.Component.dispatchEventImpl(Component.java
:4410)
> [java] at java.awt.Container.dispatchEventImpl (Container.java
> :2116)
> [java] at java.awt.Component.dispatchEvent(Component.java:4240)
> [java] at java.awt.LightweightDispatcher.retargetMouseEvent(
> Container.java:4322)
> [java] at java.awt.LightweightDispatcher.processMouseEvent (
> Container.java:3986)
> [java] at java.awt.LightweightDispatcher.dispatchEvent(
> Container.java:3916)
> [java] at java.awt.Container.dispatchEventImpl(Container.java
:2102)
> [java] at java.awt.Window.dispatchEventImpl (Window.java:2429)
> [java] at java.awt.Component.dispatchEvent(Component.java:4240)
> [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java
:599)
> [java] at java.awt.EventDispatchThread.pumpOneEventForFilters (
> EventDispatchThread.java:273)
> [java] at java.awt.EventDispatchThread.pumpEventsForFilter(
> EventDispatchThread.java:183)
> [java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(
> EventDispatchThread.java :173)
> [java] at java.awt.EventDispatchThread.pumpEvents(
> EventDispatchThread.java:168)
> [java] at java.awt.EventDispatchThread.pumpEvents(
> EventDispatchThread.java:160)
> [java] at java.awt.EventDispatchThread.run (
> EventDispatchThread.java:121)
>
> and also on startup, it seems like the media services failed to
> initialize....
>
> [java] 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.
> [java] Failed to configure: com.sun.media.ProcessEngine@18fc9ba
> [java] IO exception: line with format PCM_SIGNED 44100.0 Hz, 16
bit,
> stereo, 4 bytes/frame, little-endian not supported.
>
> [java] Error: Unable to configure
com.sun.media.ProcessEngine@18fc9ba
> [java] javax.media.NotConfiguredError: setContentDescriptor cannot
be
> called before configured
> [java] at com.sun.media.ProcessEngine.setContentDescriptor(
> ProcessEngine.java:342)
> [java] at com.sun.media.MediaProcessor.setContentDescriptor(
> MediaProcessor.java:123)
> [java] at
> net.java.sip.communicator.impl.media.MediaControl.initProcessor(
> MediaControl.java:495)
> [java] at
> net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(
> MediaControl.java:393)
> [java] at
> net.java.sip.communicator.impl.media.MediaControl.initialize(
> MediaControl.java:185)
> [java] at
>
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run
> (MediaServiceImpl.java:282)
> [java] at
> net.java.sip.communicator.impl.media.MediaServiceImpl.start(
> MediaServiceImpl.java:137)
> [java] at
net.java.sip.communicator.impl.media.MediaActivator.start
> (MediaActivator.java:60)
> [java] at
> org.apache.felix.framework.util.SecureAction.startActivator(
> SecureAction.java:509)
> [java] at org.apache.felix.framework.Felix._startBundle(
Felix.java
> :1260)
> [java] at org.apache.felix.framework.Felix.startBundle(
Felix.java
> :1201)
> [java] at
org.apache.felix.framework.Felix.setFrameworkStartLevel(
> Felix.java:807)
> [java] at org.apache.felix.framework.StartLevelImpl.run(
> StartLevelImpl.java:256)
> [java] at java.lang.Thread.run(Thread.java:619)
> [java] javax.media.NotConfiguredError: setContentDescriptor cannot
be
> called before configured
> [java] at com.sun.media.ProcessEngine.setContentDescriptor(
> ProcessEngine.java:342)
> [java] at com.sun.media.MediaProcessor.setContentDescriptor(
> MediaProcessor.java:123)
> [java] at
> net.java.sip.communicator.impl.media.MediaControl.initProcessor(
> MediaControl.java:495)
> [java] at
> net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(
> MediaControl.java:393)
> [java] at
> net.java.sip.communicator.impl.media.MediaControl.initialize(
> MediaControl.java:185)
> [java] at
>
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run
> (MediaServiceImpl.java:282)
> [java] at
> net.java.sip.communicator.impl.media.MediaServiceImpl.start(
> MediaServiceImpl.java:137)
> [java] at
net.java.sip.communicator.impl.media.MediaActivator.start
> (MediaActivator.java:60)
> [java] at
> org.apache.felix.framework.util.SecureAction.startActivator(
> SecureAction.java:509)
> [java] at org.apache.felix.framework.Felix._startBundle(
Felix.java
> :1260)
> [java] at org.apache.felix.framework.Felix.startBundle(
Felix.java
> :1201)
> [java] at
org.apache.felix.framework.Felix.setFrameworkStartLevel(
> Felix.java:807)
> [java] at org.apache.felix.framework.StartLevelImpl.run(
> StartLevelImpl.java:256)
> [java] at java.lang.Thread.run(Thread.java:619)
> [java] ERROR: Error starting reference:file:sc-bundles/media.jar (
> org.osgi.framework.BundleException: Activator start error.)
> [java] DEBUG: WIRE: 13.0 ->
> net.java.sip.communicator.service.protocol.icqconstants -> 10.0
> [java] DEBUG: WIRE: 13.0 -> javax.net -> 0
> [java] DEBUG: WIRE: 13.0 ->
> net.java.sip.communicator.service.protocol.aimconstants -> 10.0
>
> Is both problem related? Appreciate any guide to setup on linux.
>
> Cheers,
>
> JK
>

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


#5

Thanks Emil for the clarification.

···

On 8/7/07, Emil Ivov <emcho@emcho.com> wrote:

Hello Johny,

Concerning your second exception it is probably worth noting that some
of us are currently working on replacing parts of our media
implementation so that it would use FMJ instead of JMF. One of these
parts is audio capture.

We hope that all audio device management would be a lot more reliable
after that.

Cheers
Emil

Johny Kadarisman wrote:
> Hi, I just install sc and test around by registering IM accounts and sip
> account. IM functionality work very well, and I can see sip
> registeration and invite coming to sc. but still haven't been able to
> figure out how to establish a sip call with sc.
>
> I try to dialing out, but got some some exceptions as below:
>
> [java] Exception in thread "AWT-EventQueue-0"
> java.lang.NullPointerException
> [java] at
> net.java.sip.communicator.impl.gui.main.call.CallManager.actionPerformed
> (CallManager.java:171)
> [java] at
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
> [java] at
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java
:2318)
> [java] at
> javax.swing.DefaultButtonModel.fireActionPerformed(
DefaultButtonModel.java:387)
> [java] at
> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
> [java] at
> javax.swing.plaf.basic.BasicButtonListener.mouseReleased
> (BasicButtonListener.java:236)
> [java] at java.awt.Component.processMouseEvent(Component.java
:6038)
> [java] at
> javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
> [java] at java.awt.Component.processEvent (Component.java:5803)
> [java] at java.awt.Container.processEvent(Container.java:2058)
> [java] at java.awt.Component.dispatchEventImpl(Component.java
:4410)
> [java] at java.awt.Container.dispatchEventImpl
> (Container.java:2116)
> [java] at java.awt.Component.dispatchEvent(Component.java:4240)
> [java] at
> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
> [java] at java.awt.LightweightDispatcher.processMouseEvent
> (Container.java:3986)
> [java] at
> java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
> [java] at java.awt.Container.dispatchEventImpl(Container.java
:2102)
> [java] at java.awt.Window.dispatchEventImpl (Window.java:2429)
> [java] at java.awt.Component.dispatchEvent(Component.java:4240)
> [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java
:599)
> [java] at java.awt.EventDispatchThread.pumpOneEventForFilters
> (EventDispatchThread.java:273)
> [java] at
> java.awt.EventDispatchThread.pumpEventsForFilter(
EventDispatchThread.java:183)
> [java] at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(
EventDispatchThread.java
> :173)
> [java] at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
> [java] at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
> [java] at java.awt.EventDispatchThread.run
> (EventDispatchThread.java:121)
>
> and also on startup, it seems like the media services failed to
> initialize....
>
> [java] 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.
> [java] Failed to configure: com.sun.media.ProcessEngine@18fc9ba
> [java] IO exception: line with format PCM_SIGNED 44100.0 Hz, 16
> bit, stereo, 4 bytes/frame, little-endian not supported.
>
> [java] Error: Unable to configure
com.sun.media.ProcessEngine@18fc9ba
> [java] javax.media.NotConfiguredError: setContentDescriptor cannot
> be called before configured
> [java] at com.sun.media.ProcessEngine.setContentDescriptor
> (ProcessEngine.java:342)
> [java] at
> com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java
:123)
> [java] at
> net.java.sip.communicator.impl.media.MediaControl.initProcessor(
MediaControl.java
> :495)
> [java] at
> net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(
MediaControl.java:393)
> [java] at
> net.java.sip.communicator.impl.media.MediaControl.initialize(
MediaControl.java:185)
>
> [java] at
>
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run
(MediaServiceImpl.java:282)
> [java] at
> net.java.sip.communicator.impl.media.MediaServiceImpl.start(
MediaServiceImpl.java
> :137)
> [java] at
> net.java.sip.communicator.impl.media.MediaActivator.start(
MediaActivator.java:60)
> [java] at
> org.apache.felix.framework.util.SecureAction.startActivator(
SecureAction.java:509)
> [java] at
> org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
> [java] at
> org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
> [java] at
> org.apache.felix.framework.Felix.setFrameworkStartLevel (Felix.java:807)
> [java] at
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
> [java] at java.lang.Thread.run(Thread.java:619)
> [java] javax.media.NotConfiguredError: setContentDescriptor cannot
> be called before configured
> [java] at
> com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)
> [java] at
> com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java
:123)
> [java] at
> net.java.sip.communicator.impl.media.MediaControl.initProcessor
> (MediaControl.java:495)
> [java] at
> net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(
MediaControl.java:393)
> [java] at
> net.java.sip.communicator.impl.media.MediaControl.initialize(
> MediaControl.java:185)
> [java] at
>
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run
(MediaServiceImpl.java:282)
> [java] at
> net.java.sip.communicator.impl.media.MediaServiceImpl.start
> (MediaServiceImpl.java:137)
> [java] at
> net.java.sip.communicator.impl.media.MediaActivator.start(
MediaActivator.java:60)
> [java] at
> org.apache.felix.framework.util.SecureAction.startActivator(
SecureAction.java
> :509)
> [java] at
> org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
> [java] at
> org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
> [java] at
> org.apache.felix.framework.Felix.setFrameworkStartLevel (Felix.java:807)
> [java] at
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
> [java] at java.lang.Thread.run(Thread.java:619)
> [java] ERROR: Error starting reference:file:sc-bundles/media.jar (
> org.osgi.framework.BundleException: Activator start error.)
> [java] DEBUG: WIRE: 13.0 ->
> net.java.sip.communicator.service.protocol.icqconstants -> 10.0
> [java] DEBUG: WIRE: 13.0 -> javax.net <http://javax.net> -> 0
> [java] DEBUG: WIRE: 13.0 ->
> net.java.sip.communicator.service.protocol.aimconstants -> 10.0
>
> Is both problem related? Appreciate any guide to setup on linux.
>
> Cheers,
>
> JK
>
>
>

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