com.intellij.diagnostic.PluginException……[Plugin: hg4idea]
【遇到问题】
当前项目打不开了
com.intellij.diagnostic.PluginException: Cannot init component state (componentName=HgUpdateConfigurationSettings, componentClass=HgUpdateConfigurationSettings) [Plugin: hg4idea]
at com.intellij.configurationStore.ComponentStoreImpl.initComponent(ComponentStoreImpl.kt:148)
at com.intellij.configurationStore.ComponentStoreWithExtraComponents.initComponent(ComponentStoreWithExtraComponents.kt:46)
at com.intellij.serviceContainer.ComponentManagerImpl.initializeComponent$intellij_platform_serviceContainer(ComponentManagerImpl.kt:581)
at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:47)
……
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
Caused by: org.jdom.JDOMException: Unexpected character '<' (code 60); expected a name start character
……
Caused by: com.fasterxml.aalto.WFCException: Unexpected character '<' (code 60); expected a name start character
……
【分析问题】
重点在这里:[Plugin: hg4idea]
是当前项目的版本控制出了问题
【解决问题】
因为当前项目进不去,为了弹出更详细的提示,可以先打开自己其他没有问题的项目,再通过recent打开当前项目