java.lang.IllegalAccessError: tried to access method com.intellij.psi.impl.source.text.DiffLog$ReplaceFileElement.<init>(Lcom/intellij/psi/impl/source/tree/FileElement;Lcom/intellij/psi/impl/source/tree/FileElement;)V from class com.intellij.psi.impl.source.text.DiffLog

GitHub | jansorg | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    tried to access method com.intellij.psi.impl.source.text.DiffLog$ReplaceFileElement.<init>

    GitHub | 2 years ago | jansorg
    java.lang.IllegalAccessError: tried to access method com.intellij.psi.impl.source.text.DiffLog$ReplaceFileElement.<init>(Lcom/intellij/psi/impl/source/tree/FileElement;Lcom/intellij/psi/impl/source/tree/FileElement;)V from class com.intellij.psi.impl.source.text.DiffLog

    Root Cause Analysis

    1. java.lang.IllegalAccessError

      tried to access method com.intellij.psi.impl.source.text.DiffLog$ReplaceFileElement.<init>(Lcom/intellij/psi/impl/source/tree/FileElement;Lcom/intellij/psi/impl/source/tree/FileElement;)V from class com.intellij.psi.impl.source.text.DiffLog

      at com.intellij.psi.impl.source.text.DiffLog.appendReplaceFileElement()
    2. IDEA
      PsiBuilderImpl$ConvertFromTokensToASTBuilder.nodeReplaced
      1. com.intellij.psi.impl.source.text.DiffLog.appendReplaceFileElement(DiffLog.java:78)
      2. com.intellij.psi.impl.source.text.DiffLog.nodeReplaced(DiffLog.java:66)
      3. com.intellij.psi.impl.source.text.DiffLog.nodeReplaced(DiffLog.java:41)
      4. com.intellij.lang.impl.PsiBuilderImpl$ConvertFromTokensToASTBuilder.nodeReplaced(PsiBuilderImpl.java:1082)
      5. com.intellij.lang.impl.PsiBuilderImpl$ConvertFromTokensToASTBuilder.nodeReplaced(PsiBuilderImpl.java:1060)
      5 frames
    3. Openapi
      DiffTree.diff
      1. com.intellij.util.diff.DiffTree.compareLevel(DiffTree.java:84)
      2. com.intellij.util.diff.DiffTree.build(DiffTree.java:78)
      3. com.intellij.util.diff.DiffTree.diff(DiffTree.java:51)
      3 frames
    4. IDEA
      PsiBuilderAdapter.getTreeBuilt
      1. com.intellij.psi.impl.source.text.BlockSupportImpl.diffTrees(BlockSupportImpl.java:276)
      2. com.intellij.lang.impl.PsiBuilderImpl.a(PsiBuilderImpl.java:1098)
      3. com.intellij.lang.impl.PsiBuilderImpl.e(PsiBuilderImpl.java:1025)
      4. com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:1006)
      5. com.intellij.lang.impl.PsiBuilderAdapter.getTreeBuilt(PsiBuilderAdapter.java:121)
      5 frames
    5. com.ansorgit.plugins
      BashParser.parse
      1. com.ansorgit.plugins.bash.lang.parser.BashParser.parse(BashParser.java:67)
      1 frame
    6. IDEA
      EnterHandler.executeWriteAction
      1. com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:64)
      2. com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:43)
      3. com.intellij.psi.impl.source.tree.LazyParseableElement.f(LazyParseableElement.java:172)
      4. com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:212)
      5. com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:36)
      6. com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:301)
      7. com.intellij.psi.impl.source.text.BlockSupportImpl.mergeTrees(BlockSupportImpl.java:246)
      8. com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:194)
      9. com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRange(BlockSupportImpl.java:138)
      10. com.intellij.psi.impl.DocumentCommitProcessor.doCommit(DocumentCommitProcessor.java:123)
      11. com.intellij.psi.impl.DocumentCommitThread$4.run(DocumentCommitThread.java:474)
      12. com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:484)
      13. com.intellij.psi.impl.DocumentCommitThread.commitSynchronously(DocumentCommitThread.java:423)
      14. com.intellij.psi.impl.PsiDocumentManagerBase$5.run(PsiDocumentManagerBase.java:377)
      15. com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:977)
      16. com.intellij.psi.impl.PsiDocumentManagerBase.b(PsiDocumentManagerBase.java:369)
      17. com.intellij.psi.impl.PsiDocumentManagerBase.commitDocument(PsiDocumentManagerBase.java:282)
      18. com.intellij.codeInsight.editorActions.EnterHandler.a(EnterHandler.java:118)
      19. com.intellij.codeInsight.editorActions.EnterHandler.access$000(EnterHandler.java:53)
      20. com.intellij.codeInsight.editorActions.EnterHandler$1.run(EnterHandler.java:75)
      21. com.intellij.psi.impl.source.PostprocessReformattingAspect$3.compute(PostprocessReformattingAspect.java:110)
      22. com.intellij.psi.impl.source.PostprocessReformattingAspect.disablePostprocessFormattingInside(PostprocessReformattingAspect.java:119)
      23. com.intellij.psi.impl.source.PostprocessReformattingAspect.disablePostprocessFormattingInside(PostprocessReformattingAspect.java:107)
      24. com.intellij.codeInsight.editorActions.EnterHandler.executeWriteAction(EnterHandler.java:72)
      24 frames
    7. Openapi
      EditorWriteActionHandler$1.run
      1. com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler$1.run(EditorWriteActionHandler.java:64)
      1 frame
    8. IDEA
      ApplicationImpl.runWriteAction
      1. com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:977)
      1 frame
    9. Openapi
      EditorActionHandler.execute
      1. com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler.doExecute(EditorWriteActionHandler.java:47)
      2. com.intellij.openapi.editor.actionSystem.EditorActionHandler.execute(EditorActionHandler.java:220)
      2 frames
    10. IDEA
      EnterHandler.executeWriteAction
      1. com.intellij.codeInsight.template.impl.editorActions.EnterHandler.executeWriteAction(EnterHandler.java:49)
      1 frame
    11. Openapi
      EditorWriteActionHandler$1.run
      1. com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler$1.run(EditorWriteActionHandler.java:64)
      1 frame
    12. IDEA
      ApplicationImpl.runWriteAction
      1. com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:977)
      1 frame
    13. Openapi
      EditorActionHandler$3.perform
      1. com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler.doExecute(EditorWriteActionHandler.java:47)
      2. com.intellij.openapi.editor.actionSystem.EditorActionHandler$3$1.perform(EditorActionHandler.java:204)
      3. com.intellij.openapi.editor.actionSystem.EditorActionHandler.doIfEnabled(EditorActionHandler.java:107)
      4. com.intellij.openapi.editor.actionSystem.EditorActionHandler.access$000(EditorActionHandler.java:36)
      5. com.intellij.openapi.editor.actionSystem.EditorActionHandler$3.perform(EditorActionHandler.java:201)
      5 frames
    14. IDEA
      CaretModelImpl.runForEachCaret
      1. com.intellij.openapi.editor.impl.CaretModelImpl$3.run(CaretModelImpl.java:355)
      2. com.intellij.openapi.editor.impl.CaretModelImpl.doWithCaretMerging(CaretModelImpl.java:435)
      3. com.intellij.openapi.editor.impl.CaretModelImpl.runForEachCaret(CaretModelImpl.java:346)
      3 frames
    15. Openapi
      EditorActionHandler.execute
      1. com.intellij.openapi.editor.actionSystem.EditorActionHandler.execute(EditorActionHandler.java:198)
      1 frame
    16. JetBrains php
      FrameworkEditorActionHandler.executeWriteAction
      1. com.jetbrains.php.framework.FrameworkEditorActionHandler.executeNext(FrameworkEditorActionHandler.java:332)
      2. com.jetbrains.php.framework.FrameworkEditorActionHandler.executeWriteAction(FrameworkEditorActionHandler.java:94)
      2 frames
    17. Openapi
      EditorWriteActionHandler$1.run
      1. com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler$1.run(EditorWriteActionHandler.java:64)
      1 frame
    18. IDEA
      ApplicationImpl.runWriteAction
      1. com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:977)
      1 frame
    19. Openapi
      EditorAction$1.run
      1. com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler.doExecute(EditorWriteActionHandler.java:47)
      2. com.intellij.openapi.editor.actionSystem.EditorActionHandler$4.perform(EditorActionHandler.java:215)
      3. com.intellij.openapi.editor.actionSystem.EditorActionHandler.doIfEnabled(EditorActionHandler.java:107)
      4. com.intellij.openapi.editor.actionSystem.EditorActionHandler.execute(EditorActionHandler.java:212)
      5. com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:97)
      5 frames
    20. IDEA
      CoreCommandProcessor.executeCommand
      1. com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:124)
      1 frame
    21. Openapi
      EditorAction.actionPerformed
      1. com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:108)
      2. com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:82)
      2 frames
    22. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$3.performAction(IdeKeyEventDispatcher.java:614)
      2. com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:663)
      3. com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.d(IdeKeyEventDispatcher.java:513)
      4. com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:211)
      5. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:546)
      6. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:384)
      6 frames
    23. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
      6 frames