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
      PsiDocumentManagerBase.commitDocument
      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)
      17 frames
    7. IntelliJ sql module
      SqlCopyPasteProcessor.preprocessOnPaste
      1. com.intellij.sql.SqlCopyPasteProcessor.preprocessOnPaste(SqlCopyPasteProcessor.java:43)
      1 frame
    8. IDEA
      PasteHandler.doExecute
      1. com.intellij.codeInsight.editorActions.PasteHandler.a(PasteHandler.java:192)
      2. com.intellij.codeInsight.editorActions.PasteHandler.execute(PasteHandler.java:117)
      3. com.intellij.codeInsight.editorActions.PasteHandler.doExecute(PasteHandler.java:70)
      3 frames
    9. Openapi
      EditorAction$1.run
      1. com.intellij.openapi.editor.actionSystem.EditorActionHandler$4.perform(EditorActionHandler.java:215)
      2. com.intellij.openapi.editor.actionSystem.EditorActionHandler.doIfEnabled(EditorActionHandler.java:107)
      3. com.intellij.openapi.editor.actionSystem.EditorActionHandler.execute(EditorActionHandler.java:212)
      4. com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:97)
      4 frames
    10. IDEA
      CoreCommandProcessor.executeCommand
      1. com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:124)
      1 frame
    11. 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
    12. 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
    13. 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