-
Notifications
You must be signed in to change notification settings - Fork 441
[Bug]: CSV Input dialog - Get Fields fails #6947
Copy link
Copy link
Open
Labels
Description
Apache Hop version?
2.18.0-SNAPSHOT
Java version?
OpenJDK 21
Operating system
Linux
What happened?
Specify a test-file in the CSV Input dialog: filename, delimiter, ... Hit the Get Fields button:
java.lang.ClassCastException: class org.apache.hop.pipeline.transforms.csvinput.CsvInputMeta cannot be cast to class org.apache.hop.pipeline.transforms.common.ICsvInputAwareMeta (org.apache.hop.pipeline.transforms.csvinput.CsvInputMeta is in unnamed module of loader org.apache.hop.core.plugins.HopURLClassLoader @279e85eb; org.apache.hop.pipeline.transforms.common.ICsvInputAwareMeta is in unnamed module of loader 'app')
at org.apache.hop.pipeline.transforms.csvinput.CsvInputDialog.getFieldNames(CsvInputDialog.java:975)
at org.apache.hop.pipeline.transforms.csvinput.CsvInputDialog.getFieldNames(CsvInputDialog.java:94)
at org.apache.hop.ui.pipeline.transform.common.IGetFieldsCapableTransformDialog.getFields(IGetFieldsCapableTransformDialog.java:111)
at org.apache.hop.ui.pipeline.transform.common.IGetFieldsCapableTransformDialog.getFields(IGetFieldsCapableTransformDialog.java:106)
at org.apache.hop.pipeline.transforms.csvinput.CsvInputDialog.lambda$open$1(CsvInputDialog.java:141)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:91)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5894)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1656)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:5109)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4546)
at org.apache.hop.ui.core.dialog.BaseDialog.defaultShellHandling(BaseDialog.java:800)
at org.apache.hop.ui.core.dialog.BaseDialog.defaultShellHandling(BaseDialog.java:751)
at org.apache.hop.pipeline.transforms.csvinput.CsvInputDialog.open(CsvInputDialog.java:676)
at org.apache.hop.ui.hopgui.file.pipeline.delegates.HopGuiPipelineTransformDelegate.editTransform(HopGuiPipelineTransformDelegate.java:195)
at org.apache.hop.ui.hopgui.file.pipeline.HopGuiPipelineGraph.editTransform(HopGuiPipelineGraph.java:3748)
at org.apache.hop.ui.hopgui.file.pipeline.HopGuiPipelineGraph.mouseUp(HopGuiPipelineGraph.java:1069)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:262)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:91)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5894)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1656)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:5109)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4546)
at org.apache.hop.ui.hopgui.HopGui.open(HopGui.java:572)
at org.apache.hop.ui.hopgui.HopGui.main(HopGui.java:430)
at org.apache.hop.ui.hopgui.HopCommandGui.run(HopCommandGui.java:57)
at picocli.CommandLine.executeUserObject(CommandLine.java:2045)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2469)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2461)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2423)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2425)
at picocli.CommandLine.execute(CommandLine.java:2174)
at org.apache.hop.hop.Hop.main(Hop.java:129)
Issue Priority
Priority: 1
Issue Component
Component: Transforms
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackNo fields configured for Bug.