Skip to main content
Participating Frequently
April 2, 2010
Question

Workspace in use or Cannot be Created

  • April 2, 2010
  • 4 replies
  • 13509 views

Is it possible to setup CFBuilder so files opened in Windows explorer open in the currently open instance.  The final release tries to spawn a new instance and displays "Workspace in use or Cannot be Created".  I got around this in Beta's but i can't find a workaround in the final release.

This topic has been closed for replies.

4 replies

Participant
August 28, 2011

On a related note....sorry just realized the OP was trying to solve a slightly different problem...

If you run into the "Workspace in use or cannot be created" due to an eclipse crash, this should get you out of the bind:

1) Ensure that the eclipse processes are really gone.

I killed everything that had java and eclipse (scorched earth policy ;-)  YMMV) before I got this workaround to work

You won't need to do this if you've rebooted since the failure started to occur

2) Delete the lock  file: <path to eclipse workspace>/.metadata/.lock

3) Restart eclipse ;-)

4) Happy coding

Participant
December 28, 2012

Syndrome: FlashBuilder 4.6 refuses to access your workspace under Windows7, even after deleting the

lock file (.metadata/.lock).

Solution:

1. Click "Cancel" when prompted to select a different workspace (doing so wouldn't get you nowhere, anyway);

2. Start FlashBuilder with administrator rights. This will, in fact create a new workspace to start in.

3. Go to the "File" menu, select "Switch Workspace", select "Other", type the correct path to your workspace,

   expand "Copy Settings", tick both checkboxes, click "OK".

4. Wait until the other workspace loads.

5. Exit Flash Builder, wait until processes end, and start it anew, WITHOUT administrator rights. It should

   work now. You may delete now the new workspace Flash Builder has created when started with administrator

   rights.

  

Note: This may or may not work, since, well, it's Adobe software :-(

Known Participant
August 6, 2010

I will also pipe in and state that this is something that I have seen a few times, more

so on Windows 7 than any other version of Windows.

The problem is that there are times when you think you have closed ColdFusion Builder / Eclipse down, that it in fact is still actually running.

So when you go and try to use the same workspace you are presented with the message that it is in use or cannot be created.

The solution is simple, if this is the case with people then it is just a matter of killing that instance of Eclipse that is still running.

Regards,

Andrew Scott

http://www.andyscott.id.au

Participating Frequently
August 7, 2010

Hi Andrew.

Yep, that's what I would have thought.  Not only did killing Eclipse not solve the issue, re-starting the Win 7 box didn't either, so the lock, where ever it is, was persisted.  From memory, the last time this occurred, (some short time after re-installing Flash Builder / CF Builder), I re-started FB as Admin and this seemed to solve the issue.  I can't swear to this, it was a little while ago.

It's worth mentioning that my setup may be contributing to this.  I'm working on a client job which involves running a Win XP instance in a VM.  I connect to this from the host via a mapped drive to a share inside the VM.  FB does have issues if I have a project open on the VM filespace and forget to close my dev environment on the host prior to shutting down the VM instance.  Understandable that this is a problem, but not very robust if this locks up the workspace in such a way that I can't access any projects (including to the host file space). 

Cheers

Peter

gms46Author
Participating Frequently
August 19, 2010

Hmmm the whole cannot open workspace came back for me out of the nowhere, after a going away post-update, i rebuilt my workspace and did -clean start as admin, i no longer get the whole Workspace is in use message but the file does not open either. I sure would like a refund.

Participating Frequently
July 22, 2010

I THINK I've got a workaround for this utterly annoying problem (or, it just gave up and came good, still worth a try if you're having this issue)

My CF Builder is installed as plugin to  FlashBuilder 4 on Win 7.  I got the same as described, and spent ages looking for a lock file or something.

Finally, in File/Switch Workspace/Other.. with the default workspace selected in the drop down (the one that was giving this error when I attempted to open it),  under the Copy Settings check boxes (expanded), I selected both options (Workbench Layout and Working Sets),  then clicked OK.  This loaded the workspace, sort of, in that colour coding and code completion etc wasn't working.  I closed and restarted Flash Builder, and it now seems to be OK again. 

Peter Robertson

gms46Author
Participating Frequently
July 26, 2010

Thanks for the response have you updated to latest version, for me update 1 has resolved this issue [http://www.adrocknaphobia.com/post.cfm/coldfusion-builder-update-1-available].

Inspiring
July 26, 2010

gms46 wrote:

Thanks for the response have you updated to latest version, for me update 1 has resolved this issue [http://www.adrocknaphobia.com/post.cfm/coldfusion-builder-update-1-available].

It didn't fix it for me.

--

Adam

Inspiring
April 2, 2010

As it happens I asked this very question on another forum just yesterday, and the answer came through forthwith.

If you have a look in your home directory, there'll be a subdirectory ".eclipse".  Delete it, and start CFB with the -clean parameter, and that should sort it out.

Works on OS/X, Win7 (according to the person who pointed me in the right direction for this) & Win Vista (my own environment).

HTH.

--
Adam

Inspiring
April 7, 2010

Works on OS/X, Win7 (according to the person who pointed me in the right direction for this) & Win Vista (my own environment).

NB: does not work on Windows7 (Starter Ed.) for me.

--
Adam

gms46Author
Participating Frequently
April 7, 2010

Thanks Adam it does not seem to work for me on WIN7 Home Premium for me. Also are you using a standalone or plugin install?

Thanks

  George S.