Skip to content

Instantly share code, notes, and snippets.

@daveray
Created July 24, 2014 23:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daveray/4e006bf31cc1ab4194ca to your computer and use it in GitHub Desktop.
Save daveray/4e006bf31cc1ab4194ca to your computer and use it in GitHub Desktop.
Cursive Error
Since upgrading to Cursive 0.1.30 I get errors like this at startup. Intellij 13.1.4.
Error while indexing /.../.gradle/caches/modules-2/files-2.1/... path to file ....js
To reindex this file IDEA has to be restarted: Cannot obtain text for binary file type : UNKNOWN
com.intellij.util.indexing.FileContentImpl$IllegalDataException: Cannot obtain text for binary file type : UNKNOWN
at com.intellij.util.indexing.FileContentImpl.getContentAsText(FileContentImpl.java:189)
at cursive.index.PsiDependentIndexExtension$1$1.valAt(PsiDependentIndexExtension.java:61)
at cursive.index.PsiDependentIndexExtension$1$1.valAt(PsiDependentIndexExtension.java:51)
at clojure.lang.KeywordLookupSite$1.get(KeywordLookupSite.java:45)
at plugin.index.js$index_javascript.invoke(js.clj:196)
at clojure.lang.Var.invoke(Var.java:415)
at cursive.api.DelayedFn.invoke(DelayedFn.java:31)
at cursive.index.PsiDependentIndexExtension$1.map(PsiDependentIndexExtension.java:66)
at cursive.index.PsiDependentIndexExtension$1.map(PsiDependentIndexExtension.java:39)
at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:215)
at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1824)
at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1751)
at com.intellij.util.indexing.FileBasedIndexImpl.indexFileContent(FileBasedIndexImpl.java:1714)
at com.intellij.util.indexing.UnindexedFilesUpdater.processFile(UnindexedFilesUpdater.java:73)
at com.intellij.openapi.project.CacheUpdateSession.processFile(CacheUpdateSession.java:103)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$1.run(CacheUpdateRunner.java:231)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:911)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$2.run(CacheUpdateRunner.java:241)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
at com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:209)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:212)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:171)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:236)
at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:419)
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 com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:149)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment