Nikola Garafolic

pentaho pdi ver 7 and 8 stopped working

Discussion created by Nikola Garafolic on Dec 1, 2017
Latest reply on Mar 6, 2018 by Bart Maertens

Using any version of PDI between 7.1.0.3 to 8.0.0.0, I am unable to use anymore, because of sudden error:

 

INFO: Setting the server's publish address to be /browser

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - ERROR (version 8.0.0.0-1, build 8.0.0.0-1 from 2017-10-26 08.39.26 by nikola) : Could not open a browser

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - ERROR (version 8.0.0.0-1, build 8.0.0.0-1 from 2017-10-26 08.39.26 by nikola) : org.eclipse.swt.SWTError: No more handles [MOZILLA_FIVE_HOME='/usr/lib/xulrunner-41.0.2'] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - no swt-mozilla-gtk-4335 in java.library.path

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - no swt-mozilla-gtk in java.library.path

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - /home/nikola/.swt/lib/linux/x86_64/libswt-mozilla-gtk-4335.so: libxpcom.so: cannot open shared object file: No such file or directory

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - Can't load library: /home/nikola/.swt/lib/linux/x86_64/libswt-mozilla-gtk.so

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - )

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - at org.eclipse.swt.SWT.error(Unknown Source)

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - at org.eclipse.swt.browser.Mozilla.initMozilla(Unknown Source)

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - at org.eclipse.swt.browser.Mozilla.create(Unknown Source)

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - at org.eclipse.swt.browser.Browser.<init>(Unknown Source)

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - at org.pentaho.di.ui.util.EnvironmentUtils.getUserAgent(EnvironmentUtils.java:81)

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - at org.pentaho.di.ui.util.EnvironmentUtils.getBrowserName(EnvironmentUtils.java:187)

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - at org.pentaho.di.ui.spoon.Spoon.checkEnvironment(Spoon.java:9165)

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9241)

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:692)

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - at java.lang.reflect.Method.invoke(Method.java:498)

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - Caused by: java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - no swt-mozilla-gtk-4335 in java.library.path

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - no swt-mozilla-gtk in java.library.path

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - /home/nikola/.swt/lib/linux/x86_64/libswt-mozilla-gtk-4335.so: libxpcom.so: cannot open shared object file: No such file or directory

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - Can't load library: /home/nikola/.swt/lib/linux/x86_64/libswt-mozilla-gtk.so

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 -

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)

2017/12/01 12:36:55 - org.pentaho.di.ui.util.EnvironmentUtils@54f4a7f0 - ... 13 more

2017/12/01 12:36:56 - Carte - Installing timer to purge stale objects after 1440 minutes.

 

Linux used is manjaro linux (based on arch linux). PDI worked for over a year, but now this error appeared and I'm unable to use it. It starts but no other dialogs or windows show (table input previews and such).

 

I installed webkitgtk2 package, providing libwebkitgtk-1.0 file:

 

$ ldconfig -p | grep webkitgtk-1.0

libwebkitgtk-1.0.so.0 (libc6,x86-64) => /usr/lib/libwebkitgtk-1.0.so.0

libwebkitgtk-1.0.so (libc6,x86-64) => /usr/lib/libwebkitgtk-1.0.so

 

$ archlinux-java status

Available Java environments:

  java-8-jdk (default)

  java-8-jre/jre

 

$ ls -al  /home/nikola/.swt/lib/linux/x86_64/

total 2368

drwxr-xr-x 2 nikola nikola   4096 Stu 30 18:50 .

drwxr-xr-x 3 nikola nikola   4096 Tra 25  2017 ..

-rwxr-xr-x 1 nikola nikola  48496 Tra 25  2017 libswt-atk-gtk-4335.so

-rwxr-xr-x 1 nikola nikola  54704 Tra 25  2017 libswt-cairo-gtk-4335.so

-rwxr-xr-x 1 nikola nikola  40416 Svi 25  2017 libswt-cairo-gtk-4623.so

-rwxr-xr-x 1 nikola nikola 544904 Tra 25  2017 libswt-gtk-4335.so

-rwxr-xr-x 1 nikola nikola 543720 Svi 25  2017 libswt-gtk-4623.so

-rwxr-xr-x 1 nikola nikola 106528 Tra 25  2017 libswt-mozilla-gtk-4335.so

-rwxr-xr-x 1 nikola nikola 489768 Svi 25  2017 libswt-pi3-gtk-4623.so

-rwxr-xr-x 1 nikola nikola 477904 Tra 25  2017 libswt-pi-gtk-4335.so

-rwxr-xr-x 1 nikola nikola  51880 Tra 25  2017 libswt-webkit-gtk-4335.so

-rwxr-xr-x 1 nikola nikola  37048 Tra 25  2017 libswt-xpcominit-gtk-4335.so

 

Even have installed xulrunner, but removing it doesnt change a thing.

 

I only have

$ ldconfig -p | grep libswt-mozilla-gtk

libswt-mozilla-gtk-4335.so (libc6,x86-64) => /usr/lib/libswt-mozilla-gtk-4335.so

 

So dont know what package should provide libswt-mozilla-gtk.so if thats the issue here.

Also, do I need to set java library path?

I tried symlinking  libswt-mozilla-gtk-4335.so to  libswt-mozilla-gtk.so, and setting env LD_LIBRARY_PATH=/home/nikola/.swt/lib/linux/x86_64/ but still same error appears. I am out of ideas. Someone please help guys

Thanks in advance

Outcomes