RTC 4.0 on Ubuntu 12.04 blows up when trying to open history of a work item
On my 32-bit Ubuntu 12.04 LTS I have RTC 4.0 client (unpacked from a plain zip). It functioned normally until at some point I tried to click on a "History" tab. Then I get errors like below:
Error logged from Process Client UI:
No more handles [MOZILLA_FIVE_HOME='/usr/lib/xulrunner-addons'] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
/home/dubauski/dev/jazz/client/eclipse/configuration/org.eclipse.osgi/bundles/502/1/.cp/libswt-mozilla-gtk-3659.so (libxpcom.so: cannot open shared object file: No such file or directory)
swt-mozilla-gtk (Not found in java.library.path)
/tmp/swtlib-32/libswt-mozilla-gtk-3659.so (libxpcom.so: cannot open shared object file: No such file or directory)
/tmp/swtlib-32/libswt-mozilla-gtk.so (/tmp/swtlib-32/liblibswt-mozilla-gtk.so.so: cannot open shared object file: No such file or directory)
)
After this error I'm recommended to exit RTC workbench.
I have searched extensively on this issue and have tried to switch to a different xulrunner (1.9.0.17, 1.9.2.13, 1.9.2.19, 3.6.28, 16.0.2, etc) but to no success. At best I was getting different errors or RTC would simply crash.
Accepted answer
I specify an installation of xulrunner to use with the instructions on the Eclipse SWT FAQ. I use the first option with the -D flag to set the xulrunner location.
Then I use one of the versions that is supported based on the Eclipse version I'm using as specified here.
For RTC 4.0, it is using Eclipse 3.6.2 and the 1.9.x versions of xulrunner should work. It seems to be looking in /usr/lib/xulrunner-addons for your xulrunner. Is this the correct location where you've installed xulrunner?
Then I use one of the versions that is supported based on the Eclipse version I'm using as specified here.
For RTC 4.0, it is using Eclipse 3.6.2 and the 1.9.x versions of xulrunner should work. It seems to be looking in /usr/lib/xulrunner-addons for your xulrunner. Is this the correct location where you've installed xulrunner?