Scala inspections not working in Play 2.1 app

I have no problems running the app but I do not get any indications of incorrect code in the editor. I have tried invalidating caches and power save mode is off, neither resolve the issue. I am running Intellij IDEA 12.1.4 on Mac OS 10.8.4

I have noticed a reoccuring error in my idea.log

2013-07-01 00:14:30,583 [ 258485]  ERROR - aemon.impl.PassExecutorService - IntelliJ IDEA 12.1.4  Build #IU-129.713
2013-07-01 00:14:30,583 [ 258485]  ERROR - aemon.impl.PassExecutorService - JDK: 1.6.0_51
2013-07-01 00:14:30,583 [ 258485]  ERROR - aemon.impl.PassExecutorService - VM: Java HotSpot(TM) 64-Bit Server VM
2013-07-01 00:14:30,583 [ 258485]  ERROR - aemon.impl.PassExecutorService - Vendor: Apple Inc.
2013-07-01 00:14:30,583 [ 258485]  ERROR - aemon.impl.PassExecutorService - OS: Mac OS X
2013-07-01 00:14:30,583 [ 258485]  ERROR - aemon.impl.PassExecutorService - Last Action: ShowIntentionActions
2013-07-01 00:14:30,583 [ 258485]  ERROR - currency.PrioritizedFutureTask - java.lang.AssertionError: Every search scope must be associated with a project
java.util.concurrent.ExecutionException: java.lang.AssertionError: Every search scope must be associated with a project
 at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
 at java.util.concurrent.FutureTask.get(FutureTask.java:83)
 at com.intellij.concurrency.PrioritizedFutureTask.access$301(PrioritizedFutureTask.java:31)
 at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:77)
 at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
 at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.AssertionError: Every search scope must be associated with a project
 at com.intellij.psi.search.PsiSearchRequest.<init>(PsiSearchRequest.java:45)
 at com.intellij.psi.search.SearchRequestCollector.searchWord(SearchRequestCollector.java:69)
 at com.intellij.psi.search.SearchRequestCollector.searchWord(SearchRequestCollector.java:54)
 at com.intellij.tapestry.intellij.editorActions.TapestryPropertyReferenceSearcher.processQuery(TapestryPropertyReferenceSearcher.java:40)
 at com.intellij.tapestry.intellij.editorActions.TapestryPropertyReferenceSearcher.processQuery(TapestryPropertyReferenceSearcher.java:20)
 at com.intellij.openapi.application.QueryExecutorBase$2.run(QueryExecutorBase.java:44)
 at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:929)
 at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:42)
 at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:43)
 at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:77)
 at com.intellij.util.UniqueResultsQuery.process(UniqueResultsQuery.java:66)
 at com.intellij.util.UniqueResultsQuery.forEach(UniqueResultsQuery.java:56)
 at com.intellij.scala.play.language.psi.light.search.Play2SyntheticSearcherBase$$anonfun$processQuery$1$$anonfun$apply$mcV$sp$1.apply(Play2SyntheticSearcherBase.scala:33)
 at com.intellij.scala.play.language.psi.light.search.Play2SyntheticSearcherBase$$anonfun$processQuery$1$$anonfun$apply$mcV$sp$1.apply(Play2SyntheticSearcherBase.scala:30)
 at scala.collection.immutable.List.foreach(List.scala:309)
 at com.intellij.scala.play.language.psi.light.search.Play2SyntheticSearcherBase$$anonfun$processQuery$1.apply$mcV$sp(Play2SyntheticSearcherBase.scala:30)
 at com.intellij.scala.play.language.psi.light.search.Play2SyntheticSearcherBase$$anonfun$processQuery$1.apply(Play2SyntheticSearcherBase.scala:30)
 at com.intellij.scala.play.language.psi.light.search.Play2SyntheticSearcherBase$$anonfun$processQuery$1.apply(Play2SyntheticSearcherBase.scala:30)
 at org.jetbrains.plugins.scala.util.ScalaUtil$$anon$2.compute(ScalaUtil.scala:21)
 at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:950)
 at org.jetbrains.plugins.scala.util.ScalaUtil$.readAction(ScalaUtil.scala:20)
 at com.intellij.scala.play.language.psi.light.search.Play2SyntheticSearcherBase.processQuery(Play2SyntheticSearcherBase.scala:29)
 at com.intellij.scala.play.language.psi.light.search.Play2SyntheticSearcherBase.processQuery(Play2SyntheticSearcherBase.scala:17)
 at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:49)
 at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:43)
 at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:77)
 at com.intellij.util.MergeQuery.processSubQuery(MergeQuery.java:83)
 at com.intellij.util.MergeQuery.forEach(MergeQuery.java:56)
 at com.intellij.util.UniqueResultsQuery.process(UniqueResultsQuery.java:66)
 at com.intellij.util.UniqueResultsQuery.forEach(UniqueResultsQuery.java:56)
 at com.intellij.spring.gutter.SpringClassAnnotator.annotatePsiClassSpringPropertyValues(SpringClassAnnotator.java:264)
 at com.intellij.spring.gutter.SpringClassAnnotator.collectNavigationMarkers(SpringClassAnnotator.java:141)
 at com.intellij.codeInsight.daemon.RelatedItemLineMarkerProvider.collectNavigationMarkers(RelatedItemLineMarkerProvider.java:48)
 at com.intellij.codeInsight.daemon.RelatedItemLineMarkerProvider.collectSlowLineMarkers(RelatedItemLineMarkerProvider.java:39)
 at com.intellij.codeInsight.daemon.impl.SlowLineMarkersPass.addLineMarkers(SlowLineMarkersPass.java:78)
 at com.intellij.codeInsight.daemon.impl.SlowLineMarkersPass.doCollectInformation(SlowLineMarkersPass.java:65)
 at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:62)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:357)
 at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1182)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:348)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:226)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:345)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:321)
 at com.intellij.concurrency.JobLauncherImpl$3.call(JobLauncherImpl.java:145)
 at com.intellij.concurrency.JobLauncherImpl$3.call(JobLauncherImpl.java:142)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
 at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
 ... 4 more

Thanks,
Abe

Please sign in to leave a comment.