com.intellij.psi.PsiInvalidElementAccessException: Element: class com.jetbrains.python.psi.impl.PyImportElementImpl

YouTrack | 3 months ago
  1. 0

    com.intellij.psi.PsiInvalidElementAccessException: Element: class com.jetbrains.python.psi.impl.PyImportElementImpl

    YouTrack | 3 months ago
    com.intellij.psi.PsiInvalidElementAccessException: Element: class com.jetbrains.python.psi.impl.PyImportElementImpl
  2. 0

    Crash/Inability to select a class in project view

    YouTrack | 5 years ago
    com.intellij.psi.PsiInvalidElementAccessException: Element: class org.jetbrains.plugins.scala.lang.psi.impl.toplevel.typedef.ScClassImpl
  3. 0

    Idea crash

    YouTrack | 5 years ago
    com.intellij.psi.PsiInvalidElementAccessException: Element: class org.jetbrains.plugins.scala.lang.psi.impl.toplevel.packaging.ScPackagingImpl
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Extract Interface issue during searching for places to replace with new interface

    YouTrack | 5 years ago
    com.intellij.psi.PsiInvalidElementAccessException: Element: class com.intellij.psi.impl.source.PsiClassImpl
  6. 0

    Paste Commented Code Errors

    YouTrack | 6 years ago
    com.intellij.psi.PsiInvalidElementAccessException: Element: class com.jetbrains.php.lang.psi.elements.impl.GroupStatementImpl

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.intellij.psi.PsiInvalidElementAccessException

      Element: class com.jetbrains.python.psi.impl.PyImportElementImpl

      at com.intellij.psi.impl.source.SubstrateRef$1.getNode()
    2. IDEA
      StubBasedPsiElementBase.getStubOrPsiChild
      1. com.intellij.psi.impl.source.SubstrateRef$1.getNode(SubstrateRef.java:60)
      2. com.intellij.extapi.psi.StubBasedPsiElementBase.getNode(StubBasedPsiElementBase.java:135)
      3. com.intellij.extapi.psi.StubBasedPsiElementBase.getParentByTree(StubBasedPsiElementBase.java:322)
      4. com.intellij.extapi.psi.StubBasedPsiElementBase.getParent(StubBasedPsiElementBase.java:332)
      5. com.intellij.psi.PsiInvalidElementAccessException.reason(PsiInvalidElementAccessException.java:159)
      6. com.intellij.psi.PsiInvalidElementAccessException.getMessageWithReason(PsiInvalidElementAccessException.java:119)
      7. com.intellij.psi.PsiInvalidElementAccessException.<init>(PsiInvalidElementAccessException.java:77)
      8. com.intellij.psi.PsiInvalidElementAccessException.<init>(PsiInvalidElementAccessException.java:48)
      9. com.intellij.psi.impl.source.SubstrateRef$1.getNode(SubstrateRef.java:60)
      10. com.intellij.extapi.psi.StubBasedPsiElementBase.getNode(StubBasedPsiElementBase.java:135)
      11. com.intellij.extapi.psi.StubBasedPsiElementBase.getStubOrPsiChild(StubBasedPsiElementBase.java:369)
      11 frames
    3. JetBrains python
      PyTargetExpressionElementType.createStub
      1. com.jetbrains.python.psi.impl.PyImportElementImpl.getAsNameElement(PyImportElementImpl.java:75)
      2. com.jetbrains.python.psi.impl.PyImportElementImpl.getAsName(PyImportElementImpl.java:84)
      3. com.jetbrains.python.psi.impl.PyImportElementImpl.a(PyImportElementImpl.java:212)
      4. com.jetbrains.python.psi.impl.PyImportElementImpl.getElementNamed(PyImportElementImpl.java:206)
      5. com.jetbrains.python.psi.resolve.PyResolveProcessor.a(PyResolveProcessor.java:118)
      6. com.jetbrains.python.psi.resolve.PyResolveProcessor.execute(PyResolveProcessor.java:66)
      7. com.jetbrains.python.psi.resolve.PyResolveUtil.scopeCrawlUp(PyResolveUtil.java:92)
      8. com.jetbrains.python.psi.resolve.PyResolveUtil.scopeCrawlUp(PyResolveUtil.java:63)
      9. com.jetbrains.python.psi.impl.stubs.PyNamedTupleStubImpl.c(PyNamedTupleStubImpl.java:297)
      10. com.jetbrains.python.psi.impl.stubs.PyNamedTupleStubImpl.e(PyNamedTupleStubImpl.java:253)
      11. com.jetbrains.python.psi.impl.stubs.PyNamedTupleStubImpl.d(PyNamedTupleStubImpl.java:156)
      12. com.jetbrains.python.psi.impl.stubs.PyNamedTupleStubImpl.create(PyNamedTupleStubImpl.java:75)
      13. com.jetbrains.python.psi.impl.stubs.PyNamedTupleStubImpl.create(PyNamedTupleStubImpl.java:61)
      14. com.jetbrains.python.psi.impl.stubs.PyNamedTupleStubType.createStub(PyNamedTupleStubType.java:31)
      15. com.jetbrains.python.psi.impl.stubs.PyNamedTupleStubType.createStub(PyNamedTupleStubType.java:26)
      16. com.jetbrains.python.psi.impl.stubs.PyTargetExpressionElementType.createStub(PyTargetExpressionElementType.java:75)
      17. com.jetbrains.python.psi.impl.stubs.PyTargetExpressionElementType.createStub(PyTargetExpressionElementType.java:43)
      17 frames
    4. IDEA
      StubIndex.getElements
      1. com.intellij.psi.stubs.DefaultStubBuilder.buildStubTreeFor(DefaultStubBuilder.java:74)
      2. com.intellij.psi.stubs.DefaultStubBuilder.buildStubTree(DefaultStubBuilder.java:36)
      3. com.intellij.psi.impl.source.PsiFileImpl.calcStubTree(PsiFileImpl.java:1064)
      4. com.intellij.psi.stubs.StubProcessingHelperBase.processStubsInFile(StubProcessingHelperBase.java:76)
      5. com.intellij.psi.stubs.StubProcessingHelperBase.processStubsInFile(StubProcessingHelperBase.java:52)
      6. com.intellij.psi.stubs.StubIndexImpl$2.process(StubIndexImpl.java:324)
      7. com.intellij.psi.stubs.StubIndexImpl$StubIdListContainerAction.perform(StubIndexImpl.java:675)
      8. com.intellij.psi.stubs.StubIndexImpl$StubIdListContainerAction.perform(StubIndexImpl.java:663)
      9. com.intellij.util.indexing.ValueContainer.forEach(ValueContainer.java:81)
      10. com.intellij.psi.stubs.StubIndexImpl.a(StubIndexImpl.java:350)
      11. com.intellij.psi.stubs.StubIndexImpl.processElements(StubIndexImpl.java:316)
      12. com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:146)
      13. com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:135)
      13 frames
    5. JetBrains python
      PyClassInheritorsSearchExecutor.execute
      1. com.jetbrains.python.psi.search.PyClassInheritorsSearchExecutor.a(PyClassInheritorsSearchExecutor.java:59)
      2. com.jetbrains.python.psi.search.PyClassInheritorsSearchExecutor.execute(PyClassInheritorsSearchExecutor.java:46)
      3. com.jetbrains.python.psi.search.PyClassInheritorsSearchExecutor.execute(PyClassInheritorsSearchExecutor.java:37)
      3 frames
    6. IDEA
      UniqueResultsQuery.forEach
      1. com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:45)
      2. com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:79)
      3. com.intellij.util.UniqueResultsQuery.process(UniqueResultsQuery.java:66)
      4. com.intellij.util.UniqueResultsQuery.forEach(UniqueResultsQuery.java:56)
      4 frames
    7. JetBrains python
      PyLineMarkerProvider.collectSlowLineMarkers
      1. com.jetbrains.python.codeInsight.PyLineMarkerProvider.a(PyLineMarkerProvider.java:244)
      2. com.jetbrains.python.codeInsight.PyLineMarkerProvider.collectSlowLineMarkers(PyLineMarkerProvider.java:221)
      2 frames
    8. IDEA
      JobLauncherImpl$VoidForkJoinTask$1.exec
      1. com.intellij.codeInsight.daemon.impl.SlowLineMarkersPass.addLineMarkers(SlowLineMarkersPass.java:78)
      2. com.intellij.codeInsight.daemon.impl.SlowLineMarkersPass.doCollectInformation(SlowLineMarkersPass.java:65)
      3. com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70)
      4. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.c(PassExecutorService.java:434)
      5. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1034)
      6. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.b(PassExecutorService.java:427)
      7. com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:494)
      8. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443)
      9. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      10. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:426)
      11. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:402)
      12. com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:154)
      12 frames
    9. Java RT
      ForkJoinWorkerThread.run
      1. java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      2. java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
      3. java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
      4. java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      4 frames