On Linux systems any Eclipse-based project may fail to display apidoc-popups and other html-documentation, instead an exception like the following is shown:
org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.swt.SWTError: XPCOM error -1041039104)
at org.eclipse.swt.SWT.error(SWT.java:3884)
at org.eclipse.swt.SWT.error(SWT.java:3799)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
[... shortened ... ]
Caused by: org.eclipse.swt.SWTError: XPCOM error -1041039104
at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:2089)
at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:1164)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:119)
at org.eclipse.dltk.internal.ui.BrowserInformationControl.<init>(BrowserInformationControl.java:211)
[... shortened ... ]
To fix this exception one has to install xulrunner:
On Debian systems install the package
xulrunner-1.9.1
, i.e. xulrunner version 1.9.x (xulrunner 2.x did not work at the time this was written)xulrunner as installed by Debian (below
/usr/lib/xulrunner-1.9.1/
) is automatically detected by Squish IDEFor other Linux distributions setting the MOZILLA_FIVE_HOME environment variable might be necessary; it should point to the location where xulrunner got installed to.