IBM Support

IllegalStateException: "Workbench has not been created yet"

Troubleshooting


Problem

When using the product without the Eclipse user interface, such as using Ant tasks or JUnit which start from the command prompt, during the server start process an illegal state exception occurs stating that the workbench has not been created.

Symptom

An example of the IllegalStateException message thrown in the console output:
java.lang.IllegalStateException: Workbench has not been created yet.
    at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:92)
    at org.eclipse.wst.server.ui.internal.SaveEditorPrompter.saveAllEditors(SaveEditorPrompter.java:26)
    at org.eclipse.wst.server.core.internal.Server.start(Server.java:1788)

    ...
Tip: Alternatively, the exception message is written in the .log file available in the .metadata directory of your workspace directory.

[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Server Tooling","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.5.5.3","Edition":"All Editions","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
16 June 2026

UID

swg21460043