IBM Support

Workaround if Decision Optimization Center IDE cannot be started due to an error in log files

Troubleshooting


Problem

How to resolve errors preventing IDE from starting up, such as "SWTException: Invalid thread access"?

Resolving The Problem

Sometimes you cannot start Decision Optimization Center IDE and the IDE asks you to review errors in logs. When you see this error, usually you can workaround the issue by launching Decision Optimization Center IDE with eclipse option "-clean" as administrator. That will clean up the error. Once the error is cleared, you can continue using the IDE without the "-clean" option or being launched as administrator.

There are three ways to use option "-clean": command line, shortcut and INI file.

Command Line

1) Start elevated "Command Prompt" by right clicking it and selecting "Run as Administrator".

2) Use DOS command CD to enter the directory of Decision Optimization Center IDE. The directory should be <ODME38>\Developer\ide\eclipse

3) Start the IDE by using "eclipse -clean".

Shortcut

1) Right click the shortcut to "Eclipse for Decision Optimization Center", and select "Properties".

2) In the textbox for "Target", append string "-clean" to its end (outside quotation marks, if any), and click OK.

3) Right click the shortcut and select "Run as Administrator".

INI file


1) Open file <ODME38_x86>\Developer\ide\eclipse\eclipse.ini in an text editor.
2) Insert a line before "-vm" and add "-clean" to the first line.
3) Start Eclipse in elevated command prompt or right click the shortcut and select "Run as Administrator".

Note that you can keep "-clean" option in the shortcut or INI file. It just slows down the startup of IDE a bit, with no other side effects.

Note Here are the known errors that can be resolved by using the -clean option:

* SWTException: Invalid thread access

* java.lang.IllegalStateException: Unable to acquire application service.

[{"Product":{"code":"SS6MYV","label":"IBM ILOG ODM Enterprise"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"--","Platform":[{"code":"PF033","label":"Windows"}],"Version":"3.8;3.7;3.6.0.1;3.6","Edition":"All Editions;Edition Independent","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018

UID

swg21677309