Skip to content

Exception when loading GDSCRIPT in Rider 2023.1

On load this is the exception, the result is that none of the Godot classes are recognized in rider: image

Following exceptions happened soon after this one, most probably they are induced.


2025-02-26T10:46:21.868
java.lang.Throwable: Stub index points to a file (file = file://D:/Project/Wander/WanderEngine/project.godot, file type = project.ProjectFileType@a62f05, indexed file type = com.intellij.openapi.fileTypes.PlainTextFileType@6f6650fc) without indexed stub tree; indexing stamp = null, can have stubs = true, actual stub count = 0
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:202)
	at com.intellij.psi.stubs.StubProcessingHelper.retrieveStubIdList(StubProcessingHelper.java:41)
	at com.intellij.psi.stubs.StubIndexEx.lambda$processElements$6(StubIndexEx.java:203)
	at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
	at com.intellij.psi.stubs.StubIndexEx.processElements(StubIndexEx.java:202)
	at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:102)
	at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:90)
	at common.index.StringStubIndexExtensionExt.getGlobally(StringStubIndexExtensionExt.kt:28)
	at project.psi.util.ProjectAutoloadUtil.all(ProjectAutoloadUtil.kt:44)
	at project.psi.util.ProjectAutoloadUtil.listGlobals(ProjectAutoloadUtil.kt:22)
	at gdscript.psi.utils.GdClassMemberUtil.listDeclarations(GdClassMemberUtil.kt:165)
	at gdscript.psi.utils.GdClassMemberUtil.listDeclarations$default(GdClassMemberUtil.kt:49)
	at gdscript.psi.utils.GdClassMemberUtil.listDeclarations(GdClassMemberUtil.kt:42)
	at gdscript.psi.utils.GdClassMemberUtil.findDeclaration(GdClassMemberUtil.kt:27)
	at gdscript.psi.utils.GdClassMemberUtil.findDeclaration$default(GdClassMemberUtil.kt:21)
	at gdscript.psi.utils.PsiGdExprUtil.getReturnType(PsiGdExprUtil.kt:200)
	at gdscript.psi.GdPsiUtils.getReturnTypeOrRes(GdPsiUtils.kt:88)
	at gdscript.psi.impl.GdExprImpl.getReturnTypeOrRes(GdExprImpl.java:39)
	at gdscript.psi.utils.GdClassMemberUtil.listDeclarations(GdClassMemberUtil.kt:65)
	at gdscript.psi.utils.GdClassMemberUtil.listDeclarations$default(GdClassMemberUtil.kt:49)
	at gdscript.psi.utils.GdClassMemberUtil.listDeclarations(GdClassMemberUtil.kt:42)
	at gdscript.psi.utils.GdClassMemberUtil.findDeclaration(GdClassMemberUtil.kt:27)
	at gdscript.psi.utils.GdClassMemberUtil.findDeclaration$default(GdClassMemberUtil.kt:21)
	at gdscript.reference.GdClassMemberReference.resolveDeclaration(GdClassMemberReference.kt:56)
	at gdscript.codeInsight.GdInlayParameterHintProvider.getParameterHints(GdInlayParameterHintProvider.kt:66)
	at com.intellij.codeInsight.hints.InlayParameterHintsProvider.getParameterHints(InlayParameterHintsProvider.java:42)
	at com.intellij.codeInsight.hints.ParameterHintsPass.process(ParameterHintsPass.java:129)
	at com.intellij.codeInsight.hints.ParameterHintsPass.lambda$doCollectInformation$2(ParameterHintsPass.java:121)
	at java.base/java.lang.Iterable.forEach(Iterable.java:75)
	at com.intellij.codeInsight.hints.ParameterHintsPass.doCollectInformation(ParameterHintsPass.java:121)
	at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:57)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:382)
	at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1102)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:374)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:604)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:603)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:373)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:349)
	at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:229)
	at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:187)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:347)
	at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:181)
	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)



2025-02-26T10:46:21.875
java.lang.Throwable: Stub index points to a file (file = file://D:/Project/Wander/WanderEngine/content/food/recipes/mushroom_boil/mushroom_boil.tscn, file type = tscn.TscnFileType@36c5c58, indexed file type = com.intellij.openapi.fileTypes.PlainTextFileType@6f6650fc) without indexed stub tree; indexing stamp = null, can have stubs = true, actual stub count = 0
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:202)
	at com.intellij.psi.stubs.StubProcessingHelper.retrieveStubIdList(StubProcessingHelper.java:41)
	at com.intellij.psi.stubs.StubIndexEx.lambda$processElements$6(StubIndexEx.java:203)
	at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
	at com.intellij.psi.stubs.StubIndexEx.processElements(StubIndexEx.java:202)
	at com.intellij.psi.stubs.StubIndex.processElements(StubIndex.java:53)
	at com.intellij.psi.stubs.StubIndex.get(StubIndex.java:43)
	at com.intellij.psi.stubs.AbstractStubIndex.get(AbstractStubIndex.java:22)
	at common.index.StringStubIndexExtensionExt.getGlobally$lambda$0(StringStubIndexExtensionExt.kt:22)
	at com.intellij.openapi.project.DumbService.lambda$runReadActionInSmartMode$0(DumbService.java:112)
	at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:143)
	at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:112)
	at common.index.StringStubIndexExtensionExt.getGlobally(StringStubIndexExtensionExt.kt:21)
	at gdscript.lineMarker.GdSignalLineMarkerContributor.collectNavigationMarkers(GdSignalLineMarkerContributor.kt:39)
	at com.intellij.codeInsight.daemon.RelatedItemLineMarkerProvider.collectNavigationMarkers(RelatedItemLineMarkerProvider.java:35)
	at com.intellij.codeInsight.daemon.RelatedItemLineMarkerProvider.collectSlowLineMarkers(RelatedItemLineMarkerProvider.java:27)
	at com.intellij.codeInsight.daemon.impl.LineMarkersPass.queryProviders(LineMarkersPass.java:223)
	at com.intellij.codeInsight.daemon.impl.LineMarkersPass.lambda$doCollectInformation$3(LineMarkersPass.java:104)
	at com.intellij.codeInsight.daemon.impl.Divider.divideInsideAndOutsideInOneRoot(Divider.java:95)
	at com.intellij.codeInsight.daemon.impl.LineMarkersPass.doCollectInformation(LineMarkersPass.java:99)
	at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:57)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:382)
	at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1102)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:374)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:604)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:603)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:373)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:349)
	at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:229)
	at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:187)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:347)
	at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:181)
	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)