{"action":"closed","issue":{"url":"https://api.github.com/repos/eclipse/che/issues/10865","repository_url":"https://api.github.com/repos/eclipse/che","labels_url":"https://api.github.com/repos/eclipse/che/issues/10865/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/che/issues/10865/comments","events_url":"https://api.github.com/repos/eclipse/che/issues/10865/events","html_url":"https://github.com/eclipse/che/issues/10865","id":352478526,"node_id":"MDU6SXNzdWUzNTI0Nzg1MjY=","number":10865,"title":"[Multiuser] Cannot create a new project after deleting an existing project","user":{"login":"SkorikSergey","id":7760565,"node_id":"MDQ6VXNlcjc3NjA1NjU=","avatar_url":"https://avatars1.githubusercontent.com/u/7760565?v=4","gravatar_id":"","url":"https://api.github.com/users/SkorikSergey","html_url":"https://github.com/SkorikSergey","followers_url":"https://api.github.com/users/SkorikSergey/followers","following_url":"https://api.github.com/users/SkorikSergey/following{/other_user}","gists_url":"https://api.github.com/users/SkorikSergey/gists{/gist_id}","starred_url":"https://api.github.com/users/SkorikSergey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SkorikSergey/subscriptions","organizations_url":"https://api.github.com/users/SkorikSergey/orgs","repos_url":"https://api.github.com/users/SkorikSergey/repos","events_url":"https://api.github.com/users/SkorikSergey/events{/privacy}","received_events_url":"https://api.github.com/users/SkorikSergey/received_events","type":"User","site_admin":false},"labels":[{"id":192367926,"node_id":"MDU6TGFiZWwxOTIzNjc5MjY=","url":"https://api.github.com/repos/eclipse/che/labels/kind/bug","name":"kind/bug","color":"fc2929","default":false},{"id":515384503,"node_id":"MDU6TGFiZWw1MTUzODQ1MDM=","url":"https://api.github.com/repos/eclipse/che/labels/severity/P2","name":"severity/P2","color":"cccccc","default":false},{"id":409291439,"node_id":"MDU6TGFiZWw0MDkyOTE0Mzk=","url":"https://api.github.com/repos/eclipse/che/labels/team/ide","name":"team/ide","color":"f9d0c4","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-21T10:27:07Z","updated_at":"2018-10-02T11:32:38Z","closed_at":"2018-10-02T11:32:38Z","author_association":"CONTRIBUTOR","body":"**Reproduction Steps:**\r\n1. Create and start workspace through **Dashboard** based on **Java** stack with \"**web-java-spring**\" project. \r\n2. Delete the \"**web-java-spring**\" project.\r\n3. Try to create a new project by **Create New Project** feature from \"web-java-spring\" sample.\r\n\r\n**Expected result:**\r\nProject created.\r\n\r\n**Actual result:**\r\nThere is error information dialog with ```The user does not have permission to configure workspace with id 'workspacerxgwsyiip2dgyfqp'``` message.\r\n \r\n**Che version**: 6.10.0-SNAPSHOT\r\n**OS and version:** Fedora 28\r\n**Che install:** OCP-multiuser\r\n\r\n<details>\r\n<summary>Browser console log:</summary>\r\n\r\n```\r\n2018/08/21 10:07:05 Start new terminal.\r\n2018-08-21 10:07:39,517[equestProcessor]  [ERROR] [o.e.c.p.m.s.c.MavenWorkspace 154]    - Can't add new project: /ws\r\n\tat org.eclipse.che.api.project.server.impl.ValidatingProjectManager.setType(ValidatingProjectManager.java:253)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat org.eclipse.che.plugin.maven.server.core.MavenWorkspace$2.projectUpdated(MavenWorkspace.java:106)\r\n\tat org.eclipse.che.plugin.maven.server.core.MavenWorkspace.access$100(MavenWorkspace.java:61)\r\n\tat org.eclipse.che.plugin.maven.server.core.MavenWorkspace.lambda$createNewProjects$0(MavenWorkspace.java:148)\r\n\tat org.eclipse.che.api.project.server.impl.SynchronizingProjectManager.setType(SynchronizingProjectManager.java:189)\r\n\tat java.util.HashMap$KeySet.forEach(HashMap.java:933)\r\n\tat org.eclipse.che.api.project.server.impl.WorkspaceProjectSynchronizer.synchronize(WorkspaceProjectSynchronizer.java:109)\r\n\tat org.eclipse.che.api.project.server.impl.WorkspaceProjectSynchronizer.update(WorkspaceProjectSynchronizer.java:163)\r\n\tat org.eclipse.che.plugin.maven.server.core.MavenWorkspace.createNewProjects(MavenWorkspace.java:144)\r\norg.eclipse.che.api.core.ServerException: The user does not have permission to configure workspace with id 'workspacerxgwsyiip2dgyfqp'\r\n\tat org.eclipse.che.plugin.maven.server.core.MavenProjectManager.lambda$createListenersDispatcher$0(MavenProjectManager.java:103)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat com.sun.proxy.$Proxy68.projectUpdated(Unknown Source)\r\n\tat org.eclipse.che.plugin.maven.server.core.MavenProjectManager$UpdateState.fireUpdate(MavenProjectManager.java:554)\r\n\tat org.eclipse.che.plugin.maven.server.core.MavenProjectManager.update(MavenProjectManager.java:150)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat org.eclipse.che.plugin.maven.server.projecttype.handler.MavenProjectInitHandler.initializeClasspath(MavenProjectInitHandler.java:42)\r\n\tat org.eclipse.che.plugin.java.server.projecttype.AbstractJavaInitHandler.onProjectInitialized(AbstractJavaInitHandler.java:62)\r\n\tat org.eclipse.che.api.project.server.impl.ExecutiveProjectManager.fireInitHandlers(ExecutiveProjectManager.java:423)\r\n\tat org.eclipse.che.plugin.maven.server.core.MavenWorkspace.update(MavenWorkspace.java:180)\r\n\tat org.eclipse.che.api.core.jsonrpc.commons.JsonRpcMessageReceiver.lambda$receive$0(JsonRpcMessageReceiver.java:73)\r\n\tat org.eclipse.che.api.project.server.impl.ProjectJsonRpcServiceBackEnd.createBatchProjects(ProjectJsonRpcServiceBackEnd.java:103)\r\n\tat org.eclipse.che.api.core.jsonrpc.commons.RequestHandlerManager$OneToManyHandler.handle(RequestHandlerManager.java:365)\r\n\tat org.eclipse.che.api.core.jsonrpc.commons.RequestHandlerManager.handle(RequestHandlerManager.java:217)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat org.eclipse.che.api.project.server.impl.ProjectJsonRpcServiceBackEnd.createBatchProjectsInternally(ProjectJsonRpcServiceBackEnd.java:263)\r\n\tat org.eclipse.che.api.project.server.impl.ProjectJsonRpcServiceBackEnd.perform(ProjectJsonRpcServiceBackEnd.java:313)\r\n\tat org.eclipse.che.api.project.server.impl.ValidatingProjectManager.update(ValidatingProjectManager.java:179)\r\n\tat org.eclipse.che.api.core.jsonrpc.commons.RequestDispatcher.dispatch(RequestDispatcher.java:52)\r\n\tat org.eclipse.che.api.project.server.impl.SynchronizingProjectManager.update(SynchronizingProjectManager.java:126)\r\n\tat org.eclipse.che.api.project.server.impl.ExecutiveProjectManager.update(ExecutiveProjectManager.java:174)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.eclipse.che.api.core.jsonrpc.commons.RequestHandlerManager$OneToManyHandler.access$1100(RequestHandlerManager.java:351)\r\n\tat org.eclipse.che.api.core.jsonrpc.commons.JsonRpcMessageReceiver.processRequest(JsonRpcMessageReceiver.java:98)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat org.eclipse.che.api.project.server.impl.WorkspaceProjectSynchronizer.update(WorkspaceProjectSynchronizer.java:163)\r\norg.eclipse.che.api.core.ServerException: The user does not have permission to configure workspace with id 'workspacerxgwsyiip2dgyfqp'\r\n\tat org.eclipse.che.api.git.GitCheckoutDetector.lambda$fsEventConsumer$2(GitCheckoutDetector.java:142)\r\n\tat org.eclipse.che.api.project.server.impl.ValidatingProjectManager.setType(ValidatingProjectManager.java:253)\r\n\tat org.eclipse.che.api.watcher.server.impl.FileTreeWalker.lambda$updateFsTreeAndAcceptConsumables$3(FileTreeWalker.java:206)\r\n\tat org.eclipse.che.api.watcher.server.impl.FileWatcherByPathMatcher.accept(FileWatcherByPathMatcher.java:32)\r\n\tat org.eclipse.che.api.watcher.server.impl.FileWatcherByPathMatcher.accept(FileWatcherByPathMatcher.java:84)\r\n\tat java.lang.Iterable.forEach(Iterable.java:75)\r\n\tat org.eclipse.che.api.watcher.server.impl.FileTreeWalker.updateFsTreeAndAcceptConsumables(FileTreeWalker.java:206)\r\n\tat org.eclipse.che.api.watcher.server.impl.FileTreeWalker.access$600(FileTreeWalker.java:46)\r\n2018-08-21 10:07:40,562[ted-scheduler-9]  [ERROR] [o.e.c.a.g.GitCheckoutDetector 147]   - Error trying to read /ws/.git/HEAD file and broadcast it\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat org.eclipse.che.api.watcher.server.impl.FileTreeWalker.walk(FileTreeWalker.java:148)\r\n\tat org.eclipse.che.api.watcher.server.impl.FileTreeWalker$2.visitFile(FileTreeWalker.java:174)\r\n\tat java.nio.file.Files.walkFileTree(Files.java:2742)\r\n\tat java.nio.file.Files.walkFileTree(Files.java:2670)\r\n\tat org.eclipse.che.api.watcher.server.impl.FileTreeWalker$2.visitFile(FileTreeWalker.java:150)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.eclipse.che.commons.schedule.executor.LoggedRunnable.run(LoggedRunnable.java:58)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n\tat org.eclipse.che.api.project.server.impl.SynchronizingProjectManager.setType(SynchronizingProjectManager.java:189)\r\n\tat org.eclipse.che.api.project.server.impl.WorkspaceProjectSynchronizer.synchronize(WorkspaceProjectSynchronizer.java:109)\r\n\r\n```\r\n</details>\r\n\r\n**Screenshot:**\r\n![selection_095](https://user-images.githubusercontent.com/7760565/44395844-cddced80-a543-11e8-90f0-1fb09227bd0d.png)\r\n\r\n**Screencast:**\r\n![screencast-che-eclipse-che 172 19 20 234 nip io-2018 08 21-13-07-47_1](https://user-images.githubusercontent.com/7760565/44396136-afc3bd00-a544-11e8-9d05-0301bb647756.gif)\r\n\r\n"}}
{"actor":{"display_login":"SkorikSergey"}}