You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hop.apache.org by "gustavosaquino (via GitHub)" <gi...@apache.org> on 2024/09/12 19:09:59 UTC
[I] [Bug]: HOP-WEB - Error in file picker when HOP_CONFIG_FOLDER is changed from default value ${CATALINA_HOME}/webapps/hop/config (hop)
gustavosaquino opened a new issue, #4315:
URL: https://github.com/apache/hop/issues/4315
### Apache Hop version?
2.9
### Java version?
JDK 11
### Operating system
Linux
### What happened?
When the docker image is configured to start with a value for HOP_CONFIG_FOLDER different from the image default, HOP Web starts normally, but when trying to use the fiel picker of main toolbar or any workflow or transformation plugin, the following error is presented:
`GUI - ERROR: Unable to call method menuFileOpen in class org.apache.hop.ui.hopgui.HopGui : null`
`GUI - ERROR: java.lang.reflect.InvocationTargetException`
`GUI - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)`
`GUI - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)`
`GUI - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)`
`GUI - at java.base/java.lang.reflect.Method.invoke(Method.java:566)`
`GUI - at org.apache.hop.ui.core.gui.BaseGuiWidgets.lambda$getListener$1(BaseGuiWidgets.java:213)`
`GUI - at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:109)`
`GUI - at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:687)`
`GUI - at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:594)`
`GUI - at org.eclipse.swt.widgets.Display.executeNextEvent(Display.java:1216)`
`GUI - at org.eclipse.swt.widgets.Display.runPendingMessages(Display.java:1197)`
`GUI - at org.eclipse.swt.widgets.Display.safeReadAndDispatch(Display.java:1180)`
`GUI - at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1172)`
`GUI - at org.eclipse.rap.rwt.application.AbstractEntryPoint.createUI(AbstractEntryPoint.java:69)`
`GUI - at org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:177)`
`GUI - at org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:290)`
`GUI - at java.base/java.lang.Thread.run(Thread.java:829)`
`GUI - at org.eclipse.rap.rwt.internal.lifecycle.UIThread.run(UIThread.java:107)`
`GUI - Caused by: java.lang.NoSuchMethodError: 'void org.eclipse.swt.widgets.FileDialog.setFilterNames(java.lang.String[])'`
`GUI - at org.apache.hop.ui.core.dialog.NativeFileDialog.setFilterNames(NativeFileDialog.java:42)`
`GUI - at org.apache.hop.ui.core.dialog.BaseDialog.presentFileDialog(BaseDialog.java:245)`
`GUI - at org.apache.hop.ui.core.dialog.BaseDialog.presentFileDialog(BaseDialog.java:122)`
`GUI - at org.apache.hop.ui.hopgui.delegates.HopGuiFileDelegate.fileOpen(HopGuiFileDelegate.java:80)`
`GUI - at org.apache.hop.ui.hopgui.HopGui.menuFileOpen(HopGui.java:708)`
`GUI - ... 17 more`
### Issue Priority
Priority: 1
### Issue Component
Component: Hop Web
--
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: issues-unsubscribe@hop.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug]: HOP-WEB - Error in file picker when HOP_CONFIG_FOLDER is changed from default value ${CATALINA_HOME}/webapps/hop/config (hop)
Posted by "gustavosaquino (via GitHub)" <gi...@apache.org>.
gustavosaquino commented on issue #4315:
URL: https://github.com/apache/hop/issues/4315#issuecomment-2473462960
I verified that failure happens when the HOP_USE_NATIVE_FILE_DIALOG variable is set to 'Y'. I'm not completely sure about that, but I believe the variable should be ignored in this case.
--
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: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug]: HOP-WEB - Error in file picker when HOP_CONFIG_FOLDER is changed from default value ${CATALINA_HOME}/webapps/hop/config (hop)
Posted by "hansva (via GitHub)" <gi...@apache.org>.
hansva commented on issue #4315:
URL: https://github.com/apache/hop/issues/4315#issuecomment-2473566016
setting that variable in a web browser context does not make sense
--
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: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug]: HOP-WEB - Error in file picker when HOP_CONFIG_FOLDER is changed from default value ${CATALINA_HOME}/webapps/hop/config (hop)
Posted by "gustavosaquino (via GitHub)" <gi...@apache.org>.
gustavosaquino closed issue #4315: [Bug]: HOP-WEB - Error in file picker when HOP_CONFIG_FOLDER is changed from default value ${CATALINA_HOME}/webapps/hop/config
URL: https://github.com/apache/hop/issues/4315
--
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: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org