Comment 11 for bug 553779

Revision history for this message
Victor Costan (costan) wrote :

Hi, Niels!

Thank you so much for looking into this!

I tried adding the following to eclipse.ini, and I still got the same (or a very similar) error after starting eclipse.
-Dswt.library.path=/usr/lib/eclipse/configuration/org.eclipse.osgi/bundles/144/1/.cp/

The log entry is:
!ENTRY org.eclipse.ui 4 0 2010-04-02 00:13:47.932
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTError: No more handles (java.lang.UnsatisfiedLinkError: no swt-xulrunner-gtk-3557 or swt-xulrunner-gtk in swt.library.path, java.library.path or the jar file)
 at org.eclipse.swt.SWT.error(SWT.java:3910)
 at org.eclipse.swt.SWT.error(SWT.java:3799)
 at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:452)
 at org.eclipse.swt.browser.Browser.<init>(Browser.java:119)
 at com.aptana.ide.core.ui.browser.BaseBrowserAdapter.createControl(BaseBrowserAdapter.java:56)
 at com.aptana.radrails.intro.editors.MyRadRailsEditor.createPartControl(MyRadRailsEditor.java:157)
 at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:662)
 at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)
 at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
 at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
 at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
 at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
 at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
 at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
 at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
 at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
 at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:843)
 at org.eclipse.ui.internal.PartStack.access$1(PartStack.java:829)
 at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:139)
 at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:133)
 at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:270)
 at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:279)
 at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
 at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$2.handleEvent(DefaultTabFolder.java:87)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1200)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1185)
 at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1025)
 at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3256)
 at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2045)
 at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:323)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
 at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
 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)
 at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:616)
 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
 at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by: java.lang.UnsatisfiedLinkError: no swt-xulrunner-gtk-3557 or swt-xulrunner-gtk in swt.library.path, java.library.path or the jar file
 at org.eclipse.swt.internal.Library.loadLibrary(Library.java:254)
 at org.eclipse.swt.internal.Library.loadLibrary(Library.java:159)
 at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:450)
 ... 54 more

The ls command gives the following output:
/usr/lib/xulrunner-1.9.1.9
/usr/lib/xulrunner-1.9.2.2
/usr/lib/xulrunner-addons

I have attached my /usr/bin/eclipse to this bug.

I'll be happy to collect more data if that helps you investigate.

Thank you so much,
    Victor