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.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21677309