sbt tool window shows multiple project named "project"

I have thisasd weird problem that my scala / sbt multi project has suddenly started showing lots of projects. sbt-problem.jpg


Hello, Please see the image above. I have this weird error that my project is showing these erroneous projects. I cannot delete or get rid of them. The path to it is invalid. This is the relevant logs

Caused by: com.intellij.openapi.externalSystem.model.ExternalSystemException: Cannot run program "C:/UBS/Dev/jdk1.7.0_65-32bit/bin/java" (in directory "C:\UBS\Dev\Projects\CCS\Compute\common\project\project\project\project\project\project\project\project\project\project\project\project\project\project\project\project\project\project\project\project"): CreateProcess error=267, The directory name is invalid
CreateProcess error=267, The directory name is invalid
 at org.jetbrains.sbt.project.SbtProjectResolver.resolveProjectInfo(SbtProjectResolver.scala:46)
 at org.jetbrains.sbt.project.SbtProjectResolver.resolveProjectInfo(SbtProjectResolver.scala:22)
 at com.intellij.openapi.externalSystem.service.remote.RemoteExternalSystemProjectResolverImpl$1.produce(RemoteExternalSystemProjectResolverImpl.java:41)
 at com.intellij.openapi.externalSystem.service.remote.RemoteExternalSystemProjectResolverImpl$1.produce(RemoteExternalSystemProjectResolverImpl.java:37)
 at com.intellij.openapi.externalSystem.service.remote.AbstractRemoteExternalSystemService.execute(AbstractRemoteExternalSystemService.java:59)
 at com.intellij.openapi.externalSystem.service.remote.RemoteExternalSystemProjectResolverImpl.resolveProjectInfo(RemoteExternalSystemProjectResolverImpl.java:37)
 ... 21 more



how do i get rid of this? Deleting the .idea directly still recreates this.
1 comment
Comment actions Permalink

Hi! Could you please tell me what version of IDEA and scala plugin do you use? If it is possible it would be great if you attach an example project to reproduce this issue.

0

Please sign in to leave a comment.