org.eclipse.swt.SWTError: No more handles [MOZILLA_FIVE_HOME='/usr/lib/xulrunner-addons'] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: /home/spingel/workspace/.metadata/.plugins/org.eclipse.pde.core/Everything/org.eclipse.osgi/bundles/855/1/.cp/libswt-mozilla-gtk-3655.so: libxpcom.so: cannot open shared object file: No such file or directory no swt-mozilla-gtk in java.library.path /tmp/swtlib-32/libswt-mozilla-gtk-3655.so: libxpcom.so: cannot open shared object file: No such file or directory Can't load library: /tmp/swtlib-32/libswt-mozilla-gtk.so )

SpringSource Issue Tracker | Steffen Pingel | 6 years ago
  1. 0

    What steps will reproduce the problem? 1. Start STS on 64-bit Linux with 32-bit JVM 1. Hover over error link in console -- Error Details -- Message: Unhandled event loop exception Severity: Error Product: SpringSource Tool Suite 2.5.2.201012170301-CI-R6387-B202 (com.springsource.sts.ide) Plugin: org.eclipse.ui Exception Stack Trace: org.eclipse.swt.SWTError: No more handles [MOZILLA_FIVE_HOME='/usr/lib/xulrunner-addons'] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: /home/spingel/workspace/.metadata/.plugins/org.eclipse.pde.core/Everything/org.eclipse.osgi/bundles/855/1/.cp/libswt-mozilla-gtk-3655.so: libxpcom.so: cannot open shared object file: No such file or directory no swt-mozilla-gtk in java.library.path /tmp/swtlib-32/libswt-mozilla-gtk-3655.so: libxpcom.so: cannot open shared object file: No such file or directory Can't load library: /tmp/swtlib-32/libswt-mozilla-gtk.so ) at org.eclipse.swt.SWT.error(SWT.java:4109) at org.eclipse.swt.browser.Mozilla.initMozilla(Mozilla.java:1770) at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:656) at org.eclipse.swt.browser.Browser.<init>(Browser.java:119) at com.springsource.sts.internal.runtimeerroranalysis.console.ErrorAnalysisToolTip.createToolTipContentArea(ErrorAnalysisToolTip.java:32) at org.eclipse.jface.window.ToolTip.toolTipShow(ToolTip.java:359) at org.eclipse.jface.window.ToolTip.toolTipOpen(ToolTip.java:483) at org.eclipse.jface.window.ToolTip.toolTipCreate(ToolTip.java:348) at org.eclipse.jface.window.ToolTip.show(ToolTip.java:339) at com.springsource.sts.internal.runtimeerroranalysis.console.ErrorAnalysisHyperlink.linkEntered(ErrorAnalysisHyperlink.java:49) at org.eclipse.ui.console.TextConsoleViewer.linkEntered(TextConsoleViewer.java:407) at org.eclipse.ui.console.TextConsoleViewer.updateLinks(TextConsoleViewer.java:486) at org.eclipse.ui.console.TextConsoleViewer.mouseMove(TextConsoleViewer.java:470) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:205) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) 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:369) 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:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407) at org.eclipse.equinox.launcher.Main.main(Main.java:1383) Caused by: java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: /home/spingel/workspace/.metadata/.plugins/org.eclipse.pde.core/Everything/org.eclipse.osgi/bundles/855/1/.cp/libswt-mozilla-gtk-3655.so: libxpcom.so: cannot open shared object file: No such file or directory no swt-mozilla-gtk in java.library.path /tmp/swtlib-32/libswt-mozilla-gtk-3655.so: libxpcom.so: cannot open shared object file: No such file or directory Can't load library: /tmp/swtlib-32/libswt-mozilla-gtk.so at org.eclipse.swt.internal.Library.loadLibrary(Library.java:267) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:174) at org.eclipse.swt.browser.Mozilla.initMozilla(Mozilla.java:1755) ... 37 more

    SpringSource Issue Tracker | 6 years ago | Steffen Pingel
    org.eclipse.swt.SWTError: No more handles [MOZILLA_FIVE_HOME='/usr/lib/xulrunner-addons'] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: /home/spingel/workspace/.metadata/.plugins/org.eclipse.pde.core/Everything/org.eclipse.osgi/bundles/855/1/.cp/libswt-mozilla-gtk-3655.so: libxpcom.so: cannot open shared object file: No such file or directory no swt-mozilla-gtk in java.library.path /tmp/swtlib-32/libswt-mozilla-gtk-3655.so: libxpcom.so: cannot open shared object file: No such file or directory Can't load library: /tmp/swtlib-32/libswt-mozilla-gtk.so )
  2. 0

    Browser/FireFox not loading on raw unmodified Ubuntu

    GitHub | 4 years ago | myleshorton
    org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
  3. 0

    Error starting with gui in KDE (Kubuntu 11.10)

    GitHub | 5 years ago | forkner
    org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unhandled Event Loop Exception in Eclipse 3.8 on Ubuntu 14.10.

    GitHub | 2 years ago | nadar
    org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
  6. 0

    Unhandled event loop exception

    GitHub | 4 years ago | tombentley
    org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]

    5 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsatisfiedLinkError

      Could not load SWT library. Reasons: /home/spingel/workspace/.metadata/.plugins/org.eclipse.pde.core/Everything/org.eclipse.osgi/bundles/855/1/.cp/libswt-mozilla-gtk-3655.so: libxpcom.so: cannot open shared object file: No such file or directory no swt-mozilla-gtk in java.library.path /tmp/swtlib-32/libswt-mozilla-gtk-3655.so: libxpcom.so: cannot open shared object file: No such file or directory Can't load library: /tmp/swtlib-32/libswt-mozilla-gtk.so

      at org.eclipse.swt.internal.Library.loadLibrary()
    2. RWT
      Browser.<init>
      1. org.eclipse.swt.internal.Library.loadLibrary(Library.java:267)
      2. org.eclipse.swt.internal.Library.loadLibrary(Library.java:174)
      3. org.eclipse.swt.browser.Mozilla.initMozilla(Mozilla.java:1755)
      4. org.eclipse.swt.browser.Mozilla.create(Mozilla.java:656)
      5. org.eclipse.swt.browser.Browser.<init>(Browser.java:119)
      5 frames
    3. com.springsource.sts
      ErrorAnalysisToolTip.createToolTipContentArea
      1. com.springsource.sts.internal.runtimeerroranalysis.console.ErrorAnalysisToolTip.createToolTipContentArea(ErrorAnalysisToolTip.java:32)
      1 frame
    4. JFace
      ToolTip.show
      1. org.eclipse.jface.window.ToolTip.toolTipShow(ToolTip.java:359)
      2. org.eclipse.jface.window.ToolTip.toolTipOpen(ToolTip.java:483)
      3. org.eclipse.jface.window.ToolTip.toolTipCreate(ToolTip.java:348)
      4. org.eclipse.jface.window.ToolTip.show(ToolTip.java:339)
      4 frames
    5. com.springsource.sts
      ErrorAnalysisHyperlink.linkEntered
      1. com.springsource.sts.internal.runtimeerroranalysis.console.ErrorAnalysisHyperlink.linkEntered(ErrorAnalysisHyperlink.java:49)
      1 frame
    6. Console
      TextConsoleViewer.mouseMove
      1. org.eclipse.ui.console.TextConsoleViewer.linkEntered(TextConsoleViewer.java:407)
      2. org.eclipse.ui.console.TextConsoleViewer.updateLinks(TextConsoleViewer.java:486)
      3. org.eclipse.ui.console.TextConsoleViewer.mouseMove(TextConsoleViewer.java:470)
      3 frames
    7. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:205)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
      5 frames
    8. Eclipse UI
      Workbench$7.run
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
      3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
      4. org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
      4 frames
    9. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    10. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
      1 frame
    11. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    12. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
      1 frame
    13. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    14. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      4 frames
    15. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    16. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1407)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1383)
      4 frames