Application Error displayed when executing Rational Software Analyzer through the command line

Technote (troubleshooting)


Attempts to run the command "--launcher.suppressErrors" from the command line results in the application error "Eclipse: An error has occurred. See the log file /home/user/IBM/RSAREE/workspace/.metadat/,log."


Executing Rational Software Analyzer through the command line using the command...


...results in a crash revealing the following application error:

"Eclipse: An error has occurred. See the log file /home/user/IBM/RSAREE/workspace/.metadat/,log."

The references log contains the exception:

!ENTRY org.eclipse.osgi 4 0 2010-11-17 16:14:12.180

!MESSAGE Application error


org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]

at org.eclipse.swt.SWT.error(Unknown Source)

at org.eclipse.swt.widgets.Display.createDisplay(Unknown Source)

at org.eclipse.swt.widgets.Display.create(Unknown Source)

at<init>(Unknown Source)

at org.eclipse.swt.widgets.Display.<init>(Unknown Source)

at org.eclipse.swt.widgets.Display.<init>(Unknown Source)

at org.eclipse.ui.internal.Workbench.createDisplay(Unknown Source)

at org.eclipse.ui.PlatformUI.createDisplay(Unknown Source)

at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(Unknown Source)

at org.eclipse.ui.internal.ide.application.IDEApplication.start(Unknown Source)

at Source)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)

at Source)

at Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source)

at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)

at Source)

at org.eclipse.equinox.launcher.Main.main(Unknown Source)


When executing in command line, Rational Software Analyzer is loading some plug-ins in the GUI thread.


Red Hat Linux, command line

Resolving the problem

To resolve this issue, perform the following steps:

  1. In terminal, execute the following commands:

    export DISPLAY=:1

    Xvfb :1 -ac -screen 0 1024x768x8 &

  2. From that terminal execute the --launcher.suppressErrors command.

Rate this page:

(0 users)Average rating

Document information

More support for:

Rational Software Analyzer Developer Edition
Command Line Support

Software version:

7.0.1, 7.1,

Operating system(s):


Reference #:


Modified date:


Translate my page

Machine Translation

Content navigation