com.intellij.psi.PsiInvalidElementAccessException: Element class com.intellij.psi.impl.source.tree.java.ClassElement of type CLASS

GitHub | gavinking | 3 months ago
  1. 0

    bug that causes model update to be disabled at startup

    GitHub | 3 months ago | gavinking
    com.intellij.psi.PsiInvalidElementAccessException: Element class com.intellij.psi.impl.source.tree.java.ClassElement of type CLASS
  2. 0

    exception when editing Go file with structure view open

    GitHub | 11 months ago | sjamesr
    com.intellij.psi.PsiInvalidElementAccessException: Element: class com.goide.psi.impl.GoAnonymousFieldDefinitionImpl because: parent is null invalidated at: see attachment
  3. 0

    Exception

    GitHub | 11 months ago | zolotov
    com.intellij.psi.PsiInvalidElementAccessException: Element: class com.goide.psi.impl.GoVarDefinitionImpl because: containing file is null invalidated at: see attachment
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    PsiInvalidElementAccessException

    YouTrack | 8 years ago
    com.intellij.psi.PsiInvalidElementAccessException: Element: class org.jetbrains.plugins.ruby.ruby.lang.psi.impl.controlStructures.classes.RObjectClassImpl
  6. 0

    com.intellij.psi.PsiInvalidElementAccessException: Element: class org.jetbrains.plugins.ruby.ruby.lang.psi.impl.controlStructures.blocks.RBodyStatementImpl

    YouTrack | 8 years ago
    com.intellij.psi.PsiInvalidElementAccessException: Element: class org.jetbrains.plugins.ruby.ruby.lang.psi.impl.controlStructures.blocks.RBodyStatementImpl

    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.source.tree.java.ClassElement of type CLASS

      at com.intellij.psi.PsiInvalidElementAccessException.createByNode()
    2. IDEA
      StubBasedPsiElementBase.getContainingFile
      1. com.intellij.psi.PsiInvalidElementAccessException.createByNode(PsiInvalidElementAccessException.java:93)
      2. com.intellij.psi.impl.source.SubstrateRef$2.getContainingFile(SubstrateRef.java:96)
      3. com.intellij.extapi.psi.StubBasedPsiElementBase.getContainingFile(StubBasedPsiElementBase.java:242)
      3 frames
    3. org.intellij.plugins
      concurrencyManager_$2.$call$
      1. org.intellij.plugins.ceylon.ide.ceylonCode.model.PSIPackage$1.$call$(PSIPackage.ceylon:21)
      2. org.intellij.plugins.ceylon.ide.ceylonCode.model.PSIPackage$1.$call$(PSIPackage.ceylon:20)
      3. org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_$2.$call$(concurrencyManager.ceylon:108)
      3 frames
    4. ceylon.interop.java
      JavaRunnable.run
      1. ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
      1 frame
    5. IDEA
      CoreProgressManager.executeNonCancelableSection
      1. com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:494)
      2. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443)
      3. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      4. com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:198)
      4 frames
    6. org.intellij.plugins
      PSIPackage.getQualifiedName
      1. org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_.needReadAccess$canonical$(concurrencyManager.ceylon:115)
      2. org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_.needReadAccess(concurrencyManager.ceylon:102)
      3. org.intellij.plugins.ceylon.ide.ceylonCode.model.PSIPackage.getQualifiedName(PSIPackage.ceylon:20)
      3 frames
    7. com.redhat.ceylon
      IdeModelLoader$3$1.$call$
      1. com.redhat.ceylon.model.loader.AbstractModelLoader.getPackageNameForQualifiedClassName(AbstractModelLoader.java:734)
      2. com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:667)
      3. com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:662)
      4. com.redhat.ceylon.ide.common.model.BaseIdeModelLoader.convertToDeclaration(IdeModelLoader.ceylon:521)
      5. com.redhat.ceylon.ide.common.model.IdeModelLoader$3$1.$call$(IdeModelLoader.ceylon:811)
      5 frames
    8. ceylon.language
      Iterable$impl.each
      1. ceylon.language.Iterable$impl.each(Iterable.ceylon:352)
      1 frame
    9. ceylon.language.impl
      BaseIterable.each
      1. ceylon.language.impl.BaseIterable.each(bases.ceylon)
      1 frame
    10. com.redhat.ceylon
      AbstractModelLoader$1.call
      1. com.redhat.ceylon.ide.common.model.IdeModelLoader$3.$call$(IdeModelLoader.ceylon:805)
      2. com.redhat.ceylon.ide.common.model.IdeModelLoader$3.$call$(IdeModelLoader.ceylon:767)
      3. com.redhat.ceylon.ide.common.model.BaseIdeModelLoader$1anonymous_0_.call(IdeModelLoader.ceylon:133)
      4. com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:345)
      4 frames
    11. org.intellij.plugins
      IdeaModelLoader.embeddingSync
      1. org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:122)
      1 frame
    12. com.redhat.ceylon
      AbstractModelLoader$1.call
      1. com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:341)
      2. com.redhat.ceylon.ide.common.model.BaseIdeModelLoader.callWithLock(IdeModelLoader.ceylon:132)
      3. com.redhat.ceylon.ide.common.model.IdeModelLoader.loadPackage(IdeModelLoader.ceylon:824)
      4. com.redhat.ceylon.model.loader.model.LazyPackage$2.call(LazyPackage.java:207)
      5. com.redhat.ceylon.model.loader.model.LazyPackage$2.call(LazyPackage.java:203)
      6. com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:345)
      6 frames
    13. org.intellij.plugins
      IdeaModelLoader$1.$call$
      1. org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1$1.$call$(IdeaModelLoader.ceylon:105)
      2. org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_.withIndexStrategy$priv$(concurrencyManager.ceylon:207)
      3. org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_.outsideDumbMode(concurrencyManager.ceylon:238)
      4. org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1.$call$(IdeaModelLoader.ceylon:104)
      4 frames
    14. ceylon.interop.java
      JavaRunnable.run
      1. ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
      1 frame
    15. IDEA
      DumbService.runReadActionInSmartMode
      1. com.intellij.openapi.project.DumbService$2.compute(DumbService.java:125)
      2. com.intellij.openapi.project.DumbService$2.compute(DumbService.java:119)
      3. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:871)
      4. com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:119)
      4 frames
    16. org.intellij.plugins
      IdeaModelLoader.embeddingSync
      1. org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:101)
      1 frame
    17. com.redhat.ceylon
      FileVirtualFile$impl.getUnit
      1. com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:341)
      2. com.redhat.ceylon.model.loader.model.LazyPackage.getMembers(LazyPackage.java:203)
      3. com.redhat.ceylon.ide.common.vfs.FileVirtualFile$impl.getUnit(interfaces.ceylon:252)
      3 frames
    18. org.intellij.plugins
      VirtualFileVirtualFile.getUnit
      1. org.intellij.plugins.ceylon.ide.ceylonCode.vfs.VirtualFileVirtualFile.getUnit(ideaVfs.ceylon)
      1 frame
    19. com.redhat.ceylon
      CeylonProjectBuild$1searchForNewDependencies_$1$1.next
      1. com.redhat.ceylon.ide.common.model.CeylonProjectBuild.getDependentsOf$priv$(CeylonProjectBuild.ceylon:1274)
      2. com.redhat.ceylon.ide.common.model.CeylonProjectBuild.access$2100(CeylonProjectBuild.ceylon:122)
      3. com.redhat.ceylon.ide.common.model.CeylonProjectBuild$1searchForNewDependencies_$1$1.$iterator$2(CeylonProjectBuild.ceylon:1332)
      4. com.redhat.ceylon.ide.common.model.CeylonProjectBuild$1searchForNewDependencies_$1$1.dependingFilePath(CeylonProjectBuild.ceylon:1332)
      5. com.redhat.ceylon.ide.common.model.CeylonProjectBuild$1searchForNewDependencies_$1$1.$next$3(CeylonProjectBuild.ceylon:1332)
      6. com.redhat.ceylon.ide.common.model.CeylonProjectBuild$1searchForNewDependencies_$1$1.next(CeylonProjectBuild.ceylon:1333)
      6 frames
    20. ceylon.language
      Iterable$impl.sequence
      1. ceylon.language.Array.createArrayFromIterable(Array.java:164)
      2. ceylon.language.Array.<init>(Array.java:112)
      3. ceylon.language.Iterable$impl.sequence(Iterable.ceylon:278)
      3 frames
    21. ceylon.language.impl
      BaseIterable.sequence
      1. ceylon.language.impl.BaseIterable.sequence(bases.ceylon)
      1 frame
    22. com.redhat.ceylon
      CeylonProjectBuild.performBuild
      1. com.redhat.ceylon.ide.common.model.CeylonProjectBuild$1searchForNewDependencies_.searchForNewDependencies(CeylonProjectBuild.ceylon:1335)
      2. com.redhat.ceylon.ide.common.model.CeylonProjectBuild.searchForDependantFiles$priv$(CeylonProjectBuild.ceylon:1337)
      3. com.redhat.ceylon.ide.common.model.CeylonProjectBuild.calculateDependencies$priv$(CeylonProjectBuild.ceylon:1172)
      4. com.redhat.ceylon.ide.common.model.CeylonProjectBuild.consumeModelChanges(CeylonProjectBuild.ceylon:1125)
      5. com.redhat.ceylon.ide.common.model.CeylonProjectBuild.performBuild$canonical$(CeylonProjectBuild.ceylon:599)
      6. com.redhat.ceylon.ide.common.model.CeylonProjectBuild.performBuild(CeylonProjectBuild.ceylon:577)
      6 frames
    23. org.intellij.plugins
      CeylonModelManager$2$2$1anonymous_4_.run
      1. org.intellij.plugins.ceylon.ide.ceylonCode.model.CeylonModelManager$2$2$1anonymous_4_$1.$call$(CeylonModelManager.ceylon:433)
      2. org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_.withIndexStrategy$priv$(concurrencyManager.ceylon:207)
      3. org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_.withUpToDateIndexes(concurrencyManager.ceylon:228)
      4. org.intellij.plugins.ceylon.ide.ceylonCode.model.CeylonModelManager$2$2$1anonymous_4_.run(CeylonModelManager.ceylon:428)
      4 frames
    24. IDEA
      ApplicationImpl$2.run
      1. com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
      2. com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:170)
      3. com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:494)
      4. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443)
      5. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      6. com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:155)
      7. com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
      8. com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:308)
      8 frames
    25. 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