在Intellij CE 2018.3.5上,使用捆绑的Android支持插件,在尝试创建Android项目时遇到了此异常。我使用了向导建议的默认选项。
java.lang.RuntimeException: Project 'SomeDir/MyApplication' My Application; Disposed: false; Open: false
at com.intellij.psi.impl.DocumentCommitThread.commitSynchronously(DocumentCommitThread.java:348)
at com.intellij.psi.impl.PsiDocumentManagerBase.lambda$doCommit$2(PsiDocumentManagerBase.java:443)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1057)
at com.intellij.psi.impl.PsiDocumentManagerBase.doCommit(PsiDocumentManagerBase.java:451)
at com.intellij.psi.impl.PsiDocumentManagerBase.commitDocument(PsiDocumentManagerBase.java:290)
at com.intellij.psi.impl.PsiDocumentManagerBase.commitAllDocuments(PsiDocumentManagerBase.java:209)
at com.intellij.openapi.application.impl.ApplicationImpl.invokeAndWait(ApplicationImpl.java:670)
at com.intellij.openapi.application.impl.ApplicationImpl.invokeAndWait(ApplicationImpl.java:683)
at com.android.tools.idea.templates.Template.render(Template.java:255)
at com.android.tools.idea.npw.project.NewProjectModel$ProjectTemplateRenderer.performCreateProject(NewProjectModel.java:296)
at com.android.tools.idea.npw.project.NewProjectModel$ProjectTemplateRenderer.render(NewProjectModel.java:253)
at com.android.tools.idea.npw.template.MultiTemplateRenderer.countDown(MultiTemplateRenderer.java:64)
at com.android.tools.idea.npw.template.MultiTemplateRenderer.skipRender(MultiTemplateRenderer.java:82)
at com.android.tools.idea.npw.template.RenderTemplateModel.handleSkipped(RenderTemplateModel.java:190)
at com.android.tools.idea.wizard.model.ModelWizard.handleFinished(ModelWizard.java:409)
at com.android.tools.idea.wizard.model.ModelWizard.goForward(ModelWizard.java:331)
at com.android.tools.idea.npw.ideahost.IdeaWizardAdapter.doNextAction(IdeaWizardAdapter.java:88)
at com.android.tools.idea.npw.ideahost.AndroidModuleBuilder.doNextAction(AndroidModuleBuilder.java:139)
at com.intellij.ide.util.newProjectWizard.AbstractProjectWizard.doNextAction(AbstractProjectWizard.java:246)
at com.intellij.ide.wizard.AbstractWizard$5.actionPerformed(AbstractWizard.java:208)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
...
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762)
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.awt.EventQueue.dispatchEvent(EventQueue.java:732)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:719)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:668)
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)
我想知道以前有人遇到过吗?有什么办法可以解决这个问题?谢谢!
答案 0 :(得分:1)
我发现了问题。在我的IntelliJ上,我已安装 HaskForce 插件以支持Haskell。一旦禁用它,问题就消失了。
答案 1 :(得分:0)
这是known issue。请关注它以获取更新,并提供更多详细信息,以便JetBrains开发人员可以重现它。