ShyykoSerhiy / gfm-plugin

Github flavored markdown plugin for intellij idea.
https://plugins.jetbrains.com/plugin/7701
MIT License
88 stars 16 forks source link

setting 'Replace Markdown plugin Preview tab', IDE fatal Errors #120

Closed wenmin92 closed 7 years ago

wenmin92 commented 7 years ago

Error message:

tried to access method com.intellij.openapi.editor.impl.EditorImpl.release()V from class com.github.shyykoserhiy.gfm.settings.GfmGlobalSettingsPanel

Details:

tried to access method com.intellij.openapi.editor.impl.EditorImpl.release()V from class com.github.shyykoserhiy.gfm.settings.GfmGlobalSettingsPanel
java.lang.IllegalAccessError: tried to access method com.intellij.openapi.editor.impl.EditorImpl.release()V from class com.github.shyykoserhiy.gfm.settings.GfmGlobalSettingsPanel
    at com.github.shyykoserhiy.gfm.settings.GfmGlobalSettingsPanel.dispose(GfmGlobalSettingsPanel.java:98)
    at com.intellij.openapi.util.Disposer$1.execute(Disposer.java:48)
    at com.intellij.openapi.util.Disposer$1.execute(Disposer.java:44)
    at com.intellij.openapi.util.objectTree.ObjectTree.executeActionWithRecursiveGuard(ObjectTree.java:151)
    at com.intellij.openapi.util.objectTree.ObjectTree.executeUnregistered(ObjectTree.java:163)
    at com.intellij.openapi.util.objectTree.ObjectTree.executeAll(ObjectTree.java:132)
    at com.intellij.openapi.util.Disposer.dispose(Disposer.java:123)
    at com.intellij.openapi.util.Disposer.dispose(Disposer.java:119)
    at com.github.shyykoserhiy.gfm.settings.GfmGlobalSettingsConfigurable.disposeUIResources(GfmGlobalSettingsConfigurable.java:100)
    at com.intellij.openapi.options.ex.ConfigurableCardPanel.dispose(ConfigurableCardPanel.java:112)
    at com.intellij.openapi.options.ex.ConfigurableCardPanel.dispose(ConfigurableCardPanel.java:35)
    at com.intellij.ui.CardLayoutPanel.removeAll(CardLayoutPanel.java:196)
    at com.intellij.ui.CardLayoutPanel.dispose(CardLayoutPanel.java:72)
    at com.intellij.openapi.util.Disposer$1.execute(Disposer.java:48)
    at com.intellij.openapi.util.Disposer$1.execute(Disposer.java:44)
    at com.intellij.openapi.util.objectTree.ObjectNode$1.execute(ObjectNode.java:130)
    at com.intellij.openapi.util.objectTree.ObjectNode$1.execute(ObjectNode.java:106)
    at com.intellij.openapi.util.objectTree.ObjectTree.executeActionWithRecursiveGuard(ObjectTree.java:151)
    at com.intellij.openapi.util.objectTree.ObjectNode.execute(ObjectNode.java:106)
    at com.intellij.openapi.util.objectTree.ObjectNode$1.execute(ObjectNode.java:122)
    at com.intellij.openapi.util.objectTree.ObjectNode$1.execute(ObjectNode.java:106)
    at com.intellij.openapi.util.objectTree.ObjectTree.executeActionWithRecursiveGuard(ObjectTree.java:151)
    at com.intellij.openapi.util.objectTree.ObjectNode.execute(ObjectNode.java:106)
    at com.intellij.openapi.util.objectTree.ObjectNode$1.execute(ObjectNode.java:122)
    at com.intellij.openapi.util.objectTree.ObjectNode$1.execute(ObjectNode.java:106)
    at com.intellij.openapi.util.objectTree.ObjectTree.executeActionWithRecursiveGuard(ObjectTree.java:151)
    at com.intellij.openapi.util.objectTree.ObjectNode.execute(ObjectNode.java:106)
    at com.intellij.openapi.util.objectTree.ObjectNode$1.execute(ObjectNode.java:122)
    at com.intellij.openapi.util.objectTree.ObjectNode$1.execute(ObjectNode.java:106)
    at com.intellij.openapi.util.objectTree.ObjectTree.executeActionWithRecursiveGuard(ObjectTree.java:151)
    at com.intellij.openapi.util.objectTree.ObjectNode.execute(ObjectNode.java:106)
    at com.intellij.openapi.util.objectTree.ObjectTree.executeAll(ObjectTree.java:137)
    at com.intellij.openapi.util.Disposer.dispose(Disposer.java:123)
    at com.intellij.openapi.util.Disposer.dispose(Disposer.java:119)
    at com.intellij.openapi.ui.DialogWrapper.close(DialogWrapper.java:429)
    at com.intellij.openapi.ui.DialogWrapper.close(DialogWrapper.java:433)
    at com.intellij.openapi.ui.DialogWrapper.doOKAction(DialogWrapper.java:1042)
    at com.intellij.openapi.options.newEditor.SettingsDialog.doOKAction(SettingsDialog.java:167)
    at com.intellij.openapi.ui.DialogWrapper$OkAction.doAction(DialogWrapper.java:1876)
    at com.intellij.openapi.ui.DialogWrapper$DialogWrapperAction.actionPerformed(DialogWrapper.java:1838)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
    at java.awt.Component.processMouseEvent(Component.java:6541)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
    at java.awt.Component.processEvent(Component.java:6306)
    at java.awt.Container.processEvent(Container.java:2236)
    at java.awt.Component.dispatchEventImpl(Component.java:4897)
    at java.awt.Container.dispatchEventImpl(Container.java:2294)
    at java.awt.Component.dispatchEvent(Component.java:4719)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
    at java.awt.Container.dispatchEventImpl(Container.java:2280)
    at java.awt.Window.dispatchEventImpl(Window.java:2746)
    at java.awt.Component.dispatchEvent(Component.java:4719)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
    at java.awt.EventQueue.access$500(EventQueue.java:98)
    at java.awt.EventQueue$3.run(EventQueue.java:715)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
    at java.awt.EventQueue$4.run(EventQueue.java:737)
    at java.awt.EventQueue$4.run(EventQueue.java:735)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
    at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:827)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:651)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
    at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
    at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
    at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
    at java.awt.Dialog.show(Dialog.java:1084)
    at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:735)
    at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:457)
    at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1696)
    at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1645)
    at com.intellij.openapi.options.newEditor.SettingsDialog.a(SettingsDialog.java:77)
    at com.intellij.openapi.application.TransactionGuardImpl.a(TransactionGuardImpl.java:86)
    at com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:151)
    at com.intellij.openapi.options.newEditor.SettingsDialog.show(SettingsDialog.java:77)
    at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:94)
    at com.intellij.ide.actions.ShowSettingsAction.perform(ShowSettingsAction.java:63)
    at com.intellij.ide.actions.ShowSettingsAction.actionPerformed(ShowSettingsAction.java:52)
    at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:215)
    at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:232)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:570)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:619)
    at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:193)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:618)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:477)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:211)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:633)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
ShyykoSerhiy commented 7 years ago

Hi, @wenmin92. Did you do something particular or did this error just occurred? Can you, please, provide IDE and OS versions. Thx

wenmin92 commented 7 years ago

Hi, @ShyykoSerhiy . This is my environment:

IntelliJ IDEA 2017.1
Build #IU-171.3780.107, built on March 22, 2017
Subscription is active until January 30, 2018
JRE: 1.8.0_112-release-736-b13 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

I tried to uninstall the plugin and reinstall, but not help, Still this error.

ShyykoSerhiy commented 7 years ago

This'll make it easier to reproduce.Thx!

dotancohen commented 7 years ago

If it helps, my system throws this error as well, or at least did at some time with the PhpStorm EAP builds.

PhpStorm 2017.1 EAP
Build #PS-171.3780.27, built on March 9, 2017
PhpStorm EAP User
Expiration date: April 8, 2017
JRE: 1.8.0_112-release-736-b11 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 3.10.0-514.10.2.el7.x86_64
kaltar commented 6 years ago

Same here: PhpStorm 2017.2

ShyykoSerhiy commented 6 years ago

@kaltar, what's your version of GFM plugin? It should be fixed.

kaltar commented 6 years ago

0.1.13 The crash happens when enabling the "Replace Markdown plugin Preview tab"

ericsmalling commented 6 years ago

I concur with @kaltar - seeing same error with 0.1.13 on IntelliJ 2017.2.4 on MacOS 10.12.16

ajaxsys commented 6 years ago

Same error on IntelliJ 2017.2.6 on windows 7 with GFM Version: 0.1.13