Hannah-Sten / TeXiFy-IDEA

LaTeX support for the IntelliJ platform by JetBrains.
https://hannah-sten.github.io/TeXiFy-IDEA
MIT License
892 stars 89 forks source link

java.lang.IllegalStateException%3A Index is not created for %60filetypes%60 #2243

Closed wmmc88 closed 2 years ago

wmmc88 commented 2 years ago

%23%23%23 Type of JetBrains IDE %28IntelliJ%2C PyCharm%2C etc.%29 and version%0AJetBrains Client 2021.3 %28build JBC-213.6777.58%29%0A%0A%23%23%23 Operating System %0AWindows 11 10.0 %28amd64%29%0A%0A%23%23%23 TeXiFy IDEA version%0A0.7.14%0A%0A%23%23%23 Description%0A%0A%0A%0A%23%23%23 Stacktrace%0A%60%60%60%0Ajava.lang.IllegalStateException%3A Index is not created for %60filetypes%60%0D%0A%09at com.intellij.util.indexing.FileBasedIndexImpl.getIndex%28FileBasedIndexImpl.java%3A1244%29%0D%0A%09at com.intellij.util.indexing.FileBasedIndexEx.processExceptions%28FileBasedIndexEx.java%3A241%29%0D%0A%09at com.intellij.util.indexing.FileBasedIndexEx.processValueIterator%28FileBasedIndexEx.java%3A349%29%0D%0A%09at com.intellij.util.indexing.FileBasedIndexEx.processValuesInScope%28FileBasedIndexEx.java%3A318%29%0D%0A%09at com.intellij.util.indexing.FileBasedIndexEx.getContainingFiles%28FileBasedIndexEx.java%3A200%29%0D%0A%09at com.intellij.psi.search.FileTypeIndex.getFiles%28FileTypeIndex.java%3A42%29%0D%0A%09at nl.hannahsten.texifyidea.util.ProjectsKt%24allFiles%24%24inlined%24runReadAction%241.compute%28actions.kt%3A62%29%0D%0A%09at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction%28ApplicationImpl.java%3A852%29%0D%0A%09at nl.hannahsten.texifyidea.util.ProjectsKt.allFiles%28Projects.kt%3A107%29%0D%0A%09at nl.hannahsten.texifyidea.ui.symbols.SymbolToolWindowFactory.isApplicable%28SymbolToolWindowFactory.kt%3A48%29%0D%0A%09at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.beanToTask%28ToolWindowManagerImpl.kt%3A491%29%0D%0A%09at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.access%24beanToTask%28ToolWindowManagerImpl.kt%3A86%29%0D%0A%09at com.intellij.openapi.wm.impl.ToolWindowManagerImpl%24computeToolWindowBeans%24%24inlined%24processDescriptors%241.accept%28ToolWindowManagerImpl.kt%3A2357%29%0D%0A%09at com.intellij.openapi.wm.impl.ToolWindowManagerImpl%24computeToolWindowBeans%24%24inlined%24processDescriptors%241.accept%28ToolWindowManagerImpl.kt%3A86%29%0D%0A%09at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processWithPluginDescriptor%28ExtensionPointImpl.java%3A299%29%0D%0A%09at com.intellij.openapi.extensions.ExtensionPointName.processWithPluginDescriptor%28ExtensionPointName.java%3A144%29%0D%0A%09at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.computeToolWindowBeans%28ToolWindowManagerImpl.kt%3A2354%29%0D%0A%09at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.access%24computeToolWindowBeans%28ToolWindowManagerImpl.kt%3A86%29%0D%0A%09at com.intellij.openapi.wm.impl.ToolWindowManagerImpl%24InitToolWindowsActivity.runActivity%28ToolWindowManagerImpl.kt%3A2162%29%0D%0A%09at com.intellij.ide.startup.impl.StartupManagerImpl.runStartupActivity%28StartupManagerImpl.kt%3A312%29%0D%0A%09at com.intellij.ide.startup.impl.StartupManagerImpl.runActivityAndMeasureDuration%28StartupManagerImpl.kt%3A293%29%0D%0A%09at com.intellij.ide.startup.impl.StartupManagerImpl.executeActivityFromExtensionPoint%28StartupManagerImpl.kt%3A222%29%0D%0A%09at com.intellij.ide.startup.impl.StartupManagerImpl.access%24executeActivityFromExtensionPoint%28StartupManagerImpl.kt%3A62%29%0D%0A%09at com.intellij.ide.startup.impl.StartupManagerImpl%24projectOpened%24%24inlined%24runActivity%24lambda%241.accept%28StartupManagerImpl.kt%3A172%29%0D%0A%09at com.intellij.ide.startup.impl.StartupManagerImpl%24projectOpened%24%24inlined%24runActivity%24lambda%241.accept%28StartupManagerImpl.kt%3A62%29%0D%0A%09at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processImplementations%28ExtensionPointImpl.java%3A314%29%0D%0A%09at com.intellij.ide.startup.impl.StartupManagerImpl.projectOpened%28StartupManagerImpl.kt%3A171%29%0D%0A%09at com.intellij.openapi.project.impl.ProjectManagerExImplKt.openProject%28ProjectManagerExImpl.kt%3A496%29%0D%0A%09at com.intellij.openapi.project.impl.ProjectManagerExImplKt.access%24openProject%28ProjectManagerExImpl.kt%3A1%29%0D%0A%09at com.intellij.openapi.project.impl.ProjectManagerExImpl%24doOpenAsync%241.invoke%28ProjectManagerExImpl.kt%3A143%29%0D%0A%09at com.intellij.openapi.project.impl.ProjectManagerExImpl%24doOpenAsync%241.invoke%28ProjectManagerExImpl.kt%3A58%29%0D%0A%09at com.intellij.openapi.project.impl.ProjectUiFrameAllocator%24run%24progressRunner%241.apply%28ProjectFrameAllocator.kt%3A94%29%0D%0A%09at com.intellij.openapi.project.impl.ProjectUiFrameAllocator%24run%24progressRunner%241.apply%28ProjectFrameAllocator.kt%3A71%29%0D%0A%09at com.intellij.codeWithMe.ClientId%24Companion%24decorateFunction%242.apply%28ClientId.kt%3A238%29%0D%0A%09at com.intellij.codeWithMe.ClientId%24Companion%24decorateFunction%242.apply%28ClientId.kt%3A238%29%0D%0A%09at com.intellij.codeWithMe.ClientId%24Companion%24decorateFunction%242.apply%28ClientId.kt%3A238%29%0D%0A%09at com.intellij.codeWithMe.ClientId%24Companion%24decorateFunction%242.apply%28ClientId.kt%3A238%29%0D%0A%09at com.intellij.codeWithMe.ClientId%24Companion%24decorateFunction%242.apply%28ClientId.kt%3A238%29%0D%0A%09at com.intellij.openapi.progress.impl.ProgressRunner.lambda%24submit%243%28ProgressRunner.java%3A244%29%0D%0A%09at com.intellij.openapi.progress.impl.CoreProgressManager.lambda%24runProcess%242%28CoreProgressManager.java%3A188%29%0D%0A%09at com.intellij.openapi.progress.impl.CoreProgressManager.lambda%24executeProcessUnderProgress%2412%28CoreProgressManager.java%3A624%29%0D%0A%09at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun%28CoreProgressManager.java%3A698%29%0D%0A%09at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress%28CoreProgressManager.java%3A646%29%0D%0A%09at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress%28CoreProgressManager.java%3A623%29%0D%0A%09at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress%28ProgressManagerImpl.java%3A66%29%0D%0A%09at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess%28CoreProgressManager.java%3A175%29%0D%0A%09at com.intellij.openapi.progress.impl.ProgressRunner.lambda%24submit%244%28ProgressRunner.java%3A244%29%0D%0A%09at java.base%2Fjava.util.concurrent.CompletableFuture%24AsyncSupply.run%28CompletableFuture.java%3A1700%29%0D%0A%09at java.base%2Fjava.util.concurrent.CompletableFuture%24AsyncSupply.exec%28CompletableFuture.java%3A1692%29%0D%0A%09at java.base%2Fjava.util.concurrent.ForkJoinTask.doExec%28ForkJoinTask.java%3A290%29%0D%0A%09at java.base%2Fjava.util.concurrent.ForkJoinPool%24WorkQueue.topLevelExec%28ForkJoinPool.java%3A1020%29%0D%0A%09at java.base%2Fjava.util.concurrent.ForkJoinPool.scan%28ForkJoinPool.java%3A1656%29%0D%0A%09at java.base%2Fjava.util.concurrent.ForkJoinPool.runWorker%28ForkJoinPool.java%3A1594%29%0D%0A%09at java.base%2Fjava.util.concurrent.ForkJoinWorkerThread.run%28ForkJoinWorkerThread.java%3A183%

wmmc88 commented 2 years ago

Happens when trying to open a pdf generated by TexifyIdea. Running in Jetbrains Gateway on Windows11

PHPirates commented 2 years ago

Duplicate of #2235, fixed for 0.7.15.