Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Commandline in shell having issue when importing jobs with joblets

Hi,

When trying to import items into a project, with the commandline in shell mode, I'm having an issue (see dump below).
Note : these items are using joblets.
My first thinking is the commandline, in shell mode, does not have any swt component loaded.
My second thinking is : these jobs were developped on 32 bit windows platform and the project is now carrying 32 bits swt libs.
Not quite convinced ...

But I'm quite puzzled on how to fix that ...

Any idea, please ?

Thanks

Vince

Ps : I'm quite sure with my commandline shell scripts as they are running for years without any issue.


at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:66)
        at org.talend.commandline.command.CommandConsumer.execute(CommandConsumer.java:35)
        at org.talend.commandline.cli.CommandLineHandler.process(CommandLineHandler.java:253)
        at org.talend.commandline.cli.CommandLineHandler.execute(CommandLineHandler.java:183)
        at org.talend.commandline.cli.CommandLineHandler.execute(CommandLineHandler.java:158)
        at org.talend.commandline.mode.ShellServerHandler.start(ShellServerHandler.java:51)
        at org.talend.commandline.mode.ShellCommandLine.start(ShellCommandLine.java:24)
        at org.talend.commandline.cli.CommandLineHandler.executeClientCommand(CommandLineHandler.java:553)
        at org.talend.commandline.cli.CommandLineHandler.process(CommandLineHandler.java:232)
        at org.talend.commandline.cli.CommandLineHandler.execute(CommandLineHandler.java:183)
        at org.talend.commandline.cli.CommandLineHandler.execute(CommandLineHandler.java:170)
        at org.talend.commandline.mode.NormalCommandLine.start(NormalCommandLine.java:32)
        at org.talend.commandline.CommandLineApplication.start(CommandLineApplication.java:140)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Caused by: java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:197)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:174)
        at org.eclipse.swt.internal.C.<clinit>(C.java:21)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
        at org.eclipse.swt.widgets.Display.<clinit>(Display.java:132)
        at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:227)
        at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:205)
        at org.talend.core.model.repository.RepositoryViewObject.getJobletCustomIcon(RepositoryViewObject.java:180)
        at org.talend.core.model.repository.RepositoryViewObject.getProperty(RepositoryViewObject.java:301)
        at org.talend.repository.imports.ImportItemUtil.checkItem(ImportItemUtil.java:344)
        at org.talend.repository.imports.ImportItemUtil.populateItems(ImportItemUtil.java:1211)
        at org.talend.commandline.util.ItemsHelper.importItems(ItemsHelper.java:149)
        at org.talend.commandline.command.CommandProcessor.importItems(CommandProcessor.java:335)
        at org.talend.commandline.command.ExtensionCommandSwitch.caseImportItemsCommand(ExtensionCommandSwitch.java:85)
        at org.talend.commandline.client.command.extension.AbstractExtensionCommandSwitch.doSwitch(AbstractExtensionCommandSwitch.java:37)
        at org.talend.commandline.command.CommandProcessorSwitch.caseExtensionCommand(CommandProcessorSwitch.java:161)
        at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(CommandAbstractSwitch.java:70)
        at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:57)
        ... 25 more

Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hi
Caused by: java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM

It seems you are now on a 64-bit machine. We need more information to investigate if it was a bug, can you please report a ticket on our support portal, our colleague from support team will follow up your issue.
Best regards
Shong