mattcasters opened a new issue, #6947:
URL: https://github.com/apache/hop/issues/6947

   ### 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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to