mattcasters opened a new issue, #6372:
URL: https://github.com/apache/hop/issues/6372
### Apache Hop version?
2.17.0
### Java version?
openjdk 21.0.9 2025-10-21 LTS
### Operating system
Linux
### What happened?
I configured a new Minio Connection in the metadata called `aws` and browsed
to my testing bucket. I tried to open a small text file from this bucket,
sized 904 bytes. This file size is shown in the "File Open" dialog. The error
below is given:
```
org.apache.hop.core.exception.HopException:
Error opening file 'aws:///mattcasters/state-data.txt' in a new tab in the
Explorer perspective
Could not determine the size of
"file:///home/mcaster1/Projects/mattcasters/hop/assemblies/client/target/hop/aws:/mattcasters/state-data.txt"
because it is not a file.
at
org.apache.hop.ui.hopgui.perspective.explorer.file.types.base.BaseExplorerFileType.openFile(BaseExplorerFileType.java:222)
at
org.apache.hop.ui.hopgui.perspective.explorer.file.types.base.BaseExplorerFileType.openFile(BaseExplorerFileType.java:40)
at
org.apache.hop.ui.hopgui.delegates.HopGuiFileDelegate.fileOpen(HopGuiFileDelegate.java:117)
at
org.apache.hop.ui.hopgui.delegates.HopGuiFileDelegate.fileOpen(HopGuiFileDelegate.java:100)
at
org.apache.hop.ui.hopgui.delegates.HopGuiFileDelegate.fileOpen(HopGuiFileDelegate.java:93)
at org.apache.hop.ui.hopgui.HopGui.menuFileOpen(HopGui.java:768)
at
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at
org.apache.hop.ui.hopgui.HopGuiKeyHandler.handleKey(HopGuiKeyHandler.java:158)
at
org.apache.hop.ui.hopgui.HopGuiKeyHandler.keyPressed(HopGuiKeyHandler.java:92)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:209)
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.Widget.sendEvent(Widget.java:1682)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1665)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1704)
at org.eclipse.swt.widgets.Widget.gtk3_key_press_event(Widget.java:1000)
at
org.eclipse.swt.widgets.Control.gtk3_key_press_event(Control.java:4024)
at
org.eclipse.swt.widgets.Composite.gtk3_key_press_event(Composite.java:919)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2639)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:6854)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:6201)
at org.eclipse.swt.internal.gtk3.GTK3.gtk_main_do_event(Native Method)
at org.eclipse.swt.widgets.Display.eventProc(Display.java:1624)
at org.eclipse.swt.internal.gtk3.GTK3.gtk_main_iteration_do(Native
Method)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4543)
at org.apache.hop.ui.hopgui.HopGui.open(HopGui.java:514)
at org.apache.hop.ui.hopgui.HopGui.main(HopGui.java:387)
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)
Caused by: org.apache.commons.vfs2.FileSystemException: Could not determine
the size of
"file:///home/mcaster1/Projects/mattcasters/hop/assemblies/client/target/hop/aws:/mattcasters/state-data.txt"
because it is not a file.
at
org.apache.commons.vfs2.provider.DefaultFileContent.getSize(DefaultFileContent.java:648)
at
org.apache.hop.ui.hopgui.perspective.explorer.file.types.base.BaseExplorerFileType.openFile(BaseExplorerFileType.java:174)
... 38 more
```
### Issue Priority
Priority: 1
### Issue Component
Component: VFS
--
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]