org.eclipse.swt.SWTError: XPCOM error -2147467261

Pentaho BI Platform Tracking | César Ramirez Kejelin Stradiotto | 5 years ago
  1. 0

    Hi Found another bug on Spoon for Ubuntu 11.10: 1) On Spoon, inside Transformation space, I just created two steps: 1.1) A [Generate random value] With a field named "float", with Type "Random number" which transfer its values to a (has a "hop" to) 1.2) A [Formula] step 2) When I try to define the formula inside this Formula step, the Spoon launches the following error message: -------------------------------------------------------------------------------- Unable to open dialog for this step org.eclipse.swt.SWTError: XPCOM error -2147467261 at org.eclipse.swt.browser.Mozilla.error(Unknown Source) at org.eclipse.swt.browser.Mozilla.initXPCOM(Unknown Source) at org.eclipse.swt.browser.Mozilla.create(Unknown Source) at org.eclipse.swt.browser.Browser.<init>(Unknown Source) at org.pentaho.libformula.ui.editor.LibFormulaEditor.<init>(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:7756) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2756) 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:1183) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6968) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:567) 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:616) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) -------------------------------------------------------------------------------- 3) Also, to help, spoon.sh has the following lines changed: 3.1) Changed MOZILLA_FIVE_HOME=$(find /usr/lib -maxdepth 1 -name xulrunner-[0-9]* | head -1) to MOZILLA_FIVE_HOME=/opt/xulrunner/xulrunner-2.0.en-US.linux-x86_64 LD_LIBRARY_PATH=/opt/xulrunner/xulrunner-2.0.en-US.linux-x86_64 where /opt/xulrunner/xulrunner-2.0.en-US.linux-x86_64 is the folder where my XULRunner library is unzipped (not installed) 3.2) Changed OPT="$OPT $PENTAHO_DI_JAVA_OPTIONS -Djava.library.path=$LIBPATH -DKETTLE_HOME=$KETTLE_HOME -DKETTLE_REPOSITORY=$KETTLE_REPOSITORY -DKETTLE_USER=$KETTLE_USER -DKETTLE_PASSWORD=$KETTLE_PASSWORD -DKETTLE_PLUGIN_PACKAGES=$KETTLE_PLUGIN_PACKAGES -DKETTLE_LOG_SIZE_LIMIT=$KETTLE_LOG_SIZE_LIMIT" to OPT="$OPT $PENTAHO_DI_JAVA_OPTIONS -Dorg.eclipse.swt.browser.XULRunnerPath=$MOZILLA_FIVE_HOME -Djava.library.path=$LIBPATH -DKETTLE_HOME=$KETTLE_HOME -DKETTLE_REPOSITORY=$KETTLE_REPOSITORY -DKETTLE_USER=$KETTLE_USER -DKETTLE_PASSWORD=$KETTLE_PASSWORD -DKETTLE_PLUGIN_PACKAGES=$KETTLE_PLUGIN_PACKAGES -DKETTLE_LOG_SIZE_LIMIT=$KETTLE_LOG_SIZE_LIMIT" 4) Accessing the form to define Formulas works well on Windows 7

    Pentaho BI Platform Tracking | 5 years ago | César Ramirez Kejelin Stradiotto
    org.eclipse.swt.SWTError: XPCOM error -2147467261
  2. 0

    Hi Found another bug on Spoon for Ubuntu 11.10: 1) On Spoon, inside Transformation space, I just created two steps: 1.1) A [Generate random value] With a field named "float", with Type "Random number" which transfer its values to a (has a "hop" to) 1.2) A [Formula] step 2) When I try to define the formula inside this Formula step, the Spoon launches the following error message: -------------------------------------------------------------------------------- Unable to open dialog for this step org.eclipse.swt.SWTError: XPCOM error -2147467261 at org.eclipse.swt.browser.Mozilla.error(Unknown Source) at org.eclipse.swt.browser.Mozilla.initXPCOM(Unknown Source) at org.eclipse.swt.browser.Mozilla.create(Unknown Source) at org.eclipse.swt.browser.Browser.<init>(Unknown Source) at org.pentaho.libformula.ui.editor.LibFormulaEditor.<init>(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:7756) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2756) 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:1183) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6968) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:567) 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:616) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) -------------------------------------------------------------------------------- 3) Also, to help, spoon.sh has the following lines changed: 3.1) Changed MOZILLA_FIVE_HOME=$(find /usr/lib -maxdepth 1 -name xulrunner-[0-9]* | head -1) to MOZILLA_FIVE_HOME=/opt/xulrunner/xulrunner-2.0.en-US.linux-x86_64 LD_LIBRARY_PATH=/opt/xulrunner/xulrunner-2.0.en-US.linux-x86_64 where /opt/xulrunner/xulrunner-2.0.en-US.linux-x86_64 is the folder where my XULRunner library is unzipped (not installed) 3.2) Changed OPT="$OPT $PENTAHO_DI_JAVA_OPTIONS -Djava.library.path=$LIBPATH -DKETTLE_HOME=$KETTLE_HOME -DKETTLE_REPOSITORY=$KETTLE_REPOSITORY -DKETTLE_USER=$KETTLE_USER -DKETTLE_PASSWORD=$KETTLE_PASSWORD -DKETTLE_PLUGIN_PACKAGES=$KETTLE_PLUGIN_PACKAGES -DKETTLE_LOG_SIZE_LIMIT=$KETTLE_LOG_SIZE_LIMIT" to OPT="$OPT $PENTAHO_DI_JAVA_OPTIONS -Dorg.eclipse.swt.browser.XULRunnerPath=$MOZILLA_FIVE_HOME -Djava.library.path=$LIBPATH -DKETTLE_HOME=$KETTLE_HOME -DKETTLE_REPOSITORY=$KETTLE_REPOSITORY -DKETTLE_USER=$KETTLE_USER -DKETTLE_PASSWORD=$KETTLE_PASSWORD -DKETTLE_PLUGIN_PACKAGES=$KETTLE_PLUGIN_PACKAGES -DKETTLE_LOG_SIZE_LIMIT=$KETTLE_LOG_SIZE_LIMIT" 4) Accessing the form to define Formulas works well on Windows 7

    Pentaho BI Platform Tracking | 5 years ago | César Ramirez Kejelin Stradiotto
    org.eclipse.swt.SWTError: XPCOM error -2147467261
  3. 0

    When we click the cell under the Formula column of (Scripting/Formula): Error shown up following: An unexpected error occurred in Spoon: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)] org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)] at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.browser.Mozilla.create(Unknown Source) at org.eclipse.swt.browser.Browser.<init>(Unknown Source) at org.pentaho.libformula.ui.editor.LibFormulaEditor.<init>(LibFormulaEditor.java:198) at org.pentaho.di.ui.trans.steps.formula.FormulaDialog$3.widgetSelected(FormulaDialog.java:216) at org.pentaho.di.ui.core.widget.TableView.editText(TableView.java:1858) at org.pentaho.di.ui.core.widget.TableView.edit(TableView.java:1823) at org.pentaho.di.ui.core.widget.TableView.edit(TableView.java:1795) at org.pentaho.di.ui.core.widget.TableView.editSelected(TableView.java:1275) at org.pentaho.di.ui.core.widget.TableView.access$3100(TableView.java:97) at org.pentaho.di.ui.core.widget.TableView$26.mouseDown(TableView.java:925) 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:945) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5574) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:412)

    Pentaho BI Platform Tracking | 5 years ago | Hoang kiembinh
    org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When we click the cell under the Formula column of (Scripting/Formula): Error shown up following: An unexpected error occurred in Spoon: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)] org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)] at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.browser.Mozilla.create(Unknown Source) at org.eclipse.swt.browser.Browser.<init>(Unknown Source) at org.pentaho.libformula.ui.editor.LibFormulaEditor.<init>(LibFormulaEditor.java:198) at org.pentaho.di.ui.trans.steps.formula.FormulaDialog$3.widgetSelected(FormulaDialog.java:216) at org.pentaho.di.ui.core.widget.TableView.editText(TableView.java:1858) at org.pentaho.di.ui.core.widget.TableView.edit(TableView.java:1823) at org.pentaho.di.ui.core.widget.TableView.edit(TableView.java:1795) at org.pentaho.di.ui.core.widget.TableView.editSelected(TableView.java:1275) at org.pentaho.di.ui.core.widget.TableView.access$3100(TableView.java:97) at org.pentaho.di.ui.core.widget.TableView$26.mouseDown(TableView.java:925) 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:945) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5574) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:412)

    Pentaho BI Platform Tracking | 5 years ago | Hoang kiembinh
    org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
  6. 0

    This looks similar to issue PDI-2789 Steps: 1) Drag the "Formula" step to the canvas 2) Click on it. Enter a random field name "test" 3) Click on the cell next to test, under the formula column. We get a window that pops up with the following error: A screenshot is available if needed. Can't seem to find an "upload attachment" button. An unexpected error occurred in Spoon: XPCOM error -2147467262 org.eclipse.swt.SWTError: XPCOM error -2147467262 at org.eclipse.swt.browser.Mozilla.error(Unknown Source) at org.eclipse.swt.browser.Mozilla.create(Unknown Source) at org.eclipse.swt.browser.Browser.<init>(Unknown Source) at org.pentaho.libformula.ui.editor.LibFormulaEditor.<init>(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.spoon.Spoon.readAndDispatch(Spoon.java:1183) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6966) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:567) 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)

    Pentaho BI Platform Tracking | 4 years ago | S L
    org.eclipse.swt.SWTError: XPCOM error -2147467262

    5 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.eclipse.swt.SWTError

      XPCOM error -2147467261

      at org.eclipse.swt.browser.Mozilla.error()
    2. RWT
      Browser.<init>
      1. org.eclipse.swt.browser.Mozilla.error(Unknown Source)
      2. org.eclipse.swt.browser.Mozilla.initXPCOM(Unknown Source)
      3. org.eclipse.swt.browser.Mozilla.create(Unknown Source)
      4. org.eclipse.swt.browser.Browser.<init>(Unknown Source)
      4 frames
    3. org.pentaho.libformula
      LibFormulaEditor.<init>
      1. org.pentaho.libformula.ui.editor.LibFormulaEditor.<init>(LibFormulaEditor.java:198)
      1 frame
    4. org.pentaho.di
      TableView$26.mouseDown
      1. org.pentaho.di.ui.trans.steps.formula.FormulaDialog$3.widgetSelected(FormulaDialog.java:219)
      2. org.pentaho.di.ui.core.widget.TableView.editText(TableView.java:1940)
      3. org.pentaho.di.ui.core.widget.TableView.edit(TableView.java:1895)
      4. org.pentaho.di.ui.core.widget.TableView.edit(TableView.java:1867)
      5. org.pentaho.di.ui.core.widget.TableView.editSelected(TableView.java:1326)
      6. org.pentaho.di.ui.core.widget.TableView.access$3000(TableView.java:107)
      7. org.pentaho.di.ui.core.widget.TableView$26.mouseDown(TableView.java:949)
      7 frames
    5. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      5 frames
    6. org.pentaho.di
      TransGraph.mouseDoubleClick
      1. org.pentaho.di.ui.trans.steps.formula.FormulaDialog.open(FormulaDialog.java:282)
      2. org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:136)
      3. org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7756)
      4. org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2756)
      5. org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:705)
      5 frames
    7. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      5 frames
    8. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1183)
      2. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6968)
      3. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:567)
      3 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:616)
      4 frames
    10. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
      1 frame