When user try to start bwdesign below error appear on console
$ ./bwdesign An error has occurred. See the log file /home/tibco/workspace/.metadata/.log.
.log file shows below exception.
<-------
!ENTRY org.eclipse.osgi 4 0 2020-09-17 10:32:30.397 !MESSAGE Application error !STACK 1 org.eclipse.core.runtime.CoreException: Plug-in com.tibco.bw.core.design.project was unable to load class com.tibco.bw.core.design.project.command.BwDesignApplication. at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
Caused by: java.lang.ClassNotFoundException: An error occurred while automatically activating bundle com.tibco.bw.core.design.project (92). at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:116) at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:531)
Caused by: org.osgi.framework.BundleException: Exception in com.tibco.bw.core.design.project.PluginActivator.start() of bundle com.tibco.bw.core.design.project. at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:792) at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)
Caused by: java.lang.NoClassDefFoundError: org/eclipse/pde/ui/IFieldData at com.tibco.bw.core.design.project.PluginActivator.initiateProject(PluginActivator.java:186) at com.tibco.bw.core.design.project.PluginActivator.start(PluginActivator.java:170)
Caused by: java.lang.ClassNotFoundException: An error occurred while automatically activating bundle org.eclipse.pde.ui (891). at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:116) at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:531)
Caused by: org.osgi.framework.BundleException: Exception in org.eclipse.pde.internal.ui.PDEPlugin.start() of bundle org.eclipse.pde.ui. at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:792) at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)
Caused by: org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed] at org.eclipse.swt.SWT.error(SWT.java:4467) at org.eclipse.swt.widgets.Display.createDisplay(Display.java:934) ------>
Issue/Introduction
bwdesign does not start and throws exception
Environment
Unix
Resolution
"org.eclipse.swt.SWTError: No more handles" occurs if you run bwdesign when there is no X server running and X11 forwarding has not been enabled in your .ssh/config file.
To resolve this issue you need to log into the machine with the -X option like this..
ssh -X user@host
..and set "ForwardX11 yes" in your ~/.ssh/config.
Additional Information
Some general explanations and solutions are described here: