wt-io-it / odoo-pycharm-plugin

Plugin to Support Odoo in Pycharm
GNU Affero General Public License v3.0
19 stars 10 forks source link

Exception in Odoo Autocompletion Support #228

Open haboalsoud opened 1 year ago

haboalsoud commented 1 year ago

<-- If you remember any details about how the error can be reproduced please add them -->

Plugin Version: 0.6.11 IntelliJ Version: PyCharm 2023.1.3 IntelliJ Build: PC-231.9161.41

com.intellij.util.io.PersistentEnumeratorBase$CorruptedException: PersistentEnumerator storage corrupted /home/robot/.cache/JetBrains/PyCharmCE2023.1/index/stubs/.perFileVersion/indexed_versions/indexed_versions ``` com.intellij.util.io.PersistentEnumeratorBase$CorruptedException: PersistentEnumerator storage corrupted /home/robot/.cache/JetBrains/PyCharmCE2023.1/index/stubs/.perFileVersion/indexed_versions/indexed_versions at com.intellij.util.io.PersistentEnumeratorBase.catchCorruption(PersistentEnumeratorBase.java:615) ... at com.intellij.util.indexing.FileBasedIndexEx.getValues(FileBasedIndexEx.java:137) at at.wtioit.intellij.plugins.odoo.index.OdooIndex.getValues(OdooIndex.java:49) at at.wtioit.intellij.plugins.odoo.modules.impl.OdooModuleServiceImpl.lambda$getModule$1(OdooModuleServiceImpl.java:63) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:878) at at.wtioit.intellij.plugins.odoo.modules.impl.OdooModuleServiceImpl.getModule(OdooModuleServiceImpl.java:61) at at.wtioit.intellij.plugins.odoo.pycharm.PyCharmOdooAddonsImportResolver.resolveImportReference(PyCharmOdooAddonsImportResolver.java:48) at com.jetbrains.python.psi.resolve.PyResolveImportUtil$foreignResults$1.invoke(PyResolveImportUtil.kt:198) ... at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616) at one.util.streamex.AbstractStreamEx.toArray(AbstractStreamEx.java:390) at one.util.streamex.AbstractStreamEx.toImmutableList(AbstractStreamEx.java:1347) at com.jetbrains.python.psi.PyKnownDecoratorUtil.getKnownDecorators(PyKnownDecoratorUtil.java:149) ... at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.lambda$startContributorThread$7(CodeCompletionHandlerBase.java:374) at io.opentelemetry.context.Context.lambda$wrap$1(Context.java:212) at com.intellij.codeInsight.completion.AsyncCompletion.lambda$tryReadOrCancel$5(CompletionThreading.java:169) ... at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.lambda$startContributorThread$8(CodeCompletionHandlerBase.java:365) at io.opentelemetry.context.Context.lambda$wrap$1(Context.java:212) at com.intellij.codeInsight.completion.AsyncCompletion.lambda$startThread$0(CompletionThreading.java:92) ... at java.base/java.lang.Thread.run(Thread.java:833) ```