Scala 1.6.0 plugin error indexing Play routes file

I just updated to IntelliJ IDEA 15 EAP (build 142.2670.3) which includes the Scala 1.6.0 plugin. Now when I try to open the 'conf' directory in a Play project, I get the following error error message (this happens in ALL Play projects) obviously related to parsing the 'routes' file:

Error while indexing /Users/peter/projects/play/xobyo/xobyo/conf/routes
To reindex this file IDEA has to be restarted: Expected static method com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.cacheFileType(Lcom/intellij/openapi/vfs/VirtualFile;Lcom/intellij/openapi/fileTypes/FileType;)V
java.lang.IncompatibleClassChangeError: Expected static method com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.cacheFileType(Lcom/intellij/openapi/vfs/VirtualFile;Lcom/intellij/openapi/fileTypes/FileType;)V
     at com.intellij.scala.play.language.routing.Play2RoutingLanguageSubstitutor.getLanguage(Play2RoutingLanguageSubstitutor.java:26)
     at com.intellij.psi.LanguageSubstitutors.substituteLanguage(LanguageSubstitutors.java:37)
     at com.intellij.util.indexing.SubstitutedFileType.substituteFileType(SubstitutedFileType.java:50)
     at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1664)
     at com.intellij.util.indexing.FileBasedIndexImpl.indexFileContent(FileBasedIndexImpl.java:1625)
     at com.intellij.util.indexing.UnindexedFilesUpdater$2.consume(UnindexedFilesUpdater.java:105)
     at com.intellij.util.indexing.UnindexedFilesUpdater$2.consume(UnindexedFilesUpdater.java:101)
     at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$1.run(CacheUpdateRunner.java:225)
     at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1143)
     at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$2.run(CacheUpdateRunner.java:245)
     at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:133)
     at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:434)
     at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:431)
     at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:383)
     at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
     at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:118)
     at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:239)
     at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:403)
     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
     at java.util.concurrent.FutureTask.run(FutureTask.java:138)
     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:695)
     at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)


I have to revert to 14.1.4 :(

Thanks and regards,
Peter

4 comments
Comment actions Permalink

Sorry for the delay, this EAP was challenging, I'll upload 1.6.1 in a few hours.

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

Hi Alexander,

fantastic, thanks.

Peter

0
Comment actions Permalink

1.6.1 is ready.

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

It works now. You rock, man!

Thanks and regards,
Peter

0

Please sign in to leave a comment.