lunisolar / LNKD.tech-Editor

Editor for Turtle (Terse RDF Triple Language, TTL) files. This is a plugin for IntelliJ IDEA, IDEA Community Edition and others IDE environments based on IntelliJ Platform (also described here)
https://plugins.jetbrains.com/plugin/12802-lnkd-tech-editor
4 stars 0 forks source link

[JetBrains Client] java.lang.IllegalStateException: Index is not created for `KnowledgeFileIndex` #39

Closed jak-ub closed 4 months ago

jak-ub commented 2 years ago
java.lang.IllegalStateException: Index is not created for `KnowledgeFileIndex`
    at com.intellij.util.indexing.FileBasedIndexImpl.getIndex(FileBasedIndexImpl.java:1282)
    at com.intellij.util.indexing.FileBasedIndexEx.processExceptions(FileBasedIndexEx.java:296)
    at com.intellij.util.indexing.FileBasedIndexEx.getContainingFilesIterator(FileBasedIndexEx.java:249)
    at com.intellij.util.indexing.FileBasedIndexEx.getContainingFiles(FileBasedIndexEx.java:233)
    at com.intellij.util.indexing.FileBasedIndexImpl.getContainingFiles(FileBasedIndexImpl.java:1089)
    at tech.lnkd.editor.index.IndexUtil.lambda$knowledgeFilesInScope$1(IndexUtil.java:58)
    at com.intellij.util.SlowOperations.allowSlowOperations(SlowOperations.java:141)
    at tech.lnkd.editor.index.IndexUtil.knowledgeFilesInScope(IndexUtil.java:52)
    at tech.lnkd.editor.index.IndexUtil.stream(IndexUtil.java:46)
jak-ub commented 2 years ago

Reproduced on JetBrains Client (part of Gateway).

JetBrains Client should not be a target for the plugin.

jak-ub commented 4 months ago

Closing. Seems like "feature" of the IntelliJ Platform: https://github.com/JetBrains/js-graphql-intellij-plugin/issues/522