question-mark

Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Exception] when closing a project.

See original GitHub issue

Issue Description

java.lang.AssertionError: Already disposed: Project (Disposed) facebook_core
	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.getPicoContainer(ComponentManagerImpl.java:277)
	at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:182)
	at com.intellij.openapi.fileEditor.FileEditorManager.getInstance(FileEditorManager.java:21)
	at com.intellij.openapi.fileEditor.impl.UniqueVFilePathBuilderImpl.filesWithTheSameName(UniqueVFilePathBuilderImpl.java:134)
	at com.intellij.openapi.fileEditor.impl.UniqueVFilePathBuilderImpl.getUniqueVirtualFileNameBuilder(UniqueVFilePathBuilderImpl.java:110)
	at com.intellij.openapi.fileEditor.impl.UniqueVFilePathBuilderImpl.getUniqueVirtualFilePath(UniqueVFilePathBuilderImpl.java:70)
	at com.intellij.openapi.fileEditor.impl.UniqueVFilePathBuilderImpl.getUniqueVirtualFilePathWithinOpenedFileEditors(UniqueVFilePathBuilderImpl.java:50)
	at com.intellij.openapi.fileEditor.impl.UniqueNameEditorTabTitleProvider.getEditorTabTitle(UniqueNameEditorTabTitleProvider.java:29)
	at com.intellij.openapi.fileEditor.impl.EditorTabTitleProvider.getEditorTabTitle(EditorTabTitleProvider.java:21)
	at com.intellij.openapi.fileEditor.impl.EditorTabPresentationUtil.getEditorTabTitle(EditorTabPresentationUtil.java:18)
	at com.intellij.openapi.fileEditor.impl.EditorTabPresentationUtil.getUniqueEditorTabTitle(EditorTabPresentationUtil.java:29)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.data.FileData$uniqueName$2$1.compute(FileData.kt:44)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.data.FileData$uniqueName$2$1.compute(FileData.kt:31)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:922)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.data.FileData$uniqueName$2.invoke(FileData.kt:44)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.data.FileData$uniqueName$2.invoke(FileData.kt:31)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.dependencies.kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.data.FileData.getUniqueName(FileData.kt)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.settings.values.PresenceLine$FILE_NAME_PATH.getResult(PresenceLine.kt:61)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.settings.values.PresenceLine.get(PresenceLine.kt:72)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.renderer.Renderer$render$1.invoke(Renderer.kt:46)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.renderer.Renderer$render$1.invoke(Renderer.kt:23)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.RichPresence.<init>(RichPresence.kt:45)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.renderer.Renderer.render(Renderer.kt:39)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.renderer.FileRenderer.render(FileRenderer.kt:22)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.renderer.Renderer.render(Renderer.kt:24)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.impl.RichPresenceRenderServiceImpl$render$1.invokeSuspend(RichPresenceRenderServiceImpl.kt:93)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.dependencies.kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.dependencies.kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:238)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.dependencies.kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:594)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.dependencies.kotlinx.coroutines.scheduling.CoroutineScheduler.access$runSafely(CoroutineScheduler.kt:60)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.dependencies.kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:742)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
yeSpudcommented, Jan 7, 2020

Im also having this issue now, but I assume that its just about fixed

Heres the stack-trace regardless

java.lang.AssertionError: Already disposed: Project (Disposed) Visualizer-framework
	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.getPicoContainer(ComponentManagerImpl.java:277)
	at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:182)
	at com.intellij.openapi.fileEditor.FileEditorManager.getInstance(FileEditorManager.java:21)
	at com.intellij.openapi.fileEditor.impl.UniqueVFilePathBuilderImpl.filesWithTheSameName(UniqueVFilePathBuilderImpl.java:134)
	at com.intellij.openapi.fileEditor.impl.UniqueVFilePathBuilderImpl.getUniqueVirtualFileNameBuilder(UniqueVFilePathBuilderImpl.java:110)
	at com.intellij.openapi.fileEditor.impl.UniqueVFilePathBuilderImpl.getUniqueVirtualFilePath(UniqueVFilePathBuilderImpl.java:70)
	at com.intellij.openapi.fileEditor.impl.UniqueVFilePathBuilderImpl.getUniqueVirtualFilePathWithinOpenedFileEditors(UniqueVFilePathBuilderImpl.java:50)
	at com.intellij.openapi.fileEditor.impl.UniqueNameEditorTabTitleProvider.getEditorTabTitle(UniqueNameEditorTabTitleProvider.java:29)
	at com.intellij.openapi.fileEditor.impl.EditorTabTitleProvider.getEditorTabTitle(EditorTabTitleProvider.java:21)
	at com.intellij.openapi.fileEditor.impl.EditorTabPresentationUtil.getEditorTabTitle(EditorTabPresentationUtil.java:18)
	at com.intellij.openapi.fileEditor.impl.EditorTabPresentationUtil.getUniqueEditorTabTitle(EditorTabPresentationUtil.java:29)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.data.FileData$uniqueName$2$1.compute(FileData.kt:44)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.data.FileData$uniqueName$2$1.compute(FileData.kt:31)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:922)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.data.FileData$uniqueName$2.invoke(FileData.kt:44)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.data.FileData$uniqueName$2.invoke(FileData.kt:31)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.dependencies.kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.data.FileData.getUniqueName(FileData.kt)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.settings.values.PresenceLine$FILE_NAME_PATH.getResult(PresenceLine.kt:61)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.settings.values.PresenceLine.get(PresenceLine.kt:72)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.renderer.Renderer$render$1.invoke(Renderer.kt:47)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.renderer.Renderer$render$1.invoke(Renderer.kt:24)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.RichPresence.<init>(RichPresence.kt:46)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.renderer.Renderer.render(Renderer.kt:40)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.renderer.FileRenderer.render(FileRenderer.kt:22)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.renderer.Renderer.render(Renderer.kt:25)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.impl.RichPresenceRenderServiceImpl$render$1.invokeSuspend(RichPresenceRenderServiceImpl.kt:93)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.dependencies.kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.dependencies.kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:241)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.dependencies.kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:594)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.dependencies.kotlinx.coroutines.scheduling.CoroutineScheduler.access$runSafely(CoroutineScheduler.kt:60)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.dependencies.kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:740)
2reactions
Almighty-Alpacacommented, Jan 7, 2020

Small status update: A fix is being tested for this but due to the random nature of this bug it’s very hard to validate that I’ve covered all cases this time. I’ll hopefully push this to production soon™️.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Period Close Procedures and Exceptions in Oracle Projects ...
This document is intended to provide information and resources to assist you in performing period end close activities in Oracle Projects and ...
Read more >
042 - The Closer: Avoiding Project Acceptance Exceptions
Closure is when you get your stakeholder and sponsors to acknowledge that the project completion criteria have been met, and you can proceed ......
Read more >
Resolving exception file in use after closing StreamWriter
My program flushes, closes, and disposes the log file. My program later attempts to open the file to append more data. This 2nd...
Read more >
512112 – Exception on closing project - Bugs - Eclipse
2. Close a project which contains a unit test for which you have a launch configuration. 3. Exception (3 times) appears in error...
Read more >
Exception when deleting a project - IDE Documentation
Commands "Rename" and "Delete" can be selected in the project explorer right after the start Exception when closing a project Powered by Atlassian...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found