4 Replies Latest reply on Jul 7, 2009 9:16 AM by 843802

    javaw.exe has encountered a problem a needs to close

    843802
      Hello,
      I'm working with an videoconference application (SIP Communicator) in a Java Web Start application. I've got to access to download the jnlpo file and the application run apparentely 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

      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(JmfDeviceDetector.java:107)
           at net.java.sip.communicator.impl.media.device.JmfDeviceDetector.setupJMF(JmfDeviceDetector.java:364)
           at net.java.sip.communicator.impl.media.device.JmfDeviceDetector.detectAndConfigureCaptureDevices(JmfDeviceDetector.java:412)
           at net.java.sip.communicator.impl.media.device.DeviceConfiguration.initialize(DeviceConfiguration.java:125)
           at net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.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(MediaControl.java:558)
           at net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(MediaControl.java:192)
           at net.java.sip.communicator.impl.media.MediaControl.initialize(MediaControl.java:146)
           at net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(MediaServiceImpl.java:409)

      I dont know what is happening, so I' appreciate any help from you
      If you need more information dont heasitate to contact me

      Thanks a lot
      Regards
      Pedro