Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » "Workspace is closed" [URGENT]
"Workspace is closed" [URGENT] [message #292765] Wed, 12 October 2005 07:19 Go to next message
Eclipse UserFriend
Originally posted by: vince.yahoo.com

I am trying to run my plugin as an application and I get the following
error,

java.lang.IllegalStateException: Workspace is closed.
at org.eclipse.core.resources.ResourcesPlugin.getWorkspace
ResourcesPlugin.java:320)

I call the method ResourcesPlugin.getWorkspace() at the line which is
pointed out by the exception. How do I resolve this
Re: "Workspace is closed" [URGENT] [message #292784 is a reply to message #292765] Wed, 12 October 2005 10:46 Go to previous messageGo to next message
Eclipse UserFriend
Vince wrote:
> I am trying to run my plugin as an application and I get the following
> error,
>
> java.lang.IllegalStateException: Workspace is closed.
> at org.eclipse.core.resources.ResourcesPlugin.getWorkspace
> ResourcesPlugin.java:320)
>
> I call the method ResourcesPlugin.getWorkspace() at the line which is
> pointed out by the exception. How do I resolve this
>

Are you running with a workspace? -data <workspace location>?

There were also previous threads that seemed to say calling something
like getDataLocation() would initialize enough stuff to get it working
.... you can search for them on google, just put site:dev.eclipse.org at
the beginning of your search (and I usually put news.eclipse as well).

later,
PW
Re: "Workspace is closed" [RESOLVED] [message #292786 is a reply to message #292784] Wed, 12 October 2005 10:59 Go to previous message
Eclipse UserFriend
Originally posted by: vince_tha_man.yaoo.com

I finally managed to resolve this...The Manifest.MF did not contain the
org.eclipse.core.resources in the Require-bundle. When i added this to the
manifest.MF it stopeed giving this error...took me almost a day to figure
this one out. Thanx for everyone who read this thread.

Vince
Previous Topic:Suggestion for 3.2 Update Manager
Next Topic:Re: SelectAll action use wrong editorPart.
Goto Forum:
  


Current Time: Fri Sep 19 02:56:12 EDT 2025

Powered by FUDForum. Page generated in 0.04578 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top