-
Notifications
You must be signed in to change notification settings - Fork 434
Description
Apache Hop version?
2.15
Java version?
openjdk version "17.0.15" 2025-04-15 OpenJDK Runtime Environment (build 17.0.15+6-Debian-1deb12u1) OpenJDK 64-Bit Server VM (build 17.0.15+6-Debian-1deb12u1, mixed mode, sharing)
Operating system
Linux
What happened?
I'm running a debian bookworm / LXDE 64-bit VirtualBox VM and it's running on the X11 windowing system.
When running ./hop-gui.sh I get a lot of errors all having to do with SwtSvgImageUtil. The actual Java error is the following:
2025/09/12 15:12:08 - SwtSvgImageUtil - ERROR: Error loading image from location 'mysql.svg'
2025/09/12 15:12:08 - SwtSvgImageUtil - ERROR: org.apache.hop.core.exception.HopException:
2025/09/12 15:12:08 - SwtSvgImageUtil - Error loading SVG file mysql.svg
2025/09/12 15:12:08 - SwtSvgImageUtil -
2025/09/12 15:12:08 - SwtSvgImageUtil -
2025/09/12 15:12:08 - SwtSvgImageUtil - org.apache.commons.vfs2.FileNotFoundException: Could not read from "file:///media/sf_Portabili/hop/mysql.svg" because it is not a file.
2025/09/12 15:12:08 - SwtSvgImageUtil - Could not read from "file:///media/sf_Portabili/hop/mysql.svg" because it is not a file.
2025/09/12 15:12:08 - SwtSvgImageUtil -
2025/09/12 15:12:08 - SwtSvgImageUtil - Could not read from "file:///media/sf_Portabili/hop/mysql.svg" because it is not a file.
2025/09/12 15:12:08 - SwtSvgImageUtil -
2025/09/12 15:12:08 - SwtSvgImageUtil -
2025/09/12 15:12:08 - SwtSvgImageUtil - at org.apache.hop.core.svg.SvgCache.loadSvg(SvgCache.java:158)
2025/09/12 15:12:08 - SwtSvgImageUtil - at org.apache.hop.ui.util.SwtSvgImageUtil.loadFromClassLoader(SwtSvgImageUtil.java:198)
2025/09/12 15:12:08 - SwtSvgImageUtil - at org.apache.hop.ui.util.SwtSvgImageUtil.getUniversalImageInternal(SwtSvgImageUtil.java:152)
2025/09/12 15:12:08 - SwtSvgImageUtil - at org.apache.hop.ui.util.SwtSvgImageUtil.getUniversalImage(SwtSvgImageUtil.java:174)
2025/09/12 15:12:08 - SwtSvgImageUtil - at org.apache.hop.ui.core.gui.GuiResource.getImage(GuiResource.java:1479)
2025/09/12 15:12:08 - SwtSvgImageUtil - at org.apache.hop.ui.core.gui.GuiResource.getImage(GuiResource.java:1455)
2025/09/12 15:12:08 - SwtSvgImageUtil - at org.apache.hop.ui.core.gui.GuiResource.loadPluginImage(GuiResource.java:881)
2025/09/12 15:12:08 - SwtSvgImageUtil - at org.apache.hop.ui.core.gui.GuiResource.loadDatabaseImages(GuiResource.java:938)
2025/09/12 15:12:08 - SwtSvgImageUtil - at org.apache.hop.ui.core.gui.GuiResource.getResources(GuiResource.java:401)
2025/09/12 15:12:08 - SwtSvgImageUtil - at org.apache.hop.ui.core.gui.GuiResource.(GuiResource.java:274)
2025/09/12 15:12:08 - SwtSvgImageUtil - at org.apache.hop.ui.core.gui.GuiResource.(GuiResource.java:268)
2025/09/12 15:12:08 - SwtSvgImageUtil - at org.apache.hop.ui.core.gui.GuiResourceImpl.getInstanceInternal(GuiResourceImpl.java:28)
2025/09/12 15:12:08 - SwtSvgImageUtil - at org.apache.hop.ui.core.gui.GuiResource.getInstance(GuiResource.java:332)
2025/09/12 15:12:08 - SwtSvgImageUtil - at org.apache.hop.ui.hopgui.HopGui.open(HopGui.java:384)
2025/09/12 15:12:08 - SwtSvgImageUtil - at org.apache.hop.ui.hopgui.HopGui.main(HopGui.java:364)
2025/09/12 15:12:08 - SwtSvgImageUtil - Caused by: org.apache.hop.core.exception.HopFileException:
2025/09/12 15:12:08 - SwtSvgImageUtil -
2025/09/12 15:12:08 - SwtSvgImageUtil - org.apache.commons.vfs2.FileNotFoundException: Could not read from "file:///media/sf_Portabili/hop/mysql.svg" because it is not a file.
2025/09/12 15:12:08 - SwtSvgImageUtil - Could not read from "file:///media/sf_Portabili/hop/mysql.svg" because it is not a file.
2025/09/12 15:12:08 - SwtSvgImageUtil -
**** and more ***
The error is NOT blocking, but hop-gui starts very slowly and when executing a workflow the same error was showed in the logging pane.
I have same error running hop-gui.bat on a windows 10 PRO PC with Microsoft jdk-17.0.13.11-hotspot (HOP_JAVA_HOME = C:\Program Files\Microsoft\jdk-17.0.13.11-hotspot)
Searching on github I found bug 3082 that is very similar, but now I'm not able to check if openjdk is running in headless mode or not to exclude same reason.
Issue Priority
Priority: 2
Issue Component
Component: Hop Gui