Codium-ai / codiumai-jetbrains-release

59 stars 8 forks source link

[0.9.3][PYCHARM PC 2024.1] Outdated stub in index: file://C:/wamp64/www/Projects/ACS2/ACS/views/DebtorStudents.py, vF... #346

Closed MiguelFuenmayor closed 1 month ago

MiguelFuenmayor commented 1 month ago

User Description

User did not enter any detailed information.

Stack Trace

java.lang.Exception
    at com.intellij.psi.stubs.StubTreeLoaderImpl.diagnoseLengthMismatch(StubTreeLoaderImpl.java:188)
    at com.intellij.psi.stubs.StubTreeLoaderImpl.checkLengthMatch(StubTreeLoaderImpl.java:152)
    at com.intellij.psi.stubs.StubTreeLoaderImpl.readFromVFile(StubTreeLoaderImpl.java:119)
    at com.intellij.psi.stubs.StubTreeLoaderImpl.readOrBuild(StubTreeLoaderImpl.java:45)
    at com.intellij.psi.impl.source.PsiFileImpl.getStubTree(PsiFileImpl.java:630)
    at com.intellij.psi.impl.source.PsiFileImpl.getGreenStubTree(PsiFileImpl.java:952)
    at com.intellij.psi.impl.source.PsiFileImpl.getGreenStub(PsiFileImpl.java:607)
    at com.jetbrains.python.psi.impl.PyFileImpl.getTopLevelClasses(PyFileImpl.java:368)
    at com.jetbrains.python.testing.PythonUnitTestDetectorsBasedOnSettings.isTestFile(PythonUnitTestDetectorsBasedOnSettings.java:40)
    at com.jetbrains.python.testing.PythonUnitTestDetectorsBasedOnSettings.isTestElement(PythonUnitTestDetectorsBasedOnSettings.java:67)
    at com.jetbrains.python.codeInsight.testIntegration.PyTestFinder.isTest(PyTestFinder.java:112)
    at com.intellij.testIntegration.TestFinderHelper.isTest(TestFinderHelper.java:48)
    at ai.codium.language.LanguageService$isTestElement$1.invoke(LanguageService.kt:33)
    at ai.codium.language.LanguageService$isTestElement$1.invoke(LanguageService.kt:32)
    at ai.codium.UtilsKt.checkIgnoringExceptions(Utils.kt:238)
    at ai.codium.language.LanguageService.isTestElement(LanguageService.kt:32)
    at ai.codium.language.LanguageService.isNotTestFile(LanguageService.kt:26)
    at ai.codium.language.LanguageService.isSupportedFileToGenerateTests(LanguageService.kt:20)
    at ai.codium.CodiumInlayProvider.getCollectorFor(CodiumInlayProvider.kt:81)
    at ai.codium.CodiumInlayProvider.getCollectorFor(CodiumInlayProvider.kt:38)
    at com.intellij.codeInsight.hints.InlayHintsUtilsKt.getCollectorWrapperFor(InlayHintsUtils.kt:50)
    at com.intellij.codeInsight.daemon.impl.InlayHintsPassFactoryInternal.createHighlightingPass(InlayHintsPassFactoryInternal.kt:46)
    at com.intellij.codeInsight.daemon.impl.TextEditorHighlightingPassRegistrarImpl.instantiatePasses(TextEditorHighlightingPassRegistrarImpl.java:186)
    at com.intellij.codeInsight.daemon.impl.TextEditorBackgroundHighlighter.getPasses(TextEditorBackgroundHighlighter.kt:65)
    at com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl.lambda$submitInBackground$27(DaemonCodeAnalyzerImpl.java:1208)
    at com.intellij.openapi.application.impl.RwLockHolder.runReadAction(RwLockHolder.kt:289)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:850)
    at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:65)
    at com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl.lambda$submitInBackground$28(DaemonCodeAnalyzerImpl.java:1197)
    at io.opentelemetry.context.Context.lambda$wrap$1(Context.java:212)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:660)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:735)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:691)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:659)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
    at com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl.submitInBackground(DaemonCodeAnalyzerImpl.java:1194)
    at com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl.lambda$queuePassesCreation$23(DaemonCodeAnalyzerImpl.java:1159)
    at io.opentelemetry.context.Context.lambda$wrap$1(Context.java:212)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:190)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

Other Information

=== About ===
Build version: PyCharm 2024.1 Build: #PC-241.14494.241 March 28, 2024
Theme: Material Space
JRE: 17.0.10+8-b1207.12, JetBrains s.r.o.
JVM: 17.0.10+8-b1207.12, OpenJDK 64-Bit Server VM, JetBrains s.r.o.
Operating System: Windows 11.0 (amd64)

=== Plugins ===
Custom plugins: [Gerry Themes (2024.1.1010), One Dark Theme (5.12.0), Codeium: AI Autocomplete and Chat for Python, JS, Java, Go... (1.12.6), Material Theme UI (9.3.1), Xcode-Dark Theme (1.2.4), RPM SPEC File (2.2.0), Gradianto (5.5), AliasImports (3.1), VSCode Keymap (241.14494.150), Dark Purple Theme (1.3), Shifter (1.9.6), VSCode Theme (1.10.11), Monokai Pro Theme (1.10), Codiumate - Code, test and review with confidence - by CodiumAI (0.9.3)]
Disabled plugins:[Qt Style Sheets Editor (0.9.4), AWS Core (3.15-241), Amazon Q (3.14-241), Code blocks sorter (0.1.2)]
ArtsiomCh commented 1 month ago

Thanks for reporting! Seems to be internal IDE glitch (inside PSI stubs) let us know if you experience it often and it disrupt your work with the plugin.