Project: talendesb
Issue TESB-8953: With PublishRoute command on Linux RedHat 6.2 we are getting SWT error
When i try to publish route from commandline ESB i am getting the error below: 1) Error related to DIPLAY: getCommandStatus 2 FAILED at Thu Mar 28 11:09:33 PDT 2013 exception : org.talend.commandline.client.command.CommandStatusWrapException: java.lang.Exception: java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.swt.widgets.Display at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:66) at org.talend.commandline.command.CommandConsumer.execute(CommandConsumer.java:35) at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(ServerCommandLine.java:139) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.swt.widgets.Display at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.runEventLoop(EventLoopProgressMonitor.java:113) at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.done(EventLoopProgressMonitor.java:82) at org.talend.repository.ui.wizards.exportjob.action.JobExportAction.run(JobExportAction.java:137) at org.talend.camel.designer.ui.wizards.actions.JavaCamelJobScriptsExportWSAction.exportOsgiBundle(JavaCamelJobScriptsExportWSAction.java:206) at org.talend.camel.designer.ui.wizards.actions.JavaCamelJobScriptsExportWSAction.exportKarOsgiBundles(JavaCamelJobScriptsExportWSAction.java:128) at org.talend.camel.designer.ui.wizards.actions.JavaCamelJobScriptsExportWSAction.run(JavaCamelJobScriptsExportWSAction.java:93) at org.talend.camel.commandline.util.RouteHandler.publish(RouteHandler.java:106) at org.talend.camel.commandline.command.PublishRouteExecuteCommand.execute(PublishRouteExecuteCommand.java:87) at org.talend.commandline.command.ExtensionCommandSwitch.caseExtensionServerCommand(ExtensionCommandSwitch.java:145) at org.talend.commandline.client.command.extension.AbstractExtensionCommandSwitch.doSwitch(AbstractExtensionCommandSwitch.java:31) 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) 2) ERROR related to GTK: exception : org.talend.commandline.client.command.CommandStatusWrapException: java.lang.Exception: org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed] 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:139) 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:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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: org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed] at org.eclipse.swt.SWT.error(SWT.java:4109) at org.eclipse.swt.widgets.Display.createDisplay(Display.java:902) at org.eclipse.swt.widgets.Display.create(Display.java:890) at org.eclipse.swt.graphics.Device.(Device.java:154) at org.eclipse.swt.widgets.Display.(Display.java:499) at org.eclipse.swt.widgets.Display.(Display.java:490) at org.eclipse.swt.widgets.Display.getDefault(Display.java:1693) at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.runEventLoop(EventLoopProgressMonitor.java:113) at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.isCanceled(EventLoopProgressMonitor.java:97) at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:539) at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:910) at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:894) at org.talend.repository.ui.wizards.exportjob.scriptsmanager.JobScriptsManager.generateJobFiles(JobScriptsManager.java:599) at org.talend.repository.ui.wizards.exportjob.scriptsmanager.esb.JobJavaScriptOSGIForESBManager.getExportResources(JobJavaScriptOSGIForESBManager.java:176) at org.talend.repository.ui.wizards.exportjob.action.JobExportAction.exportJobScript(JobExportAction.java:199) at org.talend.repository.ui.wizards.exportjob.action.JobExportAction.run(JobExportAction.java:122) at org.talend.camel.designer.ui.wizards.actions.JavaCamelJobScriptsExportWSAction.exportOsgiBundle(JavaCamelJobScriptsExportWSAction.java:206) at org.talend.camel.designer.ui.wizards.actions.JavaCamelJobScriptsExportWSAction.exportKarOsgiBundles(JavaCamelJobScriptsExportWSAction.java:128) at org.talend.camel.designer.ui.wizards.actions.JavaCamelJobScriptsExportWSAction.run(JavaCamelJobScriptsExportWSAction.java:93) at org.talend.camel.commandline.util.RouteHandler.publish(RouteHandler.java:106) at org.talend.camel.commandline.command.PublishRouteExecuteCommand.execute(PublishRouteExecuteCommand.java:87) at org.talend.commandline.command.ExtensionCommandSwitch.caseExtensionServerCommand(ExtensionCommandSwitch.java:145) at org.talend.commandline.client.command.extension.AbstractExtensionCommandSwitch.doSwitch(AbstractExtensionCommandSwitch.java:31) 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
Story points: 2