[sip-comm-dev] javaw.exe has encountered a problem a needs to close in SIPComm with Java Web Start


#1

Hello,

I'm working with an SIP Communicator in Java Web Start. I've got to access
to download the jnlp file and the application run apparently without any
problem, but when I try to call a user I get a java error message "javaw.exe
has encountered a problem a needs to close", and when I check this error I
found the following issue:

AppName: javaw.exe AppVer: 6.0.140.8 ModName: jvm.dll

ModVer: 14.0.0.16 Offset: 000fee15

My application side get to send the invite request and receive the ack
response, but it is at the moment when I’m going to send the video the
application crash.

I think the problem come from capture device detection, but I'm not sure
because the java error dont say anything about this. I guess that is a
capture device detection problem because when I check the Java Console I
see:

GRAVE: Failed to initially commit JMFRegistry. Ignoring err.

java.lang.SecurityException: commit: Permission denied

                at com.sun.media.util.Registry.commit(Registry.java:251)

                at
net.java.sip.communicator.impl.media.device.JmfDeviceDetector.initialize(Jmf
DeviceDetector.java:107)

                at
net.java.sip.communicator.impl.media.device.JmfDeviceDetector.setupJMF(JmfDe
viceDetector.java:364)

                at
net.java.sip.communicator.impl.media.device.JmfDeviceDetector.detectAndConfi
gureCaptureDevices(JmfDeviceDetector.java:412)

                at
net.java.sip.communicator.impl.media.device.DeviceConfiguration.initialize(D
eviceConfiguration.java:125)

                at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThr
ead.run(MediaServiceImpl.java:408)

26-jun-2009 17:00:38 net.java.sip.communicator.util.Logger info

INFO: Looking for Audio capturer

26-jun-2009 17:00:38 net.java.sip.communicator.util.Logger info

INFO: DirectSound Capture Supported = false

26-jun-2009 17:00:38 net.java.sip.communicator.util.Logger info

INFO: Gibberish protocol implementation [STARTED].

26-jun-2009 17:00:38 net.java.sip.communicator.util.Logger info

INFO: SSH protocol implementation [STARTED].

26-jun-2009 17:00:38 net.java.sip.communicator.util.Logger info

INFO: JavaSound Capture Supported = true

Exception on commit = java.lang.SecurityException: commit: Permission denied

26-jun-2009 17:00:38 net.java.sip.communicator.util.Logger info

INFO: JavaSoundAuto: Committed ok

26-jun-2009 17:00:38 net.java.sip.communicator.util.Logger info

INFO: Looking for video capture devices

26-jun-2009 17:00:38 net.java.sip.communicator.util.Logger info

INFO: Stun server address(null)/port(null) not set (or invalid). Disabling
STUN.

26-jun-2009 17:00:38 net.java.sip.communicator.util.Logger info

INFO: Network Address Manager ...[ STARTED ]

26-jun-2009 17:00:38 net.java.sip.communicator.util.Logger info

INFO: Network Address Manager Service ...[REGISTERED]

26-jun-2009 17:00:38 net.java.sip.communicator.util.Logger info

INFO: Zeroconf protocol implementation [STARTED].

26-jun-2009 17:00:38 net.java.sip.communicator.util.Logger info

INFO: IRC protocol implementation [STARTED].

26-jun-2009 17:00:38 net.java.sip.communicator.util.Logger info

INFO: Scanning for configured Audio Devices.

26-jun-2009 17:00:38 net.java.sip.communicator.util.Logger info

INFO: Found JavaSound audio capture as an audio capture device.

26-jun-2009 17:00:38 net.java.sip.communicator.util.Logger info

INFO: Scanning for configured Video Devices.

26-jun-2009 17:00:38 net.java.sip.communicator.util.Logger info

INFO: Found HP Webcam [VGA] as an RGB Video Device.

26-jun-2009 17:00:38 net.java.sip.communicator.util.Logger info

INFO: Creating datasource for:javasound://44100

java.lang.RuntimeException: No permission to capture from applets

26-jun-2009 17:00:38 net.java.sip.communicator.util.Logger error

GRAVE: Could not create data source for javasound://44100

javax.media.NoDataSourceException: Error instantiating class:
com.sun.media.protocol.javasound.DataSource : java.lang.RuntimeException: No
permission to capture from applets

                at javax.media.Manager.createDataSource(Manager.java:1012)

                at
net.java.sip.communicator.impl.media.MediaControl.createDataSource(MediaCont
rol.java:558)

                at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(MediaCo
ntrol.java:192)

                at
net.java.sip.communicator.impl.media.MediaControl.initialize(MediaControl.ja
va:146)

                at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThr
ead.run(MediaServiceImpl.java:409)

I dont know what is happening, so I' appreciate any help from you

If you need more information dont hesitate to contact me

Thanks a lot

Regards

Pedro Antonio Moreno Sanchez
Telecommunication Engineer & Researcher
Bioengineering and Telemedicine Group
ETSI Telecomunicación - UPM A.101-8L.
Ciudad Universitaria s/n
28040 MADRID - SPAIN

Tel. +34 91 549 57 00 ext. 3407
Fax + 34 91 336 68 28
e-mail: <mailto:pmoreno@gbt.tfo.upm.es> pmoreno@gbt.tfo.upm.es