Fixed
Status Update
Comments
ps...@google.com <ps...@google.com>
ra...@google.com <ra...@google.com> #2
2025-03-10 18:32:15,845 [64914849] WARN - #c.i.u.m.s.Menu - ProcessCanceledException is not expected
java.lang.Throwable
at com.intellij.platform.ide.menu.MacNativeActionMenuKt.createMacNativeActionMenu$lambda$1(MacNativeActionMenu.kt:46)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:101)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:101)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:107)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:101)
at com.intellij.util.concurrency.ContextRunnable.run(ContextRunnable.java:27)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/sun.awt.AWTThreading$TrackedInvocationEvent.lambda$dispatch$3(Unknown Source)
at java.desktop/sun.awt.AWTThreading$TrackedInvocationEvent.completeIfNotYet(Unknown Source)
at java.desktop/sun.awt.AWTThreading$TrackedInvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:675)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:573)
at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$18$lambda$17$lambda$16$lambda$15(IdeEventQueue.kt:355)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:857)
at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$18$lambda$17$lambda$16(IdeEventQueue.kt:354)
at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$2$lambda$1(IdeEventQueue.kt:1045)
at com.intellij.openapi.application.WriteIntentReadAction.lambda$run$0(WriteIntentReadAction.java:24)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteIntentReadAction(AnyThreadWriteThreadingSupport.kt:128)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteIntentReadAction(ApplicationImpl.java:916)
at com.intellij.openapi.application.WriteIntentReadAction.compute(WriteIntentReadAction.java:55)
at com.intellij.openapi.application.WriteIntentReadAction.run(WriteIntentReadAction.java:23)
at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$2(IdeEventQueue.kt:1045)
at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$3(IdeEventQueue.kt:1054)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:109)
at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1054)
at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$18(IdeEventQueue.kt:349)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:395)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: com.intellij.openapi.progress.CeProcessCanceledException: com.intellij.serviceContainer.AlreadyDisposedException: Already disposed: Module: 'android.lib.ui-util' (disposed)
at com.intellij.openapi.actionSystem.impl.UtilsKt$runBlockingForActionExpand$1.invoke(Utils.kt:1266)
at com.intellij.openapi.actionSystem.impl.UtilsKt$runBlockingForActionExpand$1.invoke(Utils.kt:1257)
at com.intellij.openapi.progress.ContextKt.prepareThreadContext(context.kt:81)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroupImpl(Utils.kt:1299)
at com.intellij.openapi.actionSystem.impl.Utils.fillMenu$intellij_platform_ide_impl(Utils.kt:470)
at com.intellij.platform.ide.menu.MacNativeActionMenuKt.createMacNativeActionMenu$lambda$1(MacNativeActionMenu.kt:35)
... 43 more
Caused by: com.intellij.serviceContainer.AlreadyDisposedException: Already disposed: Module: 'android.lib.ui-util' (disposed)
at com.intellij.serviceContainer.ComponentManagerImpl.checkState(ComponentManagerImpl.kt:289)
at com.intellij.serviceContainer.ComponentManagerImpl.getComponent(ComponentManagerImpl.kt:670)
at com.intellij.facet.FacetManager.getInstance(FacetManager.java:17)
at com.android.tools.idea.gradle.project.facet.ndk.NdkFacet$Companion.getInstance(NdkFacet.kt:85)
at com.android.tools.idea.gradle.project.model.NdkModuleModel$Companion.get(NdkModuleModel.kt:79)
at com.android.tools.idea.gradle.project.model.NdkModuleModel.get(NdkModuleModel.kt)
at com.android.tools.idea.gradle.actions.RefreshLinkedCppProjectsAction.containsExternalCppProjects(RefreshLinkedCppProjectsAction.java:56)
at com.android.tools.idea.gradle.actions.RefreshLinkedCppProjectsAction.doUpdate(RefreshLinkedCppProjectsAction.java:45)
at com.android.tools.idea.gradle.actions.AndroidStudioGradleAction.update(AndroidStudioGradleAction.java:64)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate$lambda$2(ActionUtil.kt:226)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.kt:244)
at com.intellij.openapi.actionSystem.impl.ActionUpdater$updateAction$success$1$1$1.invoke(ActionUpdater.kt:501)
at com.intellij.openapi.actionSystem.impl.ActionUpdater$updateAction$success$1$1$1.invoke(ActionUpdater.kt:500)
at com.intellij.openapi.actionSystem.impl.ActionUpdater$callAction$2$1.invoke(ActionUpdater.kt:145)
at com.intellij.openapi.application.rw.InternalReadAction.insideReadAction(InternalReadAction.kt:114)
at com.intellij.openapi.application.rw.InternalReadAction.tryReadCancellable$lambda$4(InternalReadAction.kt:104)
at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal$lambda$3$lambda$2$lambda$1(cancellableReadAction.kt:32)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.tryRunReadAction(AnyThreadWriteThreadingSupport.kt:351)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:971)
...
em...@google.com <em...@google.com> #3
We are iterating over the modules in the project in this doUpdate
method, which is called on the background thread.
We should either call it in a read action, or on the EDT thread. (i.e., something that will guarantee a stable list of modules from the "project system")
jo...@google.com <jo...@google.com> #4
Fixed (internal change I9200ba8694e336dc49dd7f8ebbdb6a6c892e0a92)
an...@google.com <an...@google.com> #5
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Narwhal | 2025.1.1 Canary 2
- Android Gradle Plugin 8.11.0-alpha02
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
Description
####################################################
Please provide all of the following information, otherwise we may not be able to route your bug report.
####################################################
1. Describe the bug or issue that you're seeing.
While using Meerkat, sometimes the File menu fails to appear even though all other menus appear and the only remedy is to restart Android Studio.
2. Attach log files from Android Studio
2A. In the IDE, select the Help..Collect Logs and Diagnostic Data menu option.
2B. Create a diagnostic report and save it to your local computer.
2C. Attach the report to this bug using the Add attachments button.
3. If you know what they are, write the steps to reproduce:
3A. it seems to happen after I try to build and run my app (clicking the green "Run" button in the toolbar).
3B.
3C.
In addition to logs, please attach a screenshot or recording that illustrates the problem.
For more information on how to get your bug routed quickly, see
Build: AI-243.22562.218.2431.13114758, 202502241715
AS: Meerkat | 2024.3.1
AI-243.22562.218.2431.13114758, JRE 21.0.5+-12932927-b750.29x64 JetBrains s.r.o., OS Mac OS X(aarch64) v15.3.1, screens 3456x2234 (200%); Retina
Android Gradle Plugin: (plugin information not found)
Gradle: 8.9
Gradle JDK: JetBrains Runtime 21.0.5 - aarch64
NDK: from local.properties: (not specified), latest from SDK: (not found)
CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)
```