Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
when using an input transform the filebrowser throws an error when you select a folder and not a file
java.lang.IllegalArgumentException: Argument cannot be null
at org.eclipse.swt.SWT.error(SWT.java:4704)
at org.eclipse.swt.SWT.error(SWT.java:4638)
at org.eclipse.swt.SWT.error(SWT.java:4609)
at org.eclipse.swt.widgets.Widget.error(Widget.java:550)
at org.eclipse.swt.widgets.Text.setText(Text.java:2574)
at org.apache.hop.ui.core.widget.TextVar.setText(TextVar.java:206)
at org.apache.hop.ui.core.dialog.BaseDialog.presentFileDialog(BaseDialog.java:215)
at org.apache.hop.ui.core.dialog.BaseDialog.presentFileDialog(BaseDialog.java:124)
at org.apache.hop.pipeline.transforms.fileinput.TextFileInputDialog$8.widgetSelected(TextFileInputDialog.java:625)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
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.pipeline.transforms.fileinput.TextFileInputDialog.open(TextFileInputDialog.java:650)
at org.apache.hop.ui.hopgui.file.pipeline.delegates.HopGuiPipelineTransformDelegate.editTransform(HopGuiPipelineTransformDelegate.java:137)
at org.apache.hop.ui.hopgui.file.pipeline.HopGuiPipelineGraph.editTransform(HopGuiPipelineGraph.java:2785)
at org.apache.hop.ui.hopgui.file.pipeline.HopGuiPipelineGraph.mouseDoubleClick(HopGuiPipelineGraph.java:580)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:200)
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:353)
at org.apache.hop.ui.hopgui.HopGui.main(HopGui.java:297)
tested with text file input