com.intellij.psi.PsiInvalidElementAccessException: Element: class com.intellij.psi.impl.compiled.ClsMethodImpl because: containing file is null invalidated at: no info

GitHub | gavinking | 5 months ago
  1. 0

    error building hierarchy

    GitHub | 5 months ago | gavinking
    com.intellij.psi.PsiInvalidElementAccessException: Element: class com.intellij.psi.impl.compiled.ClsMethodImpl because: containing file is null invalidated at: no info
  2. 0

    GitHub comment 222#223041830

    GitHub | 6 months ago | FroMage
    com.intellij.psi.PsiInvalidElementAccessException: Element: class com.intellij.psi.impl.compiled.ClsMethodImpl because: containing file is null invalidated at: no info
  3. 0

    PIEAE at com.intellij.psi.impl.source.tree.CompositePsiElement.getContainingFile

    YouTrack | 2 years ago
    com.intellij.psi.PsiInvalidElementAccessException: Element: class com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl because: containing file is null invalidated at: see attachment
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    val sometimes fails to be parsed correctly

    GitHub | 2 years ago | twilek
    com.intellij.psi.PsiInvalidElementAccessException: Element: class com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl because: containing file is null invalidated at: see attachment
  6. 0

    Exception in jsp

    YouTrack | 4 years ago
    com.intellij.psi.PsiInvalidElementAccessException: Element: class com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl because: containing file is null invalidated at: see attachment

    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.intellij.psi.impl.compiled.ClsMethodImpl because: containing file is null invalidated at: no info

      at com.intellij.psi.impl.compiled.ClsRepositoryPsiElement.getManager()
    2. IDEA
      UniqueResultsQuery.findFirst
      1. com.intellij.psi.impl.compiled.ClsRepositoryPsiElement.getManager(ClsRepositoryPsiElement.java:47)
      2. com.intellij.psi.impl.PsiElementBase.getProject(PsiElementBase.java:214)
      3. com.intellij.psi.impl.PsiSuperMethodImplUtil.getHierarchicalMethodSignature(PsiSuperMethodImplUtil.java:384)
      4. com.intellij.psi.impl.compiled.ClsMethodImpl.getHierarchicalMethodSignature(ClsMethodImpl.java:126)
      5. com.intellij.psi.impl.search.MethodSuperSearcher$1.compute(MethodSuperSearcher.java:45)
      6. com.intellij.psi.impl.search.MethodSuperSearcher$1.compute(MethodSuperSearcher.java:42)
      7. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:870)
      8. com.intellij.psi.impl.search.MethodSuperSearcher.execute(MethodSuperSearcher.java:42)
      9. com.intellij.psi.impl.search.MethodSuperSearcher.execute(MethodSuperSearcher.java:35)
      10. com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:45)
      11. com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:79)
      12. com.intellij.util.AbstractQuery.findFirst(AbstractQuery.java:56)
      13. com.intellij.util.UniqueResultsQuery.findFirst(UniqueResultsQuery.java:51)
      13 frames
    3. org.intellij.plugins
      IdeaModelLoader.isOverridingMethod
      1. org.intellij.plugins.ceylon.ide.ceylonCode.model.PSIMethod.getComputedIsOverriding$priv$(PSIMethod.ceylon:40)
      2. org.intellij.plugins.ceylon.ide.ceylonCode.model.PSIMethod.getIsOverriding(PSIMethod.ceylon:43)
      3. org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.isOverridingMethod(IdeaModelLoader.ceylon:125)
      3 frames
    4. com.redhat.ceylon
      IdeModule$24.$call$
      1. com.redhat.ceylon.model.loader.AbstractModelLoader.completeActual(AbstractModelLoader.java:4041)
      2. com.redhat.ceylon.model.typechecker.model.Declaration.completeActual(Declaration.java:290)
      3. com.redhat.ceylon.model.typechecker.model.Declaration.isActual(Declaration.java:194)
      4. com.redhat.ceylon.model.typechecker.model.TypeDeclaration.isBetterRefinement(TypeDeclaration.java:402)
      5. com.redhat.ceylon.model.typechecker.model.TypeDeclaration.getRefinedMember(TypeDeclaration.java:390)
      6. com.redhat.ceylon.model.typechecker.model.TypeDeclaration.getRefinedMember(TypeDeclaration.java:365)
      7. com.redhat.ceylon.model.typechecker.model.TypeDeclaration.getRefinedMember(TypeDeclaration.java:347)
      8. com.redhat.ceylon.model.typechecker.model.TypeDeclaration.getRefinedMember(TypeDeclaration.java:340)
      9. com.redhat.ceylon.compiler.typechecker.analyzer.RefinementVisitor.checkMember(RefinementVisitor.java:761)
      10. com.redhat.ceylon.compiler.typechecker.analyzer.RefinementVisitor.visit(RefinementVisitor.java:157)
      11. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:63)
      12. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:64)
      13. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:65)
      14. com.redhat.ceylon.compiler.typechecker.tree.Tree$AttributeDeclaration.visit(Tree.java:1268)
      15. com.redhat.ceylon.compiler.typechecker.tree.Walker.walkBody(Walker.java:437)
      16. com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassBody(Walker.java:446)
      17. com.redhat.ceylon.compiler.typechecker.tree.Tree$ClassBody.visitChildren(Tree.java:1874)
      18. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
      19. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:83)
      20. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:85)
      21. com.redhat.ceylon.compiler.typechecker.tree.Tree$ClassBody.visit(Tree.java:1866)
      22. com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassDefinition(Walker.java:250)
      23. com.redhat.ceylon.compiler.typechecker.tree.Tree$ClassDefinition.visitChildren(Tree.java:953)
      24. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
      25. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:131)
      26. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:132)
      27. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:40)
      28. com.redhat.ceylon.compiler.typechecker.analyzer.RefinementVisitor.visit(RefinementVisitor.java:128)
      29. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:42)
      30. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:43)
      31. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:54)
      32. com.redhat.ceylon.compiler.typechecker.analyzer.RefinementVisitor.visit(RefinementVisitor.java:95)
      33. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:55)
      34. com.redhat.ceylon.compiler.typechecker.tree.Tree$ClassDefinition.visit(Tree.java:945)
      35. com.redhat.ceylon.compiler.typechecker.tree.Walker.walkCompilationUnit(Walker.java:30)
      36. com.redhat.ceylon.compiler.typechecker.tree.Tree$CompilationUnit.visitChildren(Tree.java:30)
      37. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
      38. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:26)
      39. com.redhat.ceylon.compiler.typechecker.tree.Tree$CompilationUnit.visit(Tree.java:22)
      40. com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.validateRefinement(PhasedUnit.java:407)
      41. com.redhat.ceylon.ide.common.model.IdeModule$24.$call$(IdeModule.ceylon:911)
      41 frames
    5. org.intellij.plugins
      IdeaModule.encloseOnTheFlyTypechecking
      1. org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModule$1.$call$(IdeaModule.ceylon:56)
      2. org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_.withIndexStrategy$priv$(concurrencyManager.ceylon:186)
      3. org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_.withUpToDateIndexes(concurrencyManager.ceylon:207)
      4. org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModule.encloseOnTheFlyTypechecking(IdeaModule.ceylon:55)
      4 frames
    6. com.redhat.ceylon
      IdeModule.getPhasedUnits
      1. com.redhat.ceylon.ide.common.model.IdeModule.buildPhasedUnitForBinaryUnit$priv$(IdeModule.ceylon:905)
      2. com.redhat.ceylon.ide.common.model.IdeModule.access$300(IdeModule.ceylon:191)
      3. com.redhat.ceylon.ide.common.model.IdeModule$BinaryPhasedUnits.fromStoredType(IdeModule.ceylon:333)
      4. com.redhat.ceylon.ide.common.model.IdeModule$BinaryPhasedUnits.fromStoredType(IdeModule.ceylon:288)
      5. com.redhat.ceylon.compiler.typechecker.context.PhasedUnitMap.getPhasedUnits(PhasedUnitMap.java:50)
      6. com.redhat.ceylon.ide.common.model.IdeModule$11.$call$(IdeModule.ceylon:548)
      7. com.redhat.ceylon.ide.common.model.IdeModule$11.$call$(IdeModule.ceylon:547)
      8. com.redhat.ceylon.ide.common.model.IdeModule$10.$call$(IdeModule.ceylon:539)
      9. com.redhat.ceylon.ide.common.util.synchronize_.synchronize(synchronize_.java:33)
      10. com.redhat.ceylon.ide.common.model.IdeModule.doWithPhasedUnitsObject$priv$(IdeModule.ceylon:537)
      11. com.redhat.ceylon.ide.common.model.IdeModule.getPhasedUnits(IdeModule.ceylon:546)
      11 frames
    7. org.intellij.plugins
      collectPhasedUnits_$1anonymous_0_.run
      1. org.intellij.plugins.ceylon.ide.ceylonCode.hierarchy.collectPhasedUnits_$1anonymous_0_.run(CeylonHierarchy.ceylon:101)
      1 frame
    8. IDEA
      ApplicationImpl$2.run
      1. com.intellij.openapi.progress.impl.CoreProgressManager$6.run(CoreProgressManager.java:256)
      2. com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
      3. com.intellij.openapi.progress.impl.CoreProgressManager$9.run(CoreProgressManager.java:384)
      4. com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:170)
      5. com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:494)
      6. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443)
      7. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      8. com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:155)
      9. com.intellij.openapi.application.impl.ApplicationImpl.lambda$null$9(ApplicationImpl.java:555)
      10. com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:308)
      10 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames