Uploaded image for project: 'Apache Hop'
  1. Apache Hop
  2. HOP-3581

IllegalArgumentException in "Get file names" transform if more then one file is defined

    XMLWordPrintableJSON

Details

    Description

      If more the one file is defined (eg: "first" and "second") in "Get file names" transform, an error is raised when trying to modify the transformation again:

      java.lang.IllegalArgumentException: Index out of bounds
      	at org.eclipse.swt.SWT.error(SWT.java:4874)
      	at org.eclipse.swt.SWT.error(SWT.java:4808)
      	at org.eclipse.swt.SWT.error(SWT.java:4779)
      	at org.eclipse.swt.widgets.Widget.error(Widget.java:557)
      	at org.eclipse.swt.widgets.Table.getItem(Table.java:1627)
      	at org.apache.hop.ui.core.widget.TableView.setText(TableView.java:3310)
      	at org.apache.hop.pipeline.transforms.getfilenames.GetFileNamesDialog.getData(GetFileNamesDialog.java:976)
      	at org.apache.hop.pipeline.transforms.getfilenames.GetFileNamesDialog.open(GetFileNamesDialog.java:871)
      	at org.apache.hop.ui.hopgui.file.pipeline.delegates.HopGuiPipelineTransformDelegate.editTransform(HopGuiPipelineTransformDelegate.java:158)
      	at org.apache.hop.ui.hopgui.file.pipeline.HopGuiPipelineGraph.editTransform(HopGuiPipelineGraph.java:3293)
      	at org.apache.hop.ui.hopgui.file.pipeline.HopGuiPipelineGraph.mouseUp(HopGuiPipelineGraph.java:870)
      	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:5879)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1427)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:5121)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4599)
      	at org.apache.hop.ui.hopgui.HopGui.open(HopGui.java:379)
      	at org.apache.hop.ui.hopgui.HopGui.main(HopGui.java:299)
      
      

        

      Attachments

        Issue Links

          Activity

            People

              sramazzina Sergio Ramazzina
              enricomariam42 Enrico Maria Carmona
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: