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
          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:
              16 Start watching this issue

              Dates

              • Created:
                Updated: