org.eclipse.swt.SWTError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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
    via by Michael D'Amour,
  • JFlashPlayer on Solaris
    via djproject by jmandawg
    ,
  • swt browser - no more handles Error
    via by esa hekmat,
    • 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)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    12 more bugmates