无法在IntelliJ中打开项目结构

时间:2019-07-29 07:29:59

标签: maven intellij-idea multi-module

我在IntelliJ(2018.3)中有一个多模块项目,由于某些原因,我无法再访问该项目结构。当我点击这里 enter image description here

什么都没有发生。我也尝试添加一个新的子模块。添加了一个.iml文件,但是找不到新模块。这很烦人。

我尝试使用上一次提交从GitHub重新导入projet。它没有帮助。

有人有这个问题并且知道如何解决吗?


这是idea.log文件:

2019-07-29 09:41:32,051 [501751407]  ERROR - figuration.ModulesConfigurator - IntelliJ IDEA 2018.3.5  Build #IU-183.5912.21 
2019-07-29 09:41:32,051 [501751407]  ERROR - figuration.ModulesConfigurator - JDK: 1.8.0_152-release; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o 
2019-07-29 09:41:32,051 [501751407]  ERROR - figuration.ModulesConfigurator - OS: Mac OS X 
2019-07-29 09:41:32,052 [501751408]  ERROR - figuration.ModulesConfigurator - Last Action: ShowProjectStructureSettings 
2019-07-29 09:41:32,078 [501751434]  ERROR - llij.ide.plugins.PluginManager - Trying to initialize for different entity Project '/Users/admin/Documents/PROGRAMMING/OPENCLASSROOMS/P7/Apps_P7/WebserviceApp' p7-webservice-app, was originally initialized for Project (Disposed) applicationescalade 
java.lang.IllegalArgumentException: Trying to initialize for different entity Project '/Users/admin/Documents/PROGRAMMING/OPENCLASSROOMS/P7/Apps_P7/WebserviceApp' p7-webservice-app, was originally initialized for Project (Disposed) applicationescalade
    at com.intellij.lang.javascript.flex.projectStructure.LazyInitializer.ensureInitialized(LazyInitializer.java:16)
    at com.intellij.lang.javascript.flex.projectStructure.FlexBCConfigurator.reset(FlexBCConfigurator.java:132)
    at com.intellij.lang.javascript.flex.projectStructure.FlexBuildConfigurationsExtension.reset(FlexBuildConfigurationsExtension.java:62)
    at com.intellij.openapi.roots.ui.configuration.projectRoot.ModuleStructureConfigurable.reset(ModuleStructureConfigurable.java:355)
    at com.intellij.openapi.roots.ui.configuration.ProjectStructureConfigurable.reset(ProjectStructureConfigurable.java:354)
    at com.intellij.openapi.options.ex.SingleConfigurableEditor.<init>(SingleConfigurableEditor.java:58)
    at com.intellij.openapi.options.ex.SingleConfigurableEditor.<init>(SingleConfigurableEditor.java:80)
    at com.intellij.openapi.options.ex.SingleConfigurableEditor.<init>(SingleConfigurableEditor.java:95)
    at com.intellij.ide.actions.ShowStructureSettingsAction$1.<init>(ShowStructureSettingsAction.java:45)
    at com.intellij.ide.actions.ShowStructureSettingsAction.showDialog(ShowStructureSettingsAction.java:45)
    at com.intellij.ide.actions.ShowStructureSettingsAction.actionPerformed(ShowStructureSettingsAction.java:41)
    at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:258)
    at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88)
    at com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:153)
    at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:273)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:618)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.lambda$processAction$2(IdeKeyEventDispatcher.java:667)
    at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:195)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:666)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processActionOrWaitSecondStroke(IdeKeyEventDispatcher.java:519)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:474)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:211)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:643)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:363)
    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)
2019-07-29 09:41:32,079 [501751435]  ERROR - llij.ide.plugins.PluginManager - IntelliJ IDEA 2018.3.5  Build #IU-183.5912.21 
2019-07-29 09:41:32,079 [501751435]  ERROR - llij.ide.plugins.PluginManager - JDK: 1.8.0_152-release; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o 
2019-07-29 09:41:32,079 [501751435]  ERROR - llij.ide.plugins.PluginManager - OS: Mac OS X 
2019-07-29 09:41:32,080 [501751436]  ERROR - llij.ide.plugins.PluginManager - Last Action: ShowProjectStructureSettings 
2019-07-29 09:42:43,460 [501822816]  ERROR - figuration.ModulesConfigurator - module editors was not disposed 
java.lang.Throwable: module editors was not disposed
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:134)
    at com.intellij.openapi.roots.ui.configuration.ModulesConfigurator.c(ModulesConfigurator.java:186)
    at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1057)
    at com.intellij.openapi.roots.ui.configuration.ModulesConfigurator.resetModuleEditors(ModulesConfigurator.java:184)
    at com.intellij.openapi.roots.ui.configuration.projectRoot.StructureConfigurableContext.reset(StructureConfigurableContext.java:173)
    at com.intellij.openapi.roots.ui.configuration.ProjectStructureConfigurable.reset(ProjectStructureConfigurable.java:342)
    at com.intellij.openapi.options.ex.SingleConfigurableEditor.<init>(SingleConfigurableEditor.java:58)
    at com.intellij.openapi.options.ex.SingleConfigurableEditor.<init>(SingleConfigurableEditor.java:80)
    at com.intellij.openapi.options.ex.SingleConfigurableEditor.<init>(SingleConfigurableEditor.java:95)
    at com.intellij.ide.actions.ShowStructureSettingsAction$1.<init>(ShowStructureSettingsAction.java:45)
    at com.intellij.ide.actions.ShowStructureSettingsAction.showDialog(ShowStructureSettingsAction.java:45)
    at com.intellij.ide.actions.ShowStructureSettingsAction.actionPerformed(ShowStructureSettingsAction.java:41)
    at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:258)
    at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88)
    at com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:153)
    at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:273)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:618)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.lambda$processAction$2(IdeKeyEventDispatcher.java:667)
    at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:195)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:666)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processActionOrWaitSecondStroke(IdeKeyEventDispatcher.java:519)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:474)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:211)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:643)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:363)
    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)
2019-07-29 09:42:43,460 [501822816]  ERROR - figuration.ModulesConfigurator - IntelliJ IDEA 2018.3.5  Build #IU-183.5912.21 
2019-07-29 09:42:43,460 [501822816]  ERROR - figuration.ModulesConfigurator - JDK: 1.8.0_152-release; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o 
2019-07-29 09:42:43,460 [501822816]  ERROR - figuration.ModulesConfigurator - OS: Mac OS X 
2019-07-29 09:42:43,461 [501822817]  ERROR - figuration.ModulesConfigurator - Last Action: ShowProjectStructureSettings 
2019-07-29 09:42:43,488 [501822844]  ERROR - llij.ide.plugins.PluginManager - Trying to initialize for different entity Project '/Users/admin/Documents/PROGRAMMING/OPENCLASSROOMS/P7/Apps_P7/WebserviceApp' p7-webservice-app, was originally initialized for Project (Disposed) applicationescalade 
java.lang.IllegalArgumentException: Trying to initialize for different entity Project '/Users/admin/Documents/PROGRAMMING/OPENCLASSROOMS/P7/Apps_P7/WebserviceApp' p7-webservice-app, was originally initialized for Project (Disposed) applicationescalade
    at com.intellij.lang.javascript.flex.projectStructure.LazyInitializer.ensureInitialized(LazyInitializer.java:16)
    at com.intellij.lang.javascript.flex.projectStructure.FlexBCConfigurator.reset(FlexBCConfigurator.java:132)
    at com.intellij.lang.javascript.flex.projectStructure.FlexBuildConfigurationsExtension.reset(FlexBuildConfigurationsExtension.java:62)
    at com.intellij.openapi.roots.ui.configuration.projectRoot.ModuleStructureConfigurable.reset(ModuleStructureConfigurable.java:355)
    at com.intellij.openapi.roots.ui.configuration.ProjectStructureConfigurable.reset(ProjectStructureConfigurable.java:354)
    at com.intellij.openapi.options.ex.SingleConfigurableEditor.<init>(SingleConfigurableEditor.java:58)
    at com.intellij.openapi.options.ex.SingleConfigurableEditor.<init>(SingleConfigurableEditor.java:80)
    at com.intellij.openapi.options.ex.SingleConfigurableEditor.<init>(SingleConfigurableEditor.java:95)
    at com.intellij.ide.actions.ShowStructureSettingsAction$1.<init>(ShowStructureSettingsAction.java:45)
    at com.intellij.ide.actions.ShowStructureSettingsAction.showDialog(ShowStructureSettingsAction.java:45)
    at com.intellij.ide.actions.ShowStructureSettingsAction.actionPerformed(ShowStructureSettingsAction.java:41)
    at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:258)
    at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88)
    at com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:153)
    at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:273)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:618)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.lambda$processAction$2(IdeKeyEventDispatcher.java:667)
    at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:195)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:666)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processActionOrWaitSecondStroke(IdeKeyEventDispatcher.java:519)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:474)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:211)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:643)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:363)
    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)
2019-07-29 09:42:43,488 [501822844]  ERROR - llij.ide.plugins.PluginManager - IntelliJ IDEA 2018.3.5  Build #IU-183.5912.21 
2019-07-29 09:42:43,488 [501822844]  ERROR - llij.ide.plugins.PluginManager - JDK: 1.8.0_152-release; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o 
2019-07-29 09:42:43,488 [501822844]  ERROR - llij.ide.plugins.PluginManager - OS: Mac OS X 
2019-07-29 09:42:43,489 [501822845]  ERROR - llij.ide.plugins.PluginManager - Last Action: ShowProjectStructureSettings 

1 个答案:

答案 0 :(得分:2)

a bug logged,但有相同的例外。如果将压缩后的完整日志文件夹附加到那里,将会很有帮助。查看问题是否在IntelliJ IDEA 2019.2版本中仍然存在。