[jitsi-users] Jitsi can draw no graphics on Ubuntu 12.04


#1

Hello,

···

On Sat May 25 14:38:35 2013, ix4svs@gmail.com wrote:

Hi.

This is on a Ubuntu 12.04 LTS system:

alex@bigboy:~$ uname -a
Linux bigboy 3.5.0-31-generic #52~precise1-Ubuntu SMP Fri May 17
15:27:49 UTC 2013 i686 athlon i386 GNU/Linux
alex@bigboy:~$ java -version
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) Server VM (build 23.21-b01, mixed mode)
alex@bigboy:~$ jitsi --version
Jitsi 2.3.4656.9728
alex@bigboy:~$ jitsi
12:24:53.741 SEVERE: [12]
org.jitsi.impl.configuration.ConfigurationServiceImpl.error() Failed
to load property file: jitsi-defaults.properties
java.lang.NullPointerException
    at java.util.Properties$LineReader.readLine(Unknown Source)
    at java.util.Properties.load0(Unknown Source)
    at java.util.Properties.load(Unknown Source)
    at
org.jitsi.impl.configuration.ConfigurationServiceImpl.loadDefaultProperties(ConfigurationServiceImpl.java:1562)
    at
org.jitsi.impl.configuration.ConfigurationServiceImpl.loadDefaultProperties(ConfigurationServiceImpl.java:1545)
    at
org.jitsi.impl.configuration.ConfigurationServiceImpl.<init>(ConfigurationServiceImpl.java:121)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
    at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at
org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:133)
    at
org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)
    at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
    at
org.jitsi.service.libjitsi.LibJitsi.getConfigurationService(LibJitsi.java:85)
    at
net.java.sip.communicator.impl.configuration.ConfigurationActivator.start(ConfigurationActivator.java:38)
    at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
    at org.apache.felix.framework.Felix.activateBundle(Felix.java:1904)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
    at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
    at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
    at java.lang.Thread.run(Unknown Source)
12:24:53.743 SEVERE: [12]
org.jitsi.impl.configuration.ConfigurationServiceImpl.error() Failed
to load property file: jitsi-default-overrides.properties
java.lang.NullPointerException
    at java.util.Properties$LineReader.readLine(Unknown Source)
    at java.util.Properties.load0(Unknown Source)
    at java.util.Properties.load(Unknown Source)
    at
org.jitsi.impl.configuration.ConfigurationServiceImpl.loadDefaultProperties(ConfigurationServiceImpl.java:1562)
    at
org.jitsi.impl.configuration.ConfigurationServiceImpl.loadDefaultProperties(ConfigurationServiceImpl.java:1546)
    at
org.jitsi.impl.configuration.ConfigurationServiceImpl.<init>(ConfigurationServiceImpl.java:121)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
    at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at
org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:133)
    at
org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)
    at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
    at
org.jitsi.service.libjitsi.LibJitsi.getConfigurationService(LibJitsi.java:85)
    at
net.java.sip.communicator.impl.configuration.ConfigurationActivator.start(ConfigurationActivator.java:38)
    at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
    at org.apache.felix.framework.Felix.activateBundle(Felix.java:1904)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
    at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
    at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
    at java.lang.Thread.run(Unknown Source)
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports
only playback stream
12:24:55.929 SEVERE: [12]
org.jitsi.impl.neomedia.device.DeviceConfiguration.error() Failed to
register custom Renderer
org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer with JMF.
java.lang.UnsatisfiedLinkError:
/usr/share/jitsi/lib/native/libjnawtrenderer.so: libjawt.so: cannot
open shared object file: No such file or directory

Does that only happen with recent versions of Jitsi? Have you made any recent changes to your JRE (since that's where libjawt.so comes from)?

The same Jitsi version runs fine here on 12.10 amd64, but I don't have an 12.04 i386 installation to test atm.

Regards,
Boris


#2

I tried both the latest "stable" and the latest "nightly" with similar
results. This is a new installation on which I've never used Jitsi before.
When I saw segmentation faults (on earlier tries to launch Jitsi) I thought
"hang on, something is really wrong here" and upgraded my JRE6 to JRE7, but
that doesn't seem to have solved the issue...

Any tips on how to troubleshoot this are very welcome.

Alex

···

On 25 May 2013 13:31, Boris Grozev <boris@jitsi.org> wrote:

Hello,

On Sat May 25 14:38:35 2013, ix4svs@gmail.com wrote:

Hi.

This is on a Ubuntu 12.04 LTS system:

alex@bigboy:~$ uname -a
Linux bigboy 3.5.0-31-generic #52~precise1-Ubuntu SMP Fri May 17
15:27:49 UTC 2013 i686 athlon i386 GNU/Linux
alex@bigboy:~$ java -version
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) Server VM (build 23.21-b01, mixed mode)
alex@bigboy:~$ jitsi --version
Jitsi 2.3.4656.9728
alex@bigboy:~$ jitsi
12:24:53.741 SEVERE: [12]
org.jitsi.impl.configuration.**ConfigurationServiceImpl.**error() Failed
to load property file: jitsi-defaults.properties
java.lang.NullPointerException
    at java.util.Properties$**LineReader.readLine(Unknown Source)
    at java.util.Properties.load0(**Unknown Source)
    at java.util.Properties.load(**Unknown Source)
    at
org.jitsi.impl.configuration.**ConfigurationServiceImpl.**
loadDefaultProperties(**ConfigurationServiceImpl.java:**1562)
    at
org.jitsi.impl.configuration.**ConfigurationServiceImpl.**
loadDefaultProperties(**ConfigurationServiceImpl.java:**1545)
    at
org.jitsi.impl.configuration.**ConfigurationServiceImpl.<**init>(**
ConfigurationServiceImpl.java:**121)
    at sun.reflect.**NativeConstructorAccessorImpl.**newInstance0(Native
Method)
    at sun.reflect.**NativeConstructorAccessorImpl.**newInstance(Unknown
Source)
    at
sun.reflect.**DelegatingConstructorAccessorI**mpl.newInstance(Unknown
Source)
    at java.lang.reflect.Constructor.**newInstance(Unknown Source)
    at java.lang.Class.newInstance0(**Unknown Source)
    at java.lang.Class.newInstance(**Unknown Source)
    at
org.jitsi.impl.libjitsi.**LibJitsiImpl.getService(**
LibJitsiImpl.java:133)
    at
org.jitsi.impl.libjitsi.**LibJitsiOSGiImpl.getService(**
LibJitsiOSGiImpl.java:86)
    at
org.jitsi.service.libjitsi.**LibJitsi.**invokeGetServiceOnImpl(**
LibJitsi.java:163)
    at
org.jitsi.service.libjitsi.**LibJitsi.**getConfigurationService(**
LibJitsi.java:85)
    at
net.java.sip.communicator.**impl.configuration.**
ConfigurationActivator.start(**ConfigurationActivator.java:**38)
    at
org.apache.felix.framework.**util.SecureAction.**
startActivator(SecureAction.**java:629)
    at org.apache.felix.framework.**Felix.activateBundle(Felix.**
java:1904)
    at org.apache.felix.framework.**Felix.startBundle(Felix.java:**1822)
    at
org.apache.felix.framework.**Felix.setActiveStartLevel(**Felix.java:1192)
    at
org.apache.felix.framework.**StartLevelImpl.run(**
StartLevelImpl.java:266)
    at java.lang.Thread.run(Unknown Source)
12:24:53.743 SEVERE: [12]
org.jitsi.impl.configuration.**ConfigurationServiceImpl.**error() Failed
to load property file: jitsi-default-overrides.**properties
java.lang.NullPointerException
    at java.util.Properties$**LineReader.readLine(Unknown Source)
    at java.util.Properties.load0(**Unknown Source)
    at java.util.Properties.load(**Unknown Source)
    at
org.jitsi.impl.configuration.**ConfigurationServiceImpl.**
loadDefaultProperties(**ConfigurationServiceImpl.java:**1562)
    at
org.jitsi.impl.configuration.**ConfigurationServiceImpl.**
loadDefaultProperties(**ConfigurationServiceImpl.java:**1546)
    at
org.jitsi.impl.configuration.**ConfigurationServiceImpl.<**init>(**
ConfigurationServiceImpl.java:**121)
    at sun.reflect.**NativeConstructorAccessorImpl.**newInstance0(Native
Method)
    at sun.reflect.**NativeConstructorAccessorImpl.**newInstance(Unknown
Source)
    at
sun.reflect.**DelegatingConstructorAccessorI**mpl.newInstance(Unknown
Source)
    at java.lang.reflect.Constructor.**newInstance(Unknown Source)
    at java.lang.Class.newInstance0(**Unknown Source)
    at java.lang.Class.newInstance(**Unknown Source)
    at
org.jitsi.impl.libjitsi.**LibJitsiImpl.getService(**
LibJitsiImpl.java:133)
    at
org.jitsi.impl.libjitsi.**LibJitsiOSGiImpl.getService(**
LibJitsiOSGiImpl.java:86)
    at
org.jitsi.service.libjitsi.**LibJitsi.**invokeGetServiceOnImpl(**
LibJitsi.java:163)
    at
org.jitsi.service.libjitsi.**LibJitsi.**getConfigurationService(**
LibJitsi.java:85)
    at
net.java.sip.communicator.**impl.configuration.**
ConfigurationActivator.start(**ConfigurationActivator.java:**38)
    at
org.apache.felix.framework.**util.SecureAction.**
startActivator(SecureAction.**java:629)
    at org.apache.felix.framework.**Felix.activateBundle(Felix.**
java:1904)
    at org.apache.felix.framework.**Felix.startBundle(Felix.java:**1822)
    at
org.apache.felix.framework.**Felix.setActiveStartLevel(**Felix.java:1192)
    at
org.apache.felix.framework.**StartLevelImpl.run(**
StartLevelImpl.java:266)
    at java.lang.Thread.run(Unknown Source)
ALSA lib pcm.c:2217:(snd_pcm_open_**noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_**noupdate) Unknown PCM
cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_**noupdate) Unknown PCM cards.pcm.side
ALSA lib audio/pcm_bluetooth.c:1614:(**audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(**audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(**audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(**audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_**open) The dmix plugin supports
only playback stream
12:24:55.929 SEVERE: [12]
org.jitsi.impl.neomedia.**device.DeviceConfiguration.**error() Failed to
register custom Renderer
org.jitsi.impl.neomedia.**jmfext.media.renderer.video.**JAWTRenderer
with JMF.
java.lang.**UnsatisfiedLinkError:
/usr/share/jitsi/lib/native/**libjnawtrenderer.so: libjawt.so: cannot
open shared object file: No such file or directory

Does that only happen with recent versions of Jitsi? Have you made any
recent changes to your JRE (since that's where libjawt.so comes from)?


#3

Still seeing this - rendering Jitsi unusable on this computer:

alex@bigboy:~$ java -version
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) Server VM (build 23.25-b01, mixed mode)
alex@bigboy:~$ jitsi
09:44:42.028 SEVERE: [12]
org.jitsi.impl.configuration.ConfigurationServiceImpl.error() Failed to
load property file: jitsi-defaults.properties
java.lang.NullPointerException
    at java.util.Properties$LineReader.readLine(Unknown Source)
    at java.util.Properties.load0(Unknown Source)
    at java.util.Properties.load(Unknown Source)
    at
org.jitsi.impl.configuration.ConfigurationServiceImpl.loadDefaultProperties(ConfigurationServiceImpl.java:1562)
    at
org.jitsi.impl.configuration.ConfigurationServiceImpl.loadDefaultProperties(ConfigurationServiceImpl.java:1545)
    at
org.jitsi.impl.configuration.ConfigurationServiceImpl.<init>(ConfigurationServiceImpl.java:121)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at
org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:133)
    at
org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)
    at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
    at
org.jitsi.service.libjitsi.LibJitsi.getConfigurationService(LibJitsi.java:85)
    at
net.java.sip.communicator.impl.configuration.ConfigurationActivator.start(ConfigurationActivator.java:38)
    at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
    at org.apache.felix.framework.Felix.activateBundle(Felix.java:1904)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
    at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
    at java.lang.Thread.run(Unknown Source)
09:44:42.032 SEVERE: [12]
org.jitsi.impl.configuration.ConfigurationServiceImpl.error() Failed to
load property file: jitsi-default-overrides.properties
java.lang.NullPointerException
    at java.util.Properties$LineReader.readLine(Unknown Source)
    at java.util.Properties.load0(Unknown Source)
    at java.util.Properties.load(Unknown Source)
    at
org.jitsi.impl.configuration.ConfigurationServiceImpl.loadDefaultProperties(ConfigurationServiceImpl.java:1562)
    at
org.jitsi.impl.configuration.ConfigurationServiceImpl.loadDefaultProperties(ConfigurationServiceImpl.java:1546)
    at
org.jitsi.impl.configuration.ConfigurationServiceImpl.<init>(ConfigurationServiceImpl.java:121)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at
org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:133)
    at
org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)
    at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
    at
org.jitsi.service.libjitsi.LibJitsi.getConfigurationService(LibJitsi.java:85)
    at
net.java.sip.communicator.impl.configuration.ConfigurationActivator.start(ConfigurationActivator.java:38)
    at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
    at org.apache.felix.framework.Felix.activateBundle(Felix.java:1904)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
    at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
    at java.lang.Thread.run(Unknown Source)
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only
playback stream
09:44:47.121 SEVERE: [12]
org.jitsi.impl.neomedia.device.DeviceConfiguration.error() Failed to
register custom Renderer
org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer with JMF.
java.lang.UnsatisfiedLinkError:
/usr/share/jitsi/lib/native/libjnawtrenderer.so: libjawt.so: cannot open
shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(Unknown Source)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at
org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer.<clinit>(JAWTRenderer.java:90)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at
org.jitsi.impl.neomedia.device.DeviceConfiguration.registerCustomRenderers(DeviceConfiguration.java:1060)
    at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:368)
    at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:132)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at
org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:133)
    at
org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)
    at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
    at
org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
    at
net.java.sip.communicator.impl.neomedia.NeomediaActivator.start(NeomediaActivator.java:380)
    at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
    at org.apache.felix.framework.Felix.activateBundle(Felix.java:1904)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
    at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
    at java.lang.Thread.run(Unknown Source)
09:45:01.707 SEVERE: [38] util.UtilActivator.uncaughtException().109 An
uncaught exception occurred in thread=Thread[AWT-EventQueue-0,6,main] and
message was: null
java.lang.reflect.UndeclaredThrowableException
    at
net.java.sip.communicator.impl.osdependent.SystemTray$AWTSystemTrayPeer.addTrayIcon(SystemTray.java:189)
    at
net.java.sip.communicator.impl.osdependent.SystemTray.addTrayIcon(SystemTray.java:89)
    at
net.java.sip.communicator.impl.osdependent.jdic.SystrayServiceJdicImpl$3.run(SystrayServiceJdicImpl.java:418)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$200(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.WaitDispatchSupport$2.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$200(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.awt.AWTException: TrayIcon couldn't be displayed.
    at sun.awt.X11.XTrayIconPeer.<init>(Unknown Source)
    at sun.awt.X11.XToolkit.createTrayIcon(Unknown Source)
    at java.awt.TrayIcon.addNotify(Unknown Source)
    at java.awt.SystemTray.add(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at
net.java.sip.communicator.impl.osdependent.SystemTray$AWTSystemTrayPeer.addTrayIcon(SystemTray.java:173)
    ... 28 more
^C
alex@bigboy:~$ locate libjawt.so
/opt/java/32/jre1.7.0_25/lib/i386/libjawt.so
alex@bigboy:~$

Symptoms:
- No tray icon
- password prompt windows *are* displayed by Jitsi (so it can draw
graphics, even though it complains it can't find libjawt.so)
- the main Jitsi window is not displayed at all, and doesn't show up in the
list of windows the window manager knows about with ALT-TAB.

This is what's executing in the background: (via ps)

alex 5854 62.1 8.8 621072 183044 pts/0 Sl+ 10:02 0:20 | \_
/usr/bin/java -client -Xmx256m -classpath
/usr/share/jitsi/lib/jdic_stub.jar:/usr/share/jitsi/lib/jdic-all.jar:/usr/share/jitsi/lib/felix.jar:/usr/share/jitsi/lib/bcprovider.jar:/usr/share/jitsi/sc-bundles/sc-launcher.jar:/usr/share/jitsi/sc-bundles/util.jar:/usr/share/jitsi
-Djna.library.path=/usr/share/jitsi/lib/native
-Dfelix.config.properties=file:/usr/share/jitsi/lib/felix.client.run.properties
-Djava.util.logging.config.file=/usr/share/jitsi/lib/logging.properties
-Dnet.java.sip.communicator.SC_HOME_DIR_NAME=.jitsi
net.java.sip.communicator.launcher.SIPCommunicator

Any help troubleshooting this would be appreciated. I tried hardcoding the
path to my libjawt.so into the script /usr/bin/jitsi but it made no
difference.

Alex

···

On 25 May 2013 21:07, <ix4svs@gmail.com> wrote:

On 25 May 2013 13:31, Boris Grozev <boris@jitsi.org> wrote:

Hello,

On Sat May 25 14:38:35 2013, ix4svs@gmail.com wrote:

Hi.

This is on a Ubuntu 12.04 LTS system:

alex@bigboy:~$ uname -a
Linux bigboy 3.5.0-31-generic #52~precise1-Ubuntu SMP Fri May 17
15:27:49 UTC 2013 i686 athlon i386 GNU/Linux
alex@bigboy:~$ java -version
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) Server VM (build 23.21-b01, mixed mode)
alex@bigboy:~$ jitsi --version
Jitsi 2.3.4656.9728
alex@bigboy:~$ jitsi
12:24:53.741 SEVERE: [12]
org.jitsi.impl.configuration.**ConfigurationServiceImpl.**error() Failed
to load property file: jitsi-defaults.properties
java.lang.NullPointerException
    at java.util.Properties$**LineReader.readLine(Unknown Source)
    at java.util.Properties.load0(**Unknown Source)
    at java.util.Properties.load(**Unknown Source)
    at
org.jitsi.impl.configuration.**ConfigurationServiceImpl.**
loadDefaultProperties(**ConfigurationServiceImpl.java:**1562)
    at
org.jitsi.impl.configuration.**ConfigurationServiceImpl.**
loadDefaultProperties(**ConfigurationServiceImpl.java:**1545)
    at
org.jitsi.impl.configuration.**ConfigurationServiceImpl.<**init>(**
ConfigurationServiceImpl.java:**121)
    at sun.reflect.**NativeConstructorAccessorImpl.**newInstance0(Native
Method)
    at sun.reflect.**NativeConstructorAccessorImpl.**newInstance(Unknown
Source)
    at
sun.reflect.**DelegatingConstructorAccessorI**mpl.newInstance(Unknown
Source)
    at java.lang.reflect.Constructor.**newInstance(Unknown Source)
    at java.lang.Class.newInstance0(**Unknown Source)
    at java.lang.Class.newInstance(**Unknown Source)
    at
org.jitsi.impl.libjitsi.**LibJitsiImpl.getService(**
LibJitsiImpl.java:133)
    at
org.jitsi.impl.libjitsi.**LibJitsiOSGiImpl.getService(**
LibJitsiOSGiImpl.java:86)
    at
org.jitsi.service.libjitsi.**LibJitsi.**invokeGetServiceOnImpl(**
LibJitsi.java:163)
    at
org.jitsi.service.libjitsi.**LibJitsi.**getConfigurationService(**
LibJitsi.java:85)
    at
net.java.sip.communicator.**impl.configuration.**
ConfigurationActivator.start(**ConfigurationActivator.java:**38)
    at
org.apache.felix.framework.**util.SecureAction.**
startActivator(SecureAction.**java:629)
    at org.apache.felix.framework.**Felix.activateBundle(Felix.**
java:1904)
    at org.apache.felix.framework.**Felix.startBundle(Felix.java:**1822)
    at
org.apache.felix.framework.**Felix.setActiveStartLevel(**
Felix.java:1192)
    at
org.apache.felix.framework.**StartLevelImpl.run(**
StartLevelImpl.java:266)
    at java.lang.Thread.run(Unknown Source)
12:24:53.743 SEVERE: [12]
org.jitsi.impl.configuration.**ConfigurationServiceImpl.**error() Failed
to load property file: jitsi-default-overrides.**properties
java.lang.NullPointerException
    at java.util.Properties$**LineReader.readLine(Unknown Source)
    at java.util.Properties.load0(**Unknown Source)
    at java.util.Properties.load(**Unknown Source)
    at
org.jitsi.impl.configuration.**ConfigurationServiceImpl.**
loadDefaultProperties(**ConfigurationServiceImpl.java:**1562)
    at
org.jitsi.impl.configuration.**ConfigurationServiceImpl.**
loadDefaultProperties(**ConfigurationServiceImpl.java:**1546)
    at
org.jitsi.impl.configuration.**ConfigurationServiceImpl.<**init>(**
ConfigurationServiceImpl.java:**121)
    at sun.reflect.**NativeConstructorAccessorImpl.**newInstance0(Native
Method)
    at sun.reflect.**NativeConstructorAccessorImpl.**newInstance(Unknown
Source)
    at
sun.reflect.**DelegatingConstructorAccessorI**mpl.newInstance(Unknown
Source)
    at java.lang.reflect.Constructor.**newInstance(Unknown Source)
    at java.lang.Class.newInstance0(**Unknown Source)
    at java.lang.Class.newInstance(**Unknown Source)
    at
org.jitsi.impl.libjitsi.**LibJitsiImpl.getService(**
LibJitsiImpl.java:133)
    at
org.jitsi.impl.libjitsi.**LibJitsiOSGiImpl.getService(**
LibJitsiOSGiImpl.java:86)
    at
org.jitsi.service.libjitsi.**LibJitsi.**invokeGetServiceOnImpl(**
LibJitsi.java:163)
    at
org.jitsi.service.libjitsi.**LibJitsi.**getConfigurationService(**
LibJitsi.java:85)
    at
net.java.sip.communicator.**impl.configuration.**
ConfigurationActivator.start(**ConfigurationActivator.java:**38)
    at
org.apache.felix.framework.**util.SecureAction.**
startActivator(SecureAction.**java:629)
    at org.apache.felix.framework.**Felix.activateBundle(Felix.**
java:1904)
    at org.apache.felix.framework.**Felix.startBundle(Felix.java:**1822)
    at
org.apache.felix.framework.**Felix.setActiveStartLevel(**
Felix.java:1192)
    at
org.apache.felix.framework.**StartLevelImpl.run(**
StartLevelImpl.java:266)
    at java.lang.Thread.run(Unknown Source)
ALSA lib pcm.c:2217:(snd_pcm_open_**noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_**noupdate) Unknown PCM
cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_**noupdate) Unknown PCM cards.pcm.side
ALSA lib audio/pcm_bluetooth.c:1614:(**audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(**audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(**audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(**audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_**open) The dmix plugin supports
only playback stream
12:24:55.929 SEVERE: [12]
org.jitsi.impl.neomedia.**device.DeviceConfiguration.**error() Failed to
register custom Renderer
org.jitsi.impl.neomedia.**jmfext.media.renderer.video.**JAWTRenderer
with JMF.
java.lang.**UnsatisfiedLinkError:
/usr/share/jitsi/lib/native/**libjnawtrenderer.so: libjawt.so: cannot
open shared object file: No such file or directory

Does that only happen with recent versions of Jitsi? Have you made any
recent changes to your JRE (since that's where libjawt.so comes from)?

I tried both the latest "stable" and the latest "nightly" with similar
results. This is a new installation on which I've never used Jitsi before.
When I saw segmentation faults (on earlier tries to launch Jitsi) I thought
"hang on, something is really wrong here" and upgraded my JRE6 to JRE7, but
that doesn't seem to have solved the issue...

Any tips on how to troubleshoot this are very welcome.

Alex