Bug 553779 - The project description file (.project) for 'NAME OF THE PROJECT' is missing.
Summary: The project description file (.project) for 'NAME OF THE PROJECT' is missing.
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 4.13   Edit
Hardware: PC Windows 10
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-04 13:16 EST by Victor Medion CLA
Modified: 2019-12-05 03:21 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Medion CLA 2019-12-04 13:16:07 EST
When i create a new branch for github and i want to checkout back to master branch i get the following error message and unable to open the project. 

The project description file (.project) for 'NAME OF THE PROJECT' is missing. This file contains important information about the project.  The project will not function properly until this file is restored.

If i delete the project from the workspace and import it again everything is fine but when i checkout to another branch it works fine too. When i want to go back to master branch i keep getting the above error message again. 



java.lang.Exception: The project description file (.project) for 'NAME OF THE PROJECT' is missing.  This file contains important information about the project.  The project will not function properly until this file is restored.
	at org.eclipse.core.internal.resources.ResourceException.provideStackTrace(ResourceException.java:42)
	at org.eclipse.core.internal.resources.ResourceException.<init>(ResourceException.java:38)
	at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:907)
	at org.eclipse.core.internal.resources.SaveManager.restoreMetaInfo(SaveManager.java:888)
	at org.eclipse.core.internal.resources.SaveManager.restore(SaveManager.java:763)
	at org.eclipse.core.internal.resources.Project.open(Project.java:1056)
	at org.eclipse.core.internal.resources.Project.open(Project.java:1102)
	at org.eclipse.ui.actions.OpenResourceAction$1.doOpenWithReferences(OpenResourceAction.java:233)
	at org.eclipse.ui.actions.OpenResourceAction$1.runInWorkspace(OpenResourceAction.java:279)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:42)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Comment 1 Vikas Chandra CLA 2019-12-04 22:23:46 EST
Moving for platform resource for comments !
Comment 2 Thomas Wolf CLA 2019-12-05 03:21:51 EST
@Victor: How exactly do you create and switch branches? In EGit or on the command line?

If on the command-line, this is a duplicate of bug 485956.

If in EGit: is the Github repository public so that we could try to reproduce?