Codium-ai / codiumai-jetbrains-release

56 stars 7 forks source link

[0.8.2][GOLAND 2024.1.4] java.lang.Throwable: psiElement is not instance of requiredClass.psiElement=PARAMETER_DECLA... #249

Open ceearrashee opened 2 days ago

ceearrashee commented 2 days ago

User Description

User did not enter any detailed information.

Stack Trace

java.lang.Throwable: psiElement is not instance of requiredClass.
psiElement=PARAMETER_DECLARATION, psiElement.class=class com.goide.psi.impl.GoParameterDeclarationImpl, requiredClass=interface com.goide.psi.GoMethodDeclaration, operation=Looking for handlers.guestUserHandler in go.method, stubIdList=[99, 106, 122, 138].
ref: 50cf572587cf
com.intellij.psi.stubs.UpToDateStubIndexMismatch: PSI and index do not match.
Please report the problem to JetBrains with the files attached
INDEXED VERSION IS THE CURRENT ONE file=GO_FILE, file.class=class com.goide.psi.GoFile, file.lang=Language: go, modStamp=1
 tree consistent
 stub debugInfo=created in calcStubTree; with backReference
 viewProvider=com.intellij.psi.SingleRootFileViewProvider{vFile=file://C:/Users/eandr/Projects/Existlive/mouse-golang/handlers/guestUserHandler.go, vFileId=742784, content=VirtualFileContent{size=6302}, eventSystemEnabled=true}
 viewProvider stamp: 0; file stamp: 0; file modCount: 1719608742945; file length: 6302
 doc saved: true; doc stamp: 0; doc size: 6302; committed: true
indexing info: indexing timestamp = 1719608742945, binary = false, byte size = 6302, char size = 6302
ref: 50cf572587cf
latestIndexedStub=StubTree{myDebugInfo='created from index; with backReference', myRoot=GoFileStub}1475675280
   same size=false
   debugInfo=created from index; with backReference
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:376)
    at com.intellij.psi.stubs.StubProcessingHelperBase.inconsistencyDetected(StubProcessingHelperBase.java:168)
    at com.intellij.psi.stubs.StubProcessingHelperBase.checkType(StubProcessingHelperBase.java:100)
    at com.intellij.psi.stubs.StubProcessingHelperBase.processStubsInFile(StubProcessingHelperBase.java:70)
    at com.intellij.psi.stubs.StubIndexEx.lambda$processElements$5(StubIndexEx.java:152)
    at com.intellij.psi.stubs.StubIndexEx.processElements(StubIndexEx.java:202)
    at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:102)
    at 

<TRIMMED STACKTRACE>

l.DaemonCodeAnalyzerImpl.lambda$submitInBackground$31(DaemonCodeAnalyzerImpl.java:1215)
    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$32(DaemonCodeAnalyzerImpl.java:1204)
    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:1201)
    at com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl.lambda$queuePassesCreation$25(DaemonCodeAnalyzerImpl.java:1164)
    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: GoLand 2024.1.4 Build: #GO-241.18034.61 June 20, 2024
Theme: Dark
JRE: 17.0.11+1-b1207.24, JetBrains s.r.o.
JVM: 17.0.11+1-b1207.24, OpenJDK 64-Bit Server VM, JetBrains s.r.o.
Operating System: Windows 11.0 (amd64)

=== Plugins ===
Custom plugins: [Ini (241.18034.82), Test Data (241.14494.150), Developer Tools (4.3.0), MultiHighlight (3.1.0), Toml (241.17011.8), Space (241.18034.4), Rider UI Theme Pack (0.14.11), PostCSS (241.14494.155), Run Configuration as Action (3.0), InlineProblems (0.5.3), Sass (241.14494.155), Properties (241.14494.150), String Manipulation (9.14.1), Code Complexity (1.5.1), GitHub Color Scheme (241.14494.150), Hunspell (241.18034.82), Commit Message Wrapper Fixer (1.2), File Expander (2.5), WakaTime (14.4.0), XPathView + XSLT (241.15989.65), Task Management (241.17011.41), Time Tracking (241.14494.150), PowerShell (2.6.1), Mermaid (0.0.22+IJ.232), Kubernetes (241.18034.4), macOS Light Theme (241.14494.150), Grazie Pro (0.3.314), GitHub Actions Manager (2024.2.2), JetBrains AI Assistant (241.18034.12), Dart (241.17890.8), GitHub Copilot (1.5.12.5909), Branch in Window Title (2.0.0), Git Machete (4.2.1), Browserslist (1.0.2), SQL Complexity (241.14494.150), Design Preview for Figma (1.2.1), Node.js (241.15989.20), Handlebars/Mustache (241.14494.150), Cypress Support (1.6.2), TSLint (241.14494.155), Prettier (241.15989.111), Karma (241.15989.111), Cody: AI Coding Assistant with Autocomplete & Chat (6.0.3), Jira Integration (4.8.0), Atom Material Icons (97.0.0), .ignore (4.5.3), Lotus Theme (1.12), Draw Graph (1.14.2024.05.08_23.05), Codiumate - Code, test and review with confidence - by CodiumAI (0.8.2), TinyGo (0.5.13), VSCode Theme (1.10.10), Gemini Code Assist/Cloud Code (24.6.1-api-version-223), Go Linter (1.6.6), Translation (3.6.2), Angular (241.17011.2)]
Disabled plugins:[Test Automation (241.18034.82), NPM Update Dependencies (2.3.2), Tasks (1.8.4), CodeLogic (23.18.0), Material Theme UI (9.2.1), GitHub Theme (1.2.0), MQL Idea (211.1.0), Redis Client (2023.0.3), Git Branch Cleaner (1.1.4), Python Community Edition (241.18034.55), Go method generator (1.0), Helm Values (0.8.2), Batch Scripts Support (1.0.13), CSV Editor (3.3.0-241), RunAnything (2.0), ChatGPT GPT-4 - Bito AI Code Assistant (1.3.1), Github Workflow (3.2.1), Mercurial (241.18034.61), EnvFile (3.4.2), Changelist Organizer (1.10.3), Git Extender (0.8.1), GitLab (241.18034.61), Datadog (1.4.1)]