org.eclipse.swt.SWTError: No more handles [MOZILLA_FIVE_HOME=''] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: no swt-mozilla-gtk-4332 in java.library.path no swt-mozilla-gtk in java.library.path /home/ubu/.swt/lib/linux/x86_64/libswt-mozilla-gtk-4332.so: libxpcom.so: cannot open shared object file: No such file or directory Can't load library: /home/ubu/.swt/lib/linux/x86_64/libswt-mozilla-gtk.so )

Pentaho BI Platform Tracking | Michael D'Amour | 2 months ago
  1. 0

    On Linux, if the user doesn't install the libwebkitgtk package, when they tries to use DET the error is shown: ```No more handles [MOZILLA_FIVE_HOME=''] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: no swt-mozilla-gtk-4332 in java.library.path no swt-mozilla-gtk in java.library.path /home/ubu/.swt/lib/linux/x86_64/libswt-mozilla-gtk-4332.so: libxpcom.so: cannot open shared object file: No such file or directory Can't load library: /home/ubu/.swt/lib/linux/x86_64/libswt-mozilla-gtk.so ) org.eclipse.swt.SWTError: No more handles [MOZILLA_FIVE_HOME=''] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: no swt-mozilla-gtk-4332 in java.library.path no swt-mozilla-gtk in java.library.path /home/ubu/.swt/lib/linux/x86_64/libswt-mozilla-gtk-4332.so: libxpcom.so: cannot open shared object file: No such file or directory Can't load library: /home/ubu/.swt/lib/linux/x86_64/libswt-mozilla-gtk.so ) at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.browser.Mozilla.initMozilla(Unknown Source) at org.eclipse.swt.browser.Mozilla.create(Unknown Source) at org.eclipse.swt.browser.Browser.<init>(Unknown Source) at org.pentaho.di.ui.spoon.ExpandedContentManager.createExpandedContent(ExpandedContentManager.java:91) There are 4 (or more?) features in Kettle that are not available if you are missing libwebkitgtk. 1. DET 2. marketplace 3. welcome screen 4. repository login/manager We should detect if the user is on Linux (for example, in spoon.sh) and display a message to the user that they are missing this required dependency and provide them with helpful information about how to install it. A Linux independent way of detecting if the library is available might be something like: ldconfig -p |grep webkitgtk

    Pentaho BI Platform Tracking | 2 months ago | Michael D'Amour
    org.eclipse.swt.SWTError: No more handles [MOZILLA_FIVE_HOME=''] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: no swt-mozilla-gtk-4332 in java.library.path no swt-mozilla-gtk in java.library.path /home/ubu/.swt/lib/linux/x86_64/libswt-mozilla-gtk-4332.so: libxpcom.so: cannot open shared object file: No such file or directory Can't load library: /home/ubu/.swt/lib/linux/x86_64/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 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. org.eclipse.swt.SWTError

      No more handles [MOZILLA_FIVE_HOME=''] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: no swt-mozilla-gtk-4332 in java.library.path no swt-mozilla-gtk in java.library.path /home/ubu/.swt/lib/linux/x86_64/libswt-mozilla-gtk-4332.so: libxpcom.so: cannot open shared object file: No such file or directory Can't load library: /home/ubu/.swt/lib/linux/x86_64/libswt-mozilla-gtk.so )

      at org.eclipse.swt.SWT.error()
    2. RWT
      Browser.<init>
      1. org.eclipse.swt.SWT.error(Unknown Source)
      2. org.eclipse.swt.browser.Mozilla.initMozilla(Unknown Source)
      3. org.eclipse.swt.browser.Mozilla.create(Unknown Source)
      4. org.eclipse.swt.browser.Browser.<init>(Unknown Source)
      4 frames
    3. org.pentaho.di
      ExpandedContentManager.createExpandedContent
      1. org.pentaho.di.ui.spoon.ExpandedContentManager.createExpandedContent(ExpandedContentManager.java:91)
      1 frame