limited-wip icon indicating copy to clipboard operation
limited-wip copied to clipboard

Exception Already disposed: Project (Disposed)

Open sclassen opened this issue 5 years ago • 0 comments

This happens form time to time. As a side-effect the counter in the task bar at the bottom will always show "Change Size: 0/80" even when there are changes. The bubble warning about too many changes appears correctly, so this is not affected.

Note: the project mentioned in the stack trace (openwebstart-parent) is not the one I was working on when the exception occurred. I worked on that project earlier that day. Then I switched workspace to a different project. I switch between projects by opening the new one in a new window and then later closing the old window.

My OS is linux. Intellij and all plugins are on the latest version.

java.lang.AssertionError: Already disposed: Project (Disposed) openwebstart-parent
	at com.intellij.openapi.components.impl.ComponentManagerImpl.lambda$throwAlreadyDisposed$1(ComponentManagerImpl.java:286)
	at com.intellij.openapi.application.ReadAction.lambda$run$1(ReadAction.java:53)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:932)
	at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:57)
	at com.intellij.openapi.application.ReadAction.run(ReadAction.java:53)
	at com.intellij.openapi.components.impl.ComponentManagerImpl.throwAlreadyDisposed(ComponentManagerImpl.java:284)
	at com.intellij.openapi.components.impl.ComponentManagerImpl.getMessageBus(ComponentManagerImpl.java:152)
	at limitedwip.watchdog.components.Ide.showNotificationThatWatchdogIsDisableUntilNextCommit(Ide.kt:63)
	at limitedwip.watchdog.Watchdog.skipNotificationsUntilCommit(Watchdog.kt:83)
	at limitedwip.watchdog.Watchdog.toggleSkipNotificationsUntilCommit(Watchdog.kt:63)
	at limitedwip.watchdog.components.WatchdogComponent$start$1.onWidgetClick(WatchdogComponent.kt:32)
	at limitedwip.watchdog.components.Ide$1.onClick(Ide.kt:30)
	at limitedwip.watchdog.ui.WatchdogStatusBarWidget$getPresentation$1$getClickConsumer$1.consume(WatchdogStatusBarWidget.kt:31)
	at limitedwip.watchdog.ui.WatchdogStatusBarWidget$getPresentation$1$getClickConsumer$1.consume(WatchdogStatusBarWidget.kt:28)
	at com.intellij.openapi.wm.impl.status.IdeStatusBarImpl$TextPresentationWrapper$1.mousePressed(IdeStatusBarImpl.java:692)
	at java.desktop/java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:287)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6648)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
	at java.desktop/java.awt.Component.processEvent(Component.java:6416)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5026)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4858)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4544)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2773)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4858)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:778)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:751)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:749)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:748)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:824)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:769)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:412)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:704)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:411)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

sclassen avatar Sep 30 '19 10:09 sclassen