Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.0
Description
With the 2.0.0 tag of the hop-web container, when I use Tools --> Generate a Hop fat jar, it fails because it cannot find a directory named libswt/linux/x86_64
If I create that directory (empty) inside the container, in /usr/local/tomcat, the JAR is generated (although it looks like it is missing some JARs that are required for Dataflow; I am reporting that problem in a separate issue).
Full stacktrace below:
java.io.UncheckedIOException: libswt/linux/x86_64
at org.apache.commons.io.FileUtils.listFiles(FileUtils.java:2153)
at org.apache.hop.beam.gui.HopBeamGuiPlugin.findInstalledJarFilenames(HopBeamGuiPlugin.java:197)
at org.apache.hop.beam.gui.HopBeamGuiPlugin.menuToolsFatJar(HopBeamGuiPlugin.java:108)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.hop.ui.core.gui.GuiMenuWidgets.lambda$addMenuWidgets$0(GuiMenuWidgets.java:129)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:109)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:687)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:594)
at org.eclipse.swt.widgets.Display.executeNextEvent(Display.java:1216)
at org.eclipse.swt.widgets.Display.runPendingMessages(Display.java:1197)
at org.eclipse.swt.widgets.Display.safeReadAndDispatch(Display.java:1180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1172)
at org.eclipse.rap.rwt.application.AbstractEntryPoint.createUI(AbstractEntryPoint.java:69)
at org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:177)
at org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:290)
at java.base/java.lang.Thread.run(Thread.java:829)
at org.eclipse.rap.rwt.internal.lifecycle.UIThread.run(UIThread.java:107)
Caused by: java.nio.file.NoSuchFileException: libswt/linux/x86_64
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:149)
at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
at java.base/java.nio.file.Files.readAttributes(Files.java:1764)
at java.base/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:225)
at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:276)
at java.base/java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:322)
at java.base/java.nio.file.FileTreeIterator.<init>(FileTreeIterator.java:71)
at java.base/java.nio.file.Files.walk(Files.java:3825)
at org.apache.commons.io.file.PathUtils.walk(PathUtils.java:1044)
at org.apache.commons.io.FileUtils.streamFiles(FileUtils.java:2971)
at org.apache.commons.io.FileUtils.listFiles(FileUtils.java:2151)
... 19 more
Attachments
Issue Links
- links to