Cannot open multiple SBT projects with certain name

Answered

 Hi, I got some sbt project hosted in bitbucket. For some reason as I am using IntelliJ through all these projects, After using IntelliJ for a while, what happen is there would be a set of specific projects that I can't open and have to rename it (adding underscore or infix/prefix). In the recent development, this does not work anymore though, I got a specific error from IntelliJ itself. 

I am just wondering if there's any lock that's in place that might've been locking up the projects? But even if I re-cloned the project, if it has the same name then I still can't open it. This is the error message that I got: 

This is with IntelliJ IDEA 2018.1 (Ultimate Edition)
Build #IU-181.4203.550, built on March 26, 2018. On Ubuntu 16. 

 



java.lang.NullPointerException at scala.collection.mutable.ArrayOps$ofRef$.newBuilder$extension(ArrayOps.scala:195) at scala.collection.mutable.ArrayOps$ofRef.newBuilder(ArrayOps.scala:191) at scala.collection.TraversableLike.filterImpl(TraversableLike.scala:246) at scala.collection.TraversableLike.filterImpl$(TraversableLike.scala:245) at scala.collection.mutable.ArrayOps$ofRef.filterImpl(ArrayOps.scala:191) at scala.collection.TraversableLike.filter(TraversableLike.scala:259) at scala.collection.TraversableLike.filter$(TraversableLike.scala:259) at scala.collection.mutable.ArrayOps$ofRef.filter(ArrayOps.scala:191) at org.jetbrains.sbt.package$RichFile.ls(package.scala:81) at org.jetbrains.sbt.project.AutoImportAwareness.getAffectedExternalProjectFiles(AutoImportAwareness.scala:28) at org.jetbrains.sbt.project.AutoImportAwareness.getAffectedExternalProjectFiles$(AutoImportAwareness.scala:21) at org.jetbrains.sbt.project.SbtExternalSystemManager.getAffectedExternalProjectFiles(SbtExternalSystemManager.scala:32) at com.intellij.openapi.externalSystem.service.project.autoimport.ExternalSystemProjectsWatcherImpl.a(ExternalSystemProjectsWatcherImpl.java:337) at com.intellij.openapi.externalSystem.service.project.autoimport.ExternalSystemProjectsWatcherImpl.onSuccess(ExternalSystemProjectsWatcherImpl.java:245) at com.intellij.openapi.externalSystem.service.remote.ExternalSystemProgressNotificationManagerImpl.onSuccess(ExternalSystemProgressNotificationManagerImpl.java:114) at com.intellij.openapi.externalSystem.service.internal.ExternalSystemResolveProjectTask.doExecute(ExternalSystemResolveProjectTask.java:119) at com.intellij.openapi.externalSystem.service.internal.AbstractExternalSystemTask.execute(AbstractExternalSystemTask.java:163) at com.intellij.openapi.externalSystem.service.internal.AbstractExternalSystemTask.execute(AbstractExternalSystemTask.java:149) at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$3.execute(ExternalSystemUtil.java:542) at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$4.run(ExternalSystemUtil.java:605) at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:750) at com.intellij.openapi.progress.impl.CoreProgressManager$5.run(CoreProgressManager.java:434) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:157) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:580) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:525) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:85) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:144) at com.intellij.openapi.application.impl.ApplicationImpl.lambda$null$10(ApplicationImpl.java:565) at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:305) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Consult IDE log for more details (Help | Show Log)

0
2 comments

Hello,

Could you please report new issue on YouTrack:http://youtrack.jetbrains.com/issues/SCL attaching full idea.log after facing the issue and restarting IDE?

 

0

Please sign in to leave a comment.