DZone
IoT Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > IoT Zone > Fixing an Eclipse Workspace That Does Not Open Anymore

Fixing an Eclipse Workspace That Does Not Open Anymore

Has your Eclipse workspace just stopped loading? In this post, we take a look at how you can correct this issue without having to create a new workspace.

Erich Styger user avatar by
Erich Styger
·
Oct. 04, 17 · IoT Zone · Tutorial
Like (3)
Save
Tweet
25.80K Views

Join the DZone community and get the full member experience.

Join For Free

It can happen to everyone using Eclipse: launching Eclipse with a workspace, and then it is stuck loading it. As a last resort, create a new workspace and go on? Possible, but painful, right? For some time, I have this strange issue nagging me. From time to time, I’m not able to switch to a workspace that worked before. The IDE starts loading, but then is stuck:

Eclipse Oxygen Stuck Loading Workspace

Eclipse Oxygen Stuck Loading Workspace

The problem happens to me for multiple versions of Eclipse, including Oxygen (4.7). What I have found out is that it is because of some views open in the workspace, and they somehow might block the Eclipse startup. For example, the Processor Expert ‘Component Repository’ view can cause this in Eclipse Neon (4.6) or Oxygen (4.7).

Components Library View in Eclipse

Components Library View in Eclipse

So the usual workaround was to open that workspace with another instance of Eclipse (not having that view), closing that view in the Eclipse Perspective, and then I was able to load that workspace again.

Knowing that this has something to do with the perspectives and views, and thanks to a tip (thank you, Livio!), I have finally found the solution to unblock such a workspace.

Inside the workspace .metadata folder, there is a file named workbench.xmi:

.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi.


This file stores the perspective window arrangements. So after deleting that file, the IDE windows are reset, and I’m able to load that workspace again.

I hope this tip is useful for everyone having such an occasional problem.

Happy Reloading!

Workspace Eclipse

Published at DZone with permission of Erich Styger, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Deployment of Low-Latency Solutions in the Cloud
  • Choosing Between REST and GraphQL
  • How to Upload/Download a File To and From the Server
  • How To Integrate Third-Party Login Systems in Your Web App Using OAuth 2.0

Comments

IoT Partner Resources

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo