Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restoring deleted files via git shows server side errors #109

Closed
fbricon opened this issue Dec 2, 2016 · 0 comments
Closed

Restoring deleted files via git shows server side errors #109

fbricon opened this issue Dec 2, 2016 · 0 comments
Assignees
Labels

Comments

@fbricon
Copy link
Collaborator

fbricon commented Dec 2, 2016

When a git-shared project has some deleted files, restoring them from the git view causes JLS to freak out.

Steps To Reproduce
  1. Open git shared project
  2. delete some java files
  3. Open the git view
  4. restore the java files
Current Result
[Error - 12:25:22 PM] 2 déc. 2016 12:24:37 Internal Error
No file system is defined for scheme: inmemory
org.eclipse.core.runtime.CoreException: No file system is defined for scheme: inmemory
	at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:49)
	at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:44)
	at org.eclipse.core.internal.filesystem.InternalFileSystemCore.getFileSystem(InternalFileSystemCore.java:65)
	at org.eclipse.core.internal.filesystem.InternalFileSystemCore.getStore(InternalFileSystemCore.java:107)
	at org.eclipse.core.filesystem.EFS.getStore(EFS.java:478)
	at org.eclipse.core.internal.localstore.FileSystemResourceManager.findLinkedResourcesPaths(FileSystemResourceManager.java:147)
	at org.eclipse.core.internal.localstore.FileSystemResourceManager.allPathsForLocationNonCanonical(FileSystemResourceManager.java:129)
	at org.eclipse.core.internal.localstore.FileSystemResourceManager.allPathsForLocation(FileSystemResourceManager.java:65)
	at org.eclipse.core.internal.localstore.FileSystemResourceManager.allResourcesFor(FileSystemResourceManager.java:221)
	at org.eclipse.core.internal.resources.WorkspaceRoot.findFilesForLocationURI(WorkspaceRoot.java:94)
	at org.eclipse.core.internal.resources.WorkspaceRoot.findFilesForLocationURI(WorkspaceRoot.java:87)
	at org.jboss.tools.vscode.java.internal.JDTUtils.findFile(JDTUtils.java:404)
	at org.jboss.tools.vscode.java.internal.JDTUtils.resolveCompilationUnit(JDTUtils.java:85)
	at org.jboss.tools.vscode.java.internal.JDTUtils.resolveTypeRoot(JDTUtils.java:250)
	at org.jboss.tools.vscode.java.internal.handlers.HoverHandler.lambda$0(HoverHandler.java:27)
	at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
	at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
	at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:443)
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Expected Result

Shouldn't cause any errors

Additional Informations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant