Uploaded image for project: 'Apache Hop (Retired)'
  1. Apache Hop (Retired)
  2. HOP-2533

Workflow Executor: NPE in dialog

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 0.70
    • 0.70
    • GUI, Transforms, Workflows
    • None

    Description

      The Workflow Executor transform dialog throws an NPE when you specify an input field as value for a parameter.  Select the field in the combo in the table view and hit enter:

       

      java.lang.NullPointerException
      at org.eclipse.swt.custom.CCombo.setFocus(CCombo.java:1586)
      at org.apache.hop.ui.core.widget.ComboVar.setFocus(ComboVar.java:212)
      at org.eclipse.swt.widgets.Control.fixFocus(Control.java:332)
      at org.eclipse.swt.widgets.Control.releaseWidget(Control.java:4596)
      at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:1516)
      at org.eclipse.swt.widgets.Widget.release(Widget.java:1252)
      at org.eclipse.swt.widgets.Control.release(Control.java:4573)
      at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1502)
      at org.eclipse.swt.widgets.Widget.release(Widget.java:1243)
      at org.eclipse.swt.widgets.Control.release(Control.java:4573)
      at org.eclipse.swt.widgets.Widget.dispose(Widget.java:529)
      at org.apache.hop.ui.core.widget.TableView.applyComboChange(TableView.java:1604)
      at org.apache.hop.ui.core.widget.TableView.access$2500(TableView.java:107)
      at org.apache.hop.ui.core.widget.TableView$23.keyPressed(TableView.java:843)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:171)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5687)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1423)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1449)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1432)
      at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1221)
      at org.eclipse.swt.custom.CCombo.textEvent(CCombo.java:1854)
      at org.eclipse.swt.custom.CCombo.lambda$0(CCombo.java:113)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5687)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1423)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1449)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1432)
      at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1473)
      at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:837)
      at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:3942)
      at org.eclipse.swt.widgets.Text.gtk_key_press_event(Text.java:1775)
      at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2267)
      at org.eclipse.swt.widgets.Control.windowProc(Control.java:6679)
      at org.eclipse.swt.widgets.Text.windowProc(Text.java:2871)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:5928)
      at org.eclipse.swt.internal.gtk.GTK.gtk_main_do_event(Native Method)
      at org.eclipse.swt.widgets.Display.eventProc(Display.java:1486)
      at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(Native Method)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4446)
      at org.apache.hop.ui.pipeline.transforms.workflowexecutor.WorkflowExecutorDialog.open(WorkflowExecutorDialog.java:330)
      at org.apache.hop.ui.hopgui.file.pipeline.delegates.HopGuiPipelineTransformDelegate.editTransform(HopGuiPipelineTransformDelegate.java:161)
      at org.apache.hop.ui.hopgui.file.pipeline.HopGuiPipelineGraph.editTransform(HopGuiPipelineGraph.java:3274)
      at org.apache.hop.ui.hopgui.file.pipeline.HopGuiPipelineGraph.mouseUp(HopGuiPipelineGraph.java:914)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:224)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5687)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1423)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4955)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4448)
      at org.apache.hop.ui.hopgui.HopGui.open(HopGui.java:399)
      at org.apache.hop.ui.hopgui.HopGui.main(HopGui.java:319)
      

      subsequent attempts at editing fail and give this on the console:

      java.lang.NullPointerException
              at org.eclipse.swt.custom.CCombo.getText(CCombo.java:910)
              at org.apache.hop.ui.core.widget.ComboVar.getText(ComboVar.java:167)
              at org.apache.hop.ui.core.widget.TableView.applyComboChange(TableView.java:1599)
              at org.apache.hop.ui.core.widget.TableView.access$2500(TableView.java:107)
              at org.apache.hop.ui.core.widget.TableView$25.mouseDown(TableView.java:1197)
              at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:196)
              at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
              at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5687)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1423)
              at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4955)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4448)
              at org.apache.hop.ui.hopgui.HopGui.open(HopGui.java:399)
              at org.apache.hop.ui.hopgui.HopGui.main(HopGui.java:319)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            mcasters Matt Casters
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: