Details

    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Operating System/s:
      CentOS 5.x, CentOS 6.x, RedHat Enterprise Linux 6

      Description

      Original title of this JIRA case:
      org.eclipse.swt.SWTError: XPCOM error -1041039104 when starting PDI 4.4 (installed using pentaho-business-analytics-4.6-SNAPSHOT-192-x64.bin)

      Getting the following error when starting PDI 4.4 on CentOS 5.8. Note that PDI 4.3GA works on this virtual machine without any issues, so we can probably rule out the MOZILLA_FIVE_HOME setting .

      -Dave

      [cloudera@localhost data-integration]$ ./spoon.sh
      /home/cloudera/pentaho4.80RC/design-tools/data-integration
      /home/cloudera/pentaho4.80RC/design-tools/data-integration
      DEBUG: Found JAVA two folders up
      DEBUG: Found Pentaho License two folders up
      DEBUG: _PENTAHO_JAVA_HOME=/home/cloudera/pentaho4.80RC/design-tools/data-integration/../../java
      DEBUG: _PENTAHO_JAVA=/home/cloudera/pentaho4.80RC/design-tools/data-integration/../../java/bin/java
      DEBUG: PENTAHO_INSTALLED_LICENSE_PATH=/home/cloudera/pentaho4.80RC/design-tools/data-integration/../../.installedLicenses.xml
      WARN 14-10 09:56:45,057 - Unable to load Hadoop Configuration from "file:///home/cloudera/pentaho4.80RC/design-tools/data-integration/plugins/pentaho-big-data-plugin/hadoop-configurations/mapr". For more information enable debug logging.
      INFO 14-10 09:56:45,148 - Spoon - Logging goes to file:///tmp/spoon_fd65d3aa-1606-11e2-8919-29e99d878ae3.log
      org.eclipse.swt.SWTError: XPCOM error -1041039104
      at org.eclipse.swt.browser.Mozilla.error(Unknown Source)
      at org.eclipse.swt.browser.Mozilla.initFactories(Unknown Source)
      at org.eclipse.swt.browser.Mozilla.create(Unknown Source)
      at org.eclipse.swt.browser.Browser.<init>(Unknown Source)
      at org.pentaho.ui.xul.swt.tags.SwtBrowser.createBrowser(SwtBrowser.java:230)
      at org.pentaho.ui.xul.swt.tags.SwtBrowser.layout(SwtBrowser.java:160)
      at org.pentaho.ui.xul.impl.XulParser.parse(XulParser.java:171)
      at org.pentaho.ui.xul.impl.XulParser.parse(XulParser.java:156)
      at org.pentaho.ui.xul.impl.XulParser.parse(XulParser.java:156)
      at org.pentaho.ui.xul.impl.XulParser.parse(XulParser.java:156)
      at org.pentaho.ui.xul.impl.XulParser.parseDocument(XulParser.java:70)
      at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:119)
      at org.pentaho.ui.xul.swt.SwtXulLoader.loadXul(SwtXulLoader.java:112)
      at org.pentaho.ui.xul.swt.SwtXulLoader.loadXul(SwtXulLoader.java:106)
      at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:244)
      at org.pentaho.agilebi.spoon.perspective.AbstractPerspective.<init>(AbstractPerspective.java:71)
      at org.pentaho.agilebi.spoon.perspective.AgileBiInstaPerspective.<init>(AgileBiInstaPerspective.java:96)
      at org.pentaho.agilebi.spoon.perspective.AgileBiInstaPerspective.<clinit>(AgileBiInstaPerspective.java:59)
      at org.pentaho.agilebi.spoon.perspective.AgileBiSpoonInstaPlugin.getPerspective(AgileBiSpoonInstaPlugin.java:78)
      at org.pentaho.di.ui.spoon.SpoonPluginManager.loadPlugin(SpoonPluginManager.java:90)
      at org.pentaho.di.ui.spoon.SpoonPluginManager.<init>(SpoonPluginManager.java:70)
      at org.pentaho.di.ui.spoon.SpoonPluginManager.<clinit>(SpoonPluginManager.java:61)
      at org.pentaho.di.ui.spoon.Spoon.init(Spoon.java:747)
      at org.pentaho.di.ui.spoon.Spoon.createContents(Spoon.java:8266)
      at org.eclipse.jface.window.Window.create(Window.java:426)
      at org.eclipse.jface.window.Window.open(Window.java:785)
      at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8297)
      at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:580)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
      stopping
      [cloudera@localhost data-integration]$

        Issue Links

          Activity

          Hide
          mbatchelor Marc Batchelor added a comment -

          Seems familiar:
          PDI-8340
          PDI-8394

          I believe this to be a bug, not an ESR. Moving to PDI against 4.4.

          Show
          mbatchelor Marc Batchelor added a comment - Seems familiar: PDI-8340 PDI-8394 I believe this to be a bug, not an ESR. Moving to PDI against 4.4.
          Hide
          wgorman Will Gorman (Inactive) added a comment -

          We should discuss this with pre-sales and re-evaluate our support matrix in 5.0.

          Show
          wgorman Will Gorman (Inactive) added a comment - We should discuss this with pre-sales and re-evaluate our support matrix in 5.0.
          Hide
          dmoran Doug Moran added a comment -

          We need to determine if this is going to start to effect the other OSs as they upgrade XULRunner

          Show
          dmoran Doug Moran added a comment - We need to determine if this is going to start to effect the other OSs as they upgrade XULRunner
          Hide
          doffe Evgeny Minkevich added a comment -

          I have the same issue with starting just Spoon on RHEL 6.3

          Show
          doffe Evgeny Minkevich added a comment - I have the same issue with starting just Spoon on RHEL 6.3
          Hide
          jcornelius Jared Cornelius added a comment -

          CentOS and RHEL are not supported for our client tools. Changing this case to a Feature Request.

          Show
          jcornelius Jared Cornelius added a comment - CentOS and RHEL are not supported for our client tools. Changing this case to a Feature Request.
          Hide
          victorsosa victor sosa added a comment - - edited

          Hi guys,

          Here is the real issue is that it is a version compatibility issue between SWT library and XULrunner, I don't know which SWT version is Pentaho using but definitely the lastest versions of xulrunner will not work.

          NOTE: I TESTED IT FOR 64bit on linux is the most common issue version, the 32bit should be the same.

          Cause
          XULRunner Version 10, or later (XULrunner-2) is not compatible with all releases of Eclipse 3.6 and 3.7.
          I was able to duplicate this issue and I fixed it using a xulrunner 1.9.2 version which you can download here:
          http://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/2012/03/2012-03-02-03-32-11-mozilla-1.9.2/xulrunner-1.9.2.28pre.en-US.linux-x86_64.tar.bz2.

          I tried version 10 but it doesn't work either. the documentation said that should work Eclipse 3.8.x with XULRunner 1.8.x - 1.9.x, 3.6.x and 10.x (but not 2.x nor 4.x - 9.x)

          for more info about compatibility look into this link:
          http://www.eclipse.org/swt/faq.php#browserlinux

          another helpful link:
          http://www-01.ibm.com/support/docview.wss?uid=swg21592804

          Solutions:
          1> ADD some warning in the documentation installation (tell me how to do it and I can do it)
          2> for a permanent fix you can delivery the working xulrunner in the PDI package (just include folder inside 32bit or 64bit for linux only) <-- I can do this part too, just need commit process orientation.

          Happy to help the community, this issue was a nightmare, so please post you thanks will pay the headache
          EUREKA

          Show
          victorsosa victor sosa added a comment - - edited Hi guys, Here is the real issue is that it is a version compatibility issue between SWT library and XULrunner, I don't know which SWT version is Pentaho using but definitely the lastest versions of xulrunner will not work. NOTE: I TESTED IT FOR 64bit on linux is the most common issue version, the 32bit should be the same. Cause XULRunner Version 10, or later (XULrunner-2) is not compatible with all releases of Eclipse 3.6 and 3.7. I was able to duplicate this issue and I fixed it using a xulrunner 1.9.2 version which you can download here: http://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/2012/03/2012-03-02-03-32-11-mozilla-1.9.2/xulrunner-1.9.2.28pre.en-US.linux-x86_64.tar.bz2 . I tried version 10 but it doesn't work either. the documentation said that should work Eclipse 3.8.x with XULRunner 1.8.x - 1.9.x, 3.6.x and 10.x (but not 2.x nor 4.x - 9.x) for more info about compatibility look into this link: http://www.eclipse.org/swt/faq.php#browserlinux another helpful link: http://www-01.ibm.com/support/docview.wss?uid=swg21592804 Solutions: 1> ADD some warning in the documentation installation (tell me how to do it and I can do it) 2> for a permanent fix you can delivery the working xulrunner in the PDI package (just include folder inside 32bit or 64bit for linux only) <-- I can do this part too, just need commit process orientation. Happy to help the community, this issue was a nightmare, so please post you thanks will pay the headache EUREKA
          Hide
          victorsosa victor sosa added a comment - - edited

          PDI-6356 should be related to this issue, PDI-1282 too

          Show
          victorsosa victor sosa added a comment - - edited PDI-6356 should be related to this issue, PDI-1282 too
          Hide
          flotho Florent THOMAS added a comment -

          Cool it saved my days.....

          Show
          flotho Florent THOMAS added a comment - Cool it saved my days.....
          Hide
          rutgerdow Rutger Deterd Oude Weme added a comment -

          Thanks a lot!!!!

          I was already on the right track of using other xulrunner versions, but the one in the link above was the right one for me.
          I also changed the spoon.sh, added:
          set MOZILLA_FIVE_HOME=/opt/xulrunner-1.9.2
          set LD_LIBRARY_PATH=/opt/xulrunner-1.9.2
          OPT="$OPT -Dorg.eclipse.swt.browser.DefaultType=mozilla -Dorg.eclipse.swt.browser.XULRunnerPath=/opt/xulrunner-1.9.2"

          Show
          rutgerdow Rutger Deterd Oude Weme added a comment - Thanks a lot!!!! I was already on the right track of using other xulrunner versions, but the one in the link above was the right one for me. I also changed the spoon.sh, added: set MOZILLA_FIVE_HOME=/opt/xulrunner-1.9.2 set LD_LIBRARY_PATH=/opt/xulrunner-1.9.2 OPT="$OPT -Dorg.eclipse.swt.browser.DefaultType=mozilla -Dorg.eclipse.swt.browser.XULRunnerPath=/opt/xulrunner-1.9.2"
          Hide
          victorsosa victor sosa added a comment - - edited

          NOTE:
          The only change you need is
          OPT="$OPT -Dorg.eclipse.swt.browser.DefaultType=mozilla -Dorg.eclipse.swt.browser.XULRunnerPath=/opt/xulrunner-1.9.2"

          the set variable can be comment or omitted

          Show
          victorsosa victor sosa added a comment - - edited NOTE: The only change you need is OPT="$OPT -Dorg.eclipse.swt.browser.DefaultType=mozilla -Dorg.eclipse.swt.browser.XULRunnerPath=/opt/xulrunner-1.9.2" the set variable can be comment or omitted
          Hide
          mcasters Matt Casters added a comment - - edited

          I just tried Spoon 5.0.1 CE on Centos 6.5 and libwebkitgtk.x86_64 is already installed by default (1.2.6-5.el6) meaning it works out of the box.
          On other versions of Centos you might have to install this library separately.

          yum install libwebkitgtk

          Show
          mcasters Matt Casters added a comment - - edited I just tried Spoon 5.0.1 CE on Centos 6.5 and libwebkitgtk.x86_64 is already installed by default (1.2.6-5.el6) meaning it works out of the box. On other versions of Centos you might have to install this library separately. yum install libwebkitgtk
          Hide
          mcasters Matt Casters added a comment -

          Updated README_LINUX.txt

          On Ubuntu 12 and higher library libwebkitgtk-1.0-0 needs to be installed.

          sudo apt-get install libwebkitgtk-1.0.0

          On Centos you might also need to install this library:

          yum install libwebkitgtk

          It is installed in the standard desktop installation of Centos 6.5

          Show
          mcasters Matt Casters added a comment - Updated README_LINUX.txt On Ubuntu 12 and higher library libwebkitgtk-1.0-0 needs to be installed. sudo apt-get install libwebkitgtk-1.0.0 On Centos you might also need to install this library: yum install libwebkitgtk It is installed in the standard desktop installation of Centos 6.5
          Hide
          victorsosa victor sosa added a comment - - edited

          I didn't have the same result as you using Fedora; I had already installed the package webkitgtk on Fedora 20, But I had to install the old version of xulrunner-1.9.2 in my pc. it use to be xulrunner-27.0-1

          Show
          victorsosa victor sosa added a comment - - edited I didn't have the same result as you using Fedora; I had already installed the package webkitgtk on Fedora 20, But I had to install the old version of xulrunner-1.9.2 in my pc. it use to be xulrunner-27.0-1
          Hide
          mcasters Matt Casters added a comment - - edited

          On Fedora 20 package libwebkitgtk-1.0-0 is no longer available the way it was in prior editions.
          That being said, I couldn't find the older xulrunner package either so if you have any detailed installation instructions I could include them in the README_LINUX.txt file.

          Show
          mcasters Matt Casters added a comment - - edited On Fedora 20 package libwebkitgtk-1.0-0 is no longer available the way it was in prior editions. That being said, I couldn't find the older xulrunner package either so if you have any detailed installation instructions I could include them in the README_LINUX.txt file.
          Hide
          victorsosa victor sosa added a comment -

          Well it will be:

          1) download the xulrunner 1.9.2 from here: http://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/2012/03/2012-03-02-03-32-11-mozilla-1.9.2/xulrunner-1.9.2.28pre.en-US.linux-x86_64.tar.bz2.

          2) change this line in the spoon.sh
          The only change you need is
          OPT="$OPT -Dorg.eclipse.swt.browser.DefaultType=mozilla -Dorg.eclipse.swt.browser.XULRunnerPath=/opt/xulrunner-1.9.2"

          Show
          victorsosa victor sosa added a comment - Well it will be: 1) download the xulrunner 1.9.2 from here: http://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/2012/03/2012-03-02-03-32-11-mozilla-1.9.2/xulrunner-1.9.2.28pre.en-US.linux-x86_64.tar.bz2 . 2) change this line in the spoon.sh The only change you need is OPT="$OPT -Dorg.eclipse.swt.browser.DefaultType=mozilla -Dorg.eclipse.swt.browser.XULRunnerPath=/opt/xulrunner-1.9.2"
          Hide
          diddy Diethard Steiner added a comment -

          Thanks a lot for the instructions! It's been quite a challenge getting this working.

          Show
          diddy Diethard Steiner added a comment - Thanks a lot for the instructions! It's been quite a challenge getting this working.
          Hide
          mtucker Matt Tucker added a comment -

          For CentOS, instead of libwebkitgtk, install webkitgtk via yum.

          Show
          mtucker Matt Tucker added a comment - For CentOS, instead of libwebkitgtk, install webkitgtk via yum.
          Hide
          hopeatme shaulboo zhiao added a comment - - edited

          I try what victor sosa advices, but I dose not make it . I try some xulrunner versions , and done at last .
          1) I strongly do suggest to get xulrunner-33.0 instead . Get it from "http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/33.0/runtimes/" . For me , tested on CentOS 6.5 .
          2) edit dist/spoon.sh file , changes line 14 to "MOZILLA_FIVE_HOME=XXXXXXX/xulrunner" , XXXXXX hint where you untar archive . Save and quit .
          3) sh spoon.sh

          I hope it might be useful for you . Good luck.

          Show
          hopeatme shaulboo zhiao added a comment - - edited I try what victor sosa advices, but I dose not make it . I try some xulrunner versions , and done at last . 1) I strongly do suggest to get xulrunner-33.0 instead . Get it from "http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/33.0/runtimes/" . For me , tested on CentOS 6.5 . 2) edit dist/spoon.sh file , changes line 14 to "MOZILLA_FIVE_HOME=XXXXXXX/xulrunner" , XXXXXX hint where you untar archive . Save and quit . 3) sh spoon.sh I hope it might be useful for you . Good luck.
          Hide
          victorsosa victor sosa added a comment - - edited

          @Matt Casters what you did fix the issue, so we can consider this FIX using the README_LINUX.txt file instructions.

          but on fedora should be yum install webkitgtk

          Show
          victorsosa victor sosa added a comment - - edited @Matt Casters what you did fix the issue, so we can consider this FIX using the README_LINUX.txt file instructions. but on fedora should be yum install webkitgtk

            People

            • Assignee:
              Unassigned
              Reporter:
              dhenry Dave Henry (Inactive)
            • Votes:
              7 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

              • Created:
                Updated: