Workspace is closed exception when trying to get the workspace through ResourcesPlugin
Posted
by Jenny Smith
on Stack Overflow
See other posts from Stack Overflow
or by Jenny Smith
Published on 2009-06-07T17:30:19Z
Indexed on
2010/03/22
19:21 UTC
Read the original article
Hit count: 518
I get this error:
java.lang.IllegalStateException: Workspace is closed. at org.eclipse.core.resources.ResourcesPlugin.getWorkspace(ResourcesPlugin.java:339)
The code generating it is this:
IWorkspace ws = ResourcesPlugin.getWorkspace();
Can you please help with this problem?
© Stack Overflow or respective owner