title: Getting error when using functions in pentaho kettle
body: <p>I am adding a formula in a transformation in <strong>kettle</strong>. In the properties of that formula, when I click on formula textfield, I get an error:</p>
  
  <pre><code>org.eclipse.swt.SWTError: No more handles [MOZILLA_FIVE_HOME=''] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
  no swt-mozilla-gtk-3740 in java.library.path
  no swt-mozilla-gtk in java.library.path
  /home/ron/.swt/lib/linux/x86/libswt-mozilla-gtk-3740.so: libxpcom.so: cannot open shared object file: No such file or directory
  Can't load library: /home/ron/.swt/lib/linux/x86/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.&lt;init&gt;(Unknown Source)
  at org.pentaho.libformula.ui.editor.LibFormulaEditor.&lt;init&gt;(LibFormulaEditor.java:198)
  at org.pentaho.di.ui.trans.steps.formula.FormulaDialog$3.widgetSelected(FormulaDialog.java:219)
  at org.pentaho.di.ui.core.widget.TableView.editText(TableView.java:1940)
  at org.pentaho.di.ui.core.widget.TableView.edit(TableView.java:1895)
  at org.pentaho.di.ui.core.widget.TableView.edit(TableView.java:1867)
  at org.pentaho.di.ui.core.widget.TableView.editSelected(TableView.java:1326)
  at org.pentaho.di.ui.core.widget.TableView.access$3000(TableView.java:107)
  at org.pentaho.di.ui.core.widget.TableView$26.mouseDown(TableView.java:949)
  at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
  at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
  at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
  at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
  at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
  at org.pentaho.di.ui.trans.steps.formula.FormulaDialog.open(FormulaDialog.java:282)
  at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:136)
  at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7835)
  at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2749)
  at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:705)
  at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
  at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
  at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
  at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
  at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
  at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1221)
  at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7044)
  at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8304)
  at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:580)
  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:606)
  at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
  Caused by: java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
  no swt-mozilla-gtk-3740 in java.library.path
  no swt-mozilla-gtk in java.library.path
  /home/ron/.swt/lib/linux/x86/libswt-mozilla-gtk-3740.so: libxpcom.so: cannot open shared object file: No such file or directory
  Can't load library: /home/ron/.swt/lib/linux/x86/libswt-mozilla-gtk.so
  
  at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
  at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
  ... 35 more
  </code></pre>
  
  <p>When I am checking <code>/home/ron/.swt/lib/linux/</code> it has the file <code>libswt-mozilla-gtk-3740.so</code></p>
  
  <p>Kindly help me with the solution</p>