Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via YouTrack by Unknown author, 1 year ago
via YouTrack by Unknown author, 1 year ago
com.intellij.psi.PsiInvalidElementAccessException: Element: class com.jetbrains.python.psi.impl.PyClassImpl	at com.intellij.psi.impl.source.SubstrateRef$1.getNode(SubstrateRef.java:65)	at com.intellij.extapi.psi.StubBasedPsiElementBase.getNode(StubBasedPsiElementBase.java:143)	at com.intellij.extapi.psi.StubBasedPsiElementBase.getParent(StubBasedPsiElementBase.java:352)	at com.intellij.psi.PsiInvalidElementAccessException.reason(PsiInvalidElementAccessException.java:159)	at com.intellij.psi.PsiInvalidElementAccessException.getMessageWithReason(PsiInvalidElementAccessException.java:119)	at com.intellij.psi.PsiInvalidElementAccessException.(PsiInvalidElementAccessException.java:77)	at com.intellij.psi.PsiInvalidElementAccessException.(PsiInvalidElementAccessException.java:48)	at com.intellij.psi.impl.source.SubstrateRef$1.getNode(SubstrateRef.java:65)	at com.intellij.extapi.psi.StubBasedPsiElementBase.getNode(StubBasedPsiElementBase.java:143)	at com.jetbrains.python.psi.impl.PyClassImpl.getNameNode(PyClassImpl.java:197)	at com.jetbrains.python.psi.impl.PyClassImpl.getName(PyClassImpl.java:186)	at com.jetbrains.python.psi.resolve.PyResolveProcessor.execute(PyResolveProcessor.java:61)	at com.jetbrains.python.psi.resolve.PyResolveUtil.scopeCrawlUp(PyResolveUtil.java:82)	at com.jetbrains.python.psi.resolve.PyResolveUtil.scopeCrawlUp(PyResolveUtil.java:66)	at com.jetbrains.python.psi.resolve.PyResolveUtil.resolveLocally(PyResolveUtil.java:116)	at com.jetbrains.python.psi.impl.stubs.PyClassElementType.a(PyClassElementType.java:92)	at com.jetbrains.python.psi.impl.stubs.PyClassElementType.a(PyClassElementType.java:77)	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)	at com.jetbrains.python.psi.impl.stubs.PyClassElementType.getSuperClassQNames(PyClassElementType.java:77)	at com.jetbrains.python.psi.impl.PyClassImpl.a(PyClassImpl.java:1299)	at com.jetbrains.python.psi.impl.PyClassImpl.getSuperClassTypes(PyClassImpl.java:1245)	at com.jetbrains.python.psi.types.PyClassTypeImpl.getSuperClassTypes(PyClassTypeImpl.java:126)	at com.jetbrains.python.psi.impl.PyClassImpl.a(PyClassImpl.java:443)	at com.jetbrains.python.psi.impl.PyClassImpl.c(PyClassImpl.java:1382)	at com.jetbrains.python.psi.impl.PyClassImpl.access$000(PyClassImpl.java:66)	at com.jetbrains.python.psi.impl.PyClassImpl$CachedAncestorsProvider.fun(PyClassImpl.java:97)	at com.jetbrains.python.psi.impl.PyClassImpl$CachedAncestorsProvider.fun(PyClassImpl.java:90)	at com.jetbrains.python.psi.types.TypeEvalContextBasedCache.getValue(TypeEvalContextBasedCache.java:71)	at com.jetbrains.python.psi.impl.PyClassImpl.getAncestorTypes(PyClassImpl.java:1312)	at com.jetbrains.python.psi.impl.PyClassImpl.getAncestorClasses(PyClassImpl.java:263)	at com.jetbrains.django.model.applications.DjangoAppConfigClassUtil.a(DjangoAppConfigClassUtil.java:199)	at com.jetbrains.django.model.applications.DjangoAppConfigClassUtil.a(DjangoAppConfigClassUtil.java:134)	at com.jetbrains.django.model.applications.DjangoAppConfigClassUtil.access$000(DjangoAppConfigClassUtil.java:27)	at com.jetbrains.django.model.applications.DjangoAppConfigClassUtil$1.compute(DjangoAppConfigClassUtil.java:111)	at com.jetbrains.django.model.applications.DjangoAppConfigClassUtil$1.compute(DjangoAppConfigClassUtil.java:108)	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:872)	at com.jetbrains.django.model.applications.DjangoAppConfigClassUtil.getApplicationNameByConfigClassName(DjangoAppConfigClassUtil.java:108)	at com.jetbrains.django.codeInsight.DjangoSettingsPy.getInstalledApps(DjangoSettingsPy.java:192)	at com.jetbrains.django.model.modelApi.DjangoModelApi.getApplications(DjangoModelApi.java:137)	at com.jetbrains.django.model.applications.DjangoApplicationModel.getFoldersUnderEachApp(DjangoApplicationModel.java:51)	at com.jetbrains.django.model.modelApi.templateLoaders.DjangoAppTemplateLoader.getTemplateFolders(DjangoAppTemplateLoader.java:28)	at com.jetbrains.django.model.modelApi.DjangoModelApi.getTemplateFolders(DjangoModelApi.java:154)	at com.jetbrains.django.model.DjangoTemplateManager.getTemplatesFolderList(DjangoTemplateManager.java:122)	at com.jetbrains.django.model.DjangoTemplateManager.getTemplate(DjangoTemplateManager.java:93)	at com.jetbrains.django.annotator.DjangoTemplateReferenceLineMarkerProvider.a(DjangoTemplateReferenceLineMarkerProvider.java:303)	at com.jetbrains.django.annotator.DjangoTemplateReferenceLineMarkerProvider.a(DjangoTemplateReferenceLineMarkerProvider.java:275)	at com.jetbrains.django.annotator.DjangoTemplateReferenceLineMarkerProvider.a(DjangoTemplateReferenceLineMarkerProvider.java:104)	at com.jetbrains.django.annotator.DjangoTemplateReferenceLineMarkerProvider.collectLineMarkersForElement(DjangoTemplateReferenceLineMarkerProvider.java:83)	at com.jetbrains.django.annotator.DjangoTemplateReferenceLineMarkerProvider.collectNavigationMarkers(DjangoTemplateReferenceLineMarkerProvider.java:58)	at com.intellij.codeInsight.daemon.RelatedItemLineMarkerProvider.collectNavigationMarkers(RelatedItemLineMarkerProvider.java:49)	at com.intellij.codeInsight.daemon.RelatedItemLineMarkerProvider.collectSlowLineMarkers(RelatedItemLineMarkerProvider.java:40)	at com.intellij.codeInsight.daemon.impl.LineMarkersPass.a(LineMarkersPass.java:212)	at com.intellij.codeInsight.daemon.impl.LineMarkersPass.doCollectInformation(LineMarkersPass.java:115)	at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70)	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.c(PassExecutorService.java:431)	at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1038)	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.b(PassExecutorService.java:424)	at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:568)	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:519)	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:423)	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:403)	at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:154)	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)