View Only

 PDI Spoon throws error with Xubuntu (Ubuntu) 20.04No more handles because no underlying browser available. SWT on GTK 2.x detected. It is reccomended to use SWT on GTK 3.x and Webkit2 API.

  • Pentaho
  • Kettle
  • Pentaho
  • Pentaho Data Integration PDI
  • Spoon
Tony Johnson's profile image
Tony Johnson posted 04-24-2020 09:37

I dont get this with Xubuntu 18.04. I have used the latest PDI download I would be grateful for a fix if anyone has it?

The full error reported is

org.eclipse.swt.SWTError: No more handles because no underlying browser available.

  SWT on GTK 2.x detected. It is reccomended to use SWT on GTK 3.x and Webkit2 API.


at org.eclipse.swt.SWT.error(

at org.eclipse.swt.browser.Browser.<init>(

at org.pentaho.di.ui.core.dialog.ThinDialog.createDialog(

at org.pentaho.di.ui.repo.dialog.RepositoryDialog.openCreation(


at org.eclipse.swt.widgets.TypedListener.handleEvent(

at org.eclipse.swt.widgets.EventTable.sendEvent(

at org.eclipse.swt.widgets.Display.sendEvent(

at org.eclipse.swt.widgets.Widget.sendEvent(

at org.eclipse.swt.widgets.Display.runDeferredEvents(

at org.eclipse.swt.widgets.Display.readAndDispatch(

at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(

at org.pentaho.di.ui.spoon.Spoon.waitForDispose(

at org.pentaho.di.ui.spoon.Spoon.start(

at org.pentaho.di.ui.spoon.Spoon.main(

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(

at sun.reflect.DelegatingMethodAccessorImpl.invoke(

at java.lang.reflect.Method.invoke(

at org.pentaho.commons.launcher.Launcher.main(


Thnaks, TonyJ

Sergio Ribeiro's profile image
Sergio Ribeiro

Hello @Tony Johnson​,


Did you install libwebkitgtk-1.0?





Sérgio Ribeiro

Porto - Portugal



Tony Johnson's profile image
Tony Johnson
Hi Sergio.Here is what I get when trying to install, so I guess that it is already present?tj@tj-OptiPlex-3020:~/Desktop$ sudo apt-get install libwebkitgtk-1.0[sudo] password for tj:Reading package lists... DoneBuilding dependency treeReading state information... DoneNote, selecting 'libwebkitgtk-1.0-0' for regex 'libwebkitgtk-1.0'The following packages were automatically installed and are no longer required:gnome-software-common libappstream-glib8 libgspell-1-2 libgspell-1-commonUse 'sudo apt autoremove' to remove them.0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Igor Francisco Fortes's profile image
Igor Francisco Fortes

Hi, Tony!


You have to set the export SWT_GTK3 parameter in to 1.


Here's the reference:



Igor Francisco Fortes

Tony Johnson's profile image
Tony Johnson
Igor,Many many thanks for this.It didnt quite do it - but very nearly and I can use Spoon now where it was crashing before.You pointed me at the area to 'play' with and after 'adjustment' Spoon came up and seems stable.Though I do still get this showing but cannot detect that it is interfering - so far.I dont get the PDI splash panel.(java:5967): Gdk-WARNING **: 18:56:55.082: The GDK_NATIVE_WINDOWS environment variable is not supported in GTK3.See the documentation for gdk_window_ensure_native() on how to get native windowand(SWT:5967): Gtk-WARNING **: 18:57:13.220: Negative content width -12 (allocation 1, extents 6x7) while allocating gadget (node separator, owner GtkSeparatorToolItem)2020/05/26 18:57:13 - RepositoriesMeta - Reading repositories XML file: /home/tj/.kettle/repositories.xmlGraphics2D from BufferedImage lacks BUFFERED_IMAGE hint(SWT:5967): Gtk-CRITICAL **: 18:57:13.592: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbarI changed settings so...# Fix for GTK Windows issues with SWTexport GDK_NATIVE_WINDOWS=1# Fix GTK 3 issues with SWT# export SWT_GTK3=1# Fix overlay scrollbar bug with Ubuntu 11.04export LIBOVERLAY_SCROLLBAR=0# Fix menus not showing up on Ubuntu 14.04's unity# Bug in: export UBUNTU_MENUPROXY=0Thanks again for your reply.Tony J
behrouz seyedi's profile image
behrouz seyedi

It works :)

Thank you so much!

Thudani Hettimulla's profile image
Thudani Hettimulla

Hi Tony,


I am getting the same warning and the critical error that you got and I have the problem that spoon becoming very slow when opening a transformation or a job. Did you managed to solve those warnings and the error?