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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by jansorg
, 1 year ago
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
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(DiffLog.java:78)
at com.intellij.psi.impl.source.text.DiffLog.nodeReplaced(DiffLog.java:66)
at com.intellij.psi.impl.source.text.DiffLog.nodeReplaced(DiffLog.java:41)
at com.intellij.lang.impl.PsiBuilderImpl$ConvertFromTokensToASTBuilder.nodeReplaced(PsiBuilderImpl.java:1082)
at com.intellij.util.diff.DiffTree.compareLevel(DiffTree.java:84)
at com.intellij.util.diff.DiffTree.build(DiffTree.java:78)
at com.intellij.psi.impl.source.text.BlockSupportImpl.diffTrees(BlockSupportImpl.java:276)
at com.intellij.lang.impl.PsiBuilderImpl.a(PsiBuilderImpl.java:1098)
at com.intellij.lang.impl.PsiBuilderImpl.e(PsiBuilderImpl.java:1025)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:1006)
at com.ansorgit.plugins.bash.lang.parser.BashParser.parse(BashParser.java:67)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:64)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:43)
at com.intellij.psi.impl.source.tree.LazyParseableElement.f(LazyParseableElement.java:172)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:212)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:36)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:301)
at com.intellij.psi.impl.source.text.BlockSupportImpl.mergeTrees(BlockSupportImpl.java:246)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:194)
at com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRange(BlockSupportImpl.java:138)
at com.intellij.psi.impl.DocumentCommitProcessor.doCommit(DocumentCommitProcessor.java:123)
at com.intellij.psi.impl.DocumentCommitThread$4.run(DocumentCommitThread.java:474)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:484)
at com.intellij.psi.impl.DocumentCommitThread.commitSynchronously(DocumentCommitThread.java:423)
at com.intellij.psi.impl.PsiDocumentManagerBase$5.run(PsiDocumentManagerBase.java:377)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:977)
at com.intellij.psi.impl.PsiDocumentManagerBase.b(PsiDocumentManagerBase.java:369)
at com.intellij.codeInsight.editorActions.PasteHandler.a(PasteHandler.java:192)
at com.intellij.codeInsight.editorActions.PasteHandler.execute(PasteHandler.java:117)
at com.intellij.openapi.editor.actionSystem.EditorActionHandler$4.perform(EditorActionHandler.java:215)
at com.intellij.openapi.editor.actionSystem.EditorActionHandler.doIfEnabled(EditorActionHandler.java:107)
at com.intellij.openapi.editor.actionSystem.EditorActionHandler.execute(EditorActionHandler.java:212)
at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:108)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$3.performAction(IdeKeyEventDispatcher.java:614)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:663)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.d(IdeKeyEventDispatcher.java:513)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:211)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:546)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.