chore: improve dependency handling and use the DataGrip connector to MongoDB #49
GitHub Actions / JUnit Test Report
failed
May 23, 2024 in 0s
10 tests run, 9 passed, 0 skipped, 1 failed.
Annotations
Check failure on line 1 in UnknownClass
github-actions / JUnit Test Report
UnknownClass.executionError
java.lang.AssertionError: java.lang.AssertionError: Found a leaked instance of class com.intellij.openapi.project.impl.ProjectImpl
Instance: Project(name=DataGripMongoDbDriverTest, containerState=DISPOSE_COMPLETED, componentStore=/tmp/DataGripMongoDbDriverTest9243351422183040240) (disposed)
Hashcode: 323354758
Error description:
This error means that the object is expected to be collected by the garbage collector by this time, but it was not.
Please make sure you dispose your resources properly. See https://plugins.jetbrains.com/docs/intellij/disposers.html
Try looking for 'Heap dump is published to ' line in the system output log below. It contains a path to a collected memory snapshot
Existing strong reference path to the instance:
via 'com.intellij.psi.codeStyle.ProjectCodeStyleSettingsManager.myProject'; Value: 'Project(name=DataGripMongoDbDriverTest, containerState=DISPOSE_COMPLETED, componentStore=/tmp/DataGripMongoDbDriverTest9243351422183040240) (disposed)' of class com.intellij.openapi.project.impl.ProjectImpl
via 'com.intellij.psi.codeStyle.CodeStyleSettingsManager$1.this$0'; Value: 'com.intellij.psi.codeStyle.ProjectCodeStyleSettingsManager@6af41800' of class com.intellij.psi.codeStyle.ProjectCodeStyleSettingsManager
via 'com.intellij.psi.codeStyle.CodeStyleSettingsServiceImpl$1.val$listener'; Value: 'com.intellij.psi.codeStyle.CodeStyleSettingsManager$1@a0d3519' of class com.intellij.psi.codeStyle.CodeStyleSettingsManager$1
via '[0]'; Value: 'com.intellij.psi.codeStyle.CodeStyleSettingsServiceImpl$1@380cffdc' of class com.intellij.psi.codeStyle.CodeStyleSettingsServiceImpl$1
via 'kotlinx.collections.immutable.implementations.immutableList.SmallPersistentVector.buffer'; Value: '[com.intellij.psi.codeStyle.CodeStyleSettingsServiceImpl$1@380cffdc, com.intellij.psi.codeStyle.CodeStyleSettingsServiceImpl$1@6840f13e, com.intellij.psi.impl.source.codeStyle.CodeStyleSchemesImpl$2@3...' of class [Ljava.lang.Object;
via 'com.intellij.openapi.extensions.impl.ExtensionPointImpl.listeners'; Value: 'Collection (size=3)' of class kotlinx.collections.immutable.implementations.immutableList.SmallPersistentVector
via 'java.util.HashMap$Node.value'; Value: 'com.intellij.fileTypeIndentOptionsProvider' of class com.intellij.openapi.extensions.impl.InterfaceExtensionPoint
via '[797]'; Value: 'com.intellij.fileTypeIndentOptionsProvider=com.intellij.fileTypeIndentOptionsProvider' of class java.util.HashMap$Node
via 'java.util.HashMap.table'; Value: '[com.intellij.embeddedTokenHighlighter=com.intellij.embeddedTokenHighlighter, null, com.intellij.daemon.statusItemMerger=com.intellij.daemon.statusItemMerger, null, com.intellij.importsAlmostOptimizer...' of class [Ljava.util.HashMap$Node;
via 'com.intellij.openapi.extensions.impl.ExtensionsAreaImpl.extensionPoints'; Value: '{com.intellij.embeddedTokenHighlighter=com.intellij.embeddedTokenHighlighter, com.intellij.daemon.statusItemMerger=com.intellij.daemon.statusItemMerger, com.intellij.profiler.callTreeFilterProvider=co...' of class java.util.HashMap
via 'com.intellij.serviceContainer.ComponentManagerImpl.extensionArea'; Value: 'Application (unit test) (internal) (headless) (command line) (RA allowed) (IR on EDT disabled)' of class com.intellij.openapi.extensions.impl.ExtensionsAreaImpl
via '(root)'; Value: 'Application (unit test) (internal) (headless) (command line) (RA allowed) (IR on EDT disabled)' of class com.intellij.openapi.application.impl.ApplicationImpl
(from ApplicationManager.getApplication())
The instance was created at: Project(name=DataGripMongoDbDriverTest, containerState=DISPOSE_COMPLETED, componentStore=/tmp/DataGripMongoDbDriverTest9243351422183040240) (disposed) 2024-05-23T15:25:[email protected]
at com.intellij.util.ExceptionUtil.currentStackTrace(ExceptionUtil.java:69)
at com.intellij.openapi.project.impl.ProjectImpl.storeCreationTrace(ProjectImpl.kt:407)
at com.intellij.openapi.project.impl.ProjectImpl.<init>(ProjectImpl.kt:131)
at com.intellij.openapi.project.impl.ProjectManagerImpl$instantiateProject$project$1.invokeSuspend(ProjectManagerImpl.kt:841)
at com.intellij.openapi.project.impl.ProjectManagerImpl$instantiateProject$project$1.invoke(ProjectManagerImpl.kt)
at com.intellij.openapi.project.impl.ProjectManagerImpl$instantiateProject$project$1.invoke(ProjectManagerImpl.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span(tracer.kt:53)
at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span$default(tracer.kt:49)
at com.intellij.openapi.project.impl.ProjectManagerImpl.instantiateProject$suspendImpl(ProjectManagerImpl.kt:840)
at com.intellij.openapi.project.impl.ProjectManagerImpl.instantiateProject(ProjectManagerImpl.kt)
at com.intellij.project.TestProjectManager.instantiateProject$suspendImpl(TestProjectManager.kt:152)
at com.intellij.project.TestProjectManager.instantiateProject(TestProjectManager.kt)
at com.intellij.openapi.project.impl.ProjectManagerImpl.newProjectAsync$suspendImpl(ProjectManagerImpl.kt:812)
at com.intellij.openapi.project.impl.ProjectManagerImpl$newProjectAsync$1.invokeSuspend(ProjectManagerImpl.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
Raw output
java.lang.AssertionError: java.lang.AssertionError: Found a leaked instance of class com.intellij.openapi.project.impl.ProjectImpl
Instance: Project(name=DataGripMongoDbDriverTest, containerState=DISPOSE_COMPLETED, componentStore=/tmp/DataGripMongoDbDriverTest9243351422183040240) (disposed)
Hashcode: 323354758
Error description:
This error means that the object is expected to be collected by the garbage collector by this time, but it was not.
Please make sure you dispose your resources properly. See https://plugins.jetbrains.com/docs/intellij/disposers.html
Try looking for 'Heap dump is published to ' line in the system output log below. It contains a path to a collected memory snapshot
Existing strong reference path to the instance:
via 'com.intellij.psi.codeStyle.ProjectCodeStyleSettingsManager.myProject'; Value: 'Project(name=DataGripMongoDbDriverTest, containerState=DISPOSE_COMPLETED, componentStore=/tmp/DataGripMongoDbDriverTest9243351422183040240) (disposed)' of class com.intellij.openapi.project.impl.ProjectImpl
via 'com.intellij.psi.codeStyle.CodeStyleSettingsManager$1.this$0'; Value: 'com.intellij.psi.codeStyle.ProjectCodeStyleSettingsManager@6af41800' of class com.intellij.psi.codeStyle.ProjectCodeStyleSettingsManager
via 'com.intellij.psi.codeStyle.CodeStyleSettingsServiceImpl$1.val$listener'; Value: 'com.intellij.psi.codeStyle.CodeStyleSettingsManager$1@a0d3519' of class com.intellij.psi.codeStyle.CodeStyleSettingsManager$1
via '[0]'; Value: 'com.intellij.psi.codeStyle.CodeStyleSettingsServiceImpl$1@380cffdc' of class com.intellij.psi.codeStyle.CodeStyleSettingsServiceImpl$1
via 'kotlinx.collections.immutable.implementations.immutableList.SmallPersistentVector.buffer'; Value: '[com.intellij.psi.codeStyle.CodeStyleSettingsServiceImpl$1@380cffdc, com.intellij.psi.codeStyle.CodeStyleSettingsServiceImpl$1@6840f13e, com.intellij.psi.impl.source.codeStyle.CodeStyleSchemesImpl$2@3...' of class [Ljava.lang.Object;
via 'com.intellij.openapi.extensions.impl.ExtensionPointImpl.listeners'; Value: 'Collection (size=3)' of class kotlinx.collections.immutable.implementations.immutableList.SmallPersistentVector
via 'java.util.HashMap$Node.value'; Value: 'com.intellij.fileTypeIndentOptionsProvider' of class com.intellij.openapi.extensions.impl.InterfaceExtensionPoint
via '[797]'; Value: 'com.intellij.fileTypeIndentOptionsProvider=com.intellij.fileTypeIndentOptionsProvider' of class java.util.HashMap$Node
via 'java.util.HashMap.table'; Value: '[com.intellij.embeddedTokenHighlighter=com.intellij.embeddedTokenHighlighter, null, com.intellij.daemon.statusItemMerger=com.intellij.daemon.statusItemMerger, null, com.intellij.importsAlmostOptimizer...' of class [Ljava.util.HashMap$Node;
via 'com.intellij.openapi.extensions.impl.ExtensionsAreaImpl.extensionPoints'; Value: '{com.intellij.embeddedTokenHighlighter=com.intellij.embeddedTokenHighlighter, com.intellij.daemon.statusItemMerger=com.intellij.daemon.statusItemMerger, com.intellij.profiler.callTreeFilterProvider=co...' of class java.util.HashMap
via 'com.intellij.serviceContainer.ComponentManagerImpl.extensionArea'; Value: 'Application (unit test) (internal) (headless) (command line) (RA allowed) (IR on EDT disabled)' of class com.intellij.openapi.extensions.impl.ExtensionsAreaImpl
via '(root)'; Value: 'Application (unit test) (internal) (headless) (command line) (RA allowed) (IR on EDT disabled)' of class com.intellij.openapi.application.impl.ApplicationImpl
(from ApplicationManager.getApplication())
The instance was created at: Project(name=DataGripMongoDbDriverTest, containerState=DISPOSE_COMPLETED, componentStore=/tmp/DataGripMongoDbDriverTest9243351422183040240) (disposed) 2024-05-23T15:25:[email protected]
at com.intellij.util.ExceptionUtil.currentStackTrace(ExceptionUtil.java:69)
at com.intellij.openapi.project.impl.ProjectImpl.storeCreationTrace(ProjectImpl.kt:407)
at com.intellij.openapi.project.impl.ProjectImpl.<init>(ProjectImpl.kt:131)
at com.intellij.openapi.project.impl.ProjectManagerImpl$instantiateProject$project$1.invokeSuspend(ProjectManagerImpl.kt:841)
at com.intellij.openapi.project.impl.ProjectManagerImpl$instantiateProject$project$1.invoke(ProjectManagerImpl.kt)
at com.intellij.openapi.project.impl.ProjectManagerImpl$instantiateProject$project$1.invoke(ProjectManagerImpl.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span(tracer.kt:53)
at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span$default(tracer.kt:49)
at com.intellij.openapi.project.impl.ProjectManagerImpl.instantiateProject$suspendImpl(ProjectManagerImpl.kt:840)
at com.intellij.openapi.project.impl.ProjectManagerImpl.instantiateProject(ProjectManagerImpl.kt)
at com.intellij.project.TestProjectManager.instantiateProject$suspendImpl(TestProjectManager.kt:152)
at com.intellij.project.TestProjectManager.instantiateProject(TestProjectManager.kt)
at com.intellij.openapi.project.impl.ProjectManagerImpl.newProjectAsync$suspendImpl(ProjectManagerImpl.kt:812)
at com.intellij.openapi.project.impl.ProjectManagerImpl$newProjectAsync$1.invokeSuspend(ProjectManagerImpl.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
at com.intellij.testFramework.common.TestApplicationKt.assertNonDefaultProjectsAreNotLeaked(testApplication.kt:327)
at com.intellij.testFramework.junit5.impl.TestApplicationResource$close$1$1$1.invokeSuspend(TestApplicationExtension.kt:58)
at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:46)
at com.intellij.testFramework.junit5.impl.TestApplicationResource$close$1$1.invokeSuspend(TestApplicationExtension.kt:49)
at com.intellij.testFramework.junit5.impl.TestApplicationResource$close$1.invokeSuspend(TestApplicationExtension.kt:48)
Caused by: java.lang.AssertionError: java.lang.AssertionError: Found a leaked instance of class com.intellij.openapi.project.impl.ProjectImpl
Instance: Project(name=DataGripMongoDbDriverTest, containerState=DISPOSE_COMPLETED, componentStore=/tmp/DataGripMongoDbDriverTest9243351422183040240) (disposed)
Hashcode: 323354758
Error description:
This error means that the object is expected to be collected by the garbage collector by this time, but it was not.
Please make sure you dispose your resources properly. See https://plugins.jetbrains.com/docs/intellij/disposers.html
Try looking for 'Heap dump is published to ' line in the system output log below. It contains a path to a collected memory snapshot
Existing strong reference path to the instance:
via 'com.intellij.psi.codeStyle.ProjectCodeStyleSettingsManager.myProject'; Value: 'Project(name=DataGripMongoDbDriverTest, containerState=DISPOSE_COMPLETED, componentStore=/tmp/DataGripMongoDbDriverTest9243351422183040240) (disposed)' of class com.intellij.openapi.project.impl.ProjectImpl
via 'com.intellij.psi.codeStyle.CodeStyleSettingsManager$1.this$0'; Value: 'com.intellij.psi.codeStyle.ProjectCodeStyleSettingsManager@6af41800' of class com.intellij.psi.codeStyle.ProjectCodeStyleSettingsManager
via 'com.intellij.psi.codeStyle.CodeStyleSettingsServiceImpl$1.val$listener'; Value: 'com.intellij.psi.codeStyle.CodeStyleSettingsManager$1@a0d3519' of class com.intellij.psi.codeStyle.CodeStyleSettingsManager$1
via '[0]'; Value: 'com.intellij.psi.codeStyle.CodeStyleSettingsServiceImpl$1@380cffdc' of class com.intellij.psi.codeStyle.CodeStyleSettingsServiceImpl$1
via 'kotlinx.collections.immutable.implementations.immutableList.SmallPersistentVector.buffer'; Value: '[com.intellij.psi.codeStyle.CodeStyleSettingsServiceImpl$1@380cffdc, com.intellij.psi.codeStyle.CodeStyleSettingsServiceImpl$1@6840f13e, com.intellij.psi.impl.source.codeStyle.CodeStyleSchemesImpl$2@3...' of class [Ljava.lang.Object;
via 'com.intellij.openapi.extensions.impl.ExtensionPointImpl.listeners'; Value: 'Collection (size=3)' of class kotlinx.collections.immutable.implementations.immutableList.SmallPersistentVector
via 'java.util.HashMap$Node.value'; Value: 'com.intellij.fileTypeIndentOptionsProvider' of class com.intellij.openapi.extensions.impl.InterfaceExtensionPoint
via '[797]'; Value: 'com.intellij.fileTypeIndentOptionsProvider=com.intellij.fileTypeIndentOptionsProvider' of class java.util.HashMap$Node
via 'java.util.HashMap.table'; Value: '[com.intellij.embeddedTokenHighlighter=com.intellij.embeddedTokenHighlighter, null, com.intellij.daemon.statusItemMerger=com.intellij.daemon.statusItemMerger, null, com.intellij.importsAlmostOptimizer...' of class [Ljava.util.HashMap$Node;
via 'com.intellij.openapi.extensions.impl.ExtensionsAreaImpl.extensionPoints'; Value: '{com.intellij.embeddedTokenHighlighter=com.intellij.embeddedTokenHighlighter, com.intellij.daemon.statusItemMerger=com.intellij.daemon.statusItemMerger, com.intellij.profiler.callTreeFilterProvider=co...' of class java.util.HashMap
via 'com.intellij.serviceContainer.ComponentManagerImpl.extensionArea'; Value: 'Application (unit test) (internal) (headless) (command line) (RA allowed) (IR on EDT disabled)' of class com.intellij.openapi.extensions.impl.ExtensionsAreaImpl
via '(root)'; Value: 'Application (unit test) (internal) (headless) (command line) (RA allowed) (IR on EDT disabled)' of class com.intellij.openapi.application.impl.ApplicationImpl
(from ApplicationManager.getApplication())
The instance was created at: Project(name=DataGripMongoDbDriverTest, containerState=DISPOSE_COMPLETED, componentStore=/tmp/DataGripMongoDbDriverTest9243351422183040240) (disposed) 2024-05-23T15:25:[email protected]
at com.intellij.util.ExceptionUtil.currentStackTrace(ExceptionUtil.java:69)
at com.intellij.openapi.project.impl.ProjectImpl.storeCreationTrace(ProjectImpl.kt:407)
at com.intellij.openapi.project.impl.ProjectImpl.<init>(ProjectImpl.kt:131)
at com.intellij.openapi.project.impl.ProjectManagerImpl$instantiateProject$project$1.invokeSuspend(ProjectManagerImpl.kt:841)
at com.intellij.openapi.project.impl.ProjectManagerImpl$instantiateProject$project$1.invoke(ProjectManagerImpl.kt)
at com.intellij.openapi.project.impl.ProjectManagerImpl$instantiateProject$project$1.invoke(ProjectManagerImpl.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span(tracer.kt:53)
at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span$default(tracer.kt:49)
at com.intellij.openapi.project.impl.ProjectManagerImpl.instantiateProject$suspendImpl(ProjectManagerImpl.kt:840)
at com.intellij.openapi.project.impl.ProjectManagerImpl.instantiateProject(ProjectManagerImpl.kt)
at com.intellij.project.TestProjectManager.instantiateProject$suspendImpl(TestProjectManager.kt:152)
at com.intellij.project.TestProjectManager.instantiateProject(TestProjectManager.kt)
at com.intellij.openapi.project.impl.ProjectManagerImpl.newProjectAsync$suspendImpl(ProjectManagerImpl.kt:812)
at com.intellij.openapi.project.impl.ProjectManagerImpl$newProjectAsync$1.invokeSuspend(ProjectManagerImpl.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
at com.intellij.testFramework.common.TestApplicationKt.assertNonDefaultProjectsAreNotLeaked(testApplication.kt:327)
at com.intellij.testFramework.junit5.impl.TestApplicationResource$close$1$1$1.invokeSuspend(TestApplicationExtension.kt:58)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at com.intellij.openapi.application.impl.DispatchedRunnable.run(DispatchedRunnable.kt:43)
at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209)
at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:22)
at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191)
at com.intellij.openapi.application.impl.RwLockHolder.runIntendedWriteActionOnCurrentThread(RwLockHolder.kt:204)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:830)
at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:419)
at com.intellij.openapi.application.impl.RwLockHolder.runWithEnabledImplicitRead(RwLockHolder.kt:138)
at com.intellij.openapi.application.impl.RwLockHolder.runWithImplicitRead(RwLockHolder.kt:129)
at com.intellij.openapi.application.impl.ApplicationImpl.runWithImplicitRead(ApplicationImpl.java:1152)
at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:81)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:123)
at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:43)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:792)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:761)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:699)
at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$12(IdeEventQueue.kt:593)
at com.intellij.openapi.application.impl.RwLockHolder.runWithoutImplicitRead(RwLockHolder.kt:105)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:593)
at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:77)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:362)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:361)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:843)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:361)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:356)
at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:1022)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:106)
at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1022)
at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:356)
at com.intellij.openapi.application.impl.RwLockHolder.runIntendedWriteActionOnCurrentThread(RwLockHolder.kt:209)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:830)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:398)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
Caused by: java.lang.AssertionError: Found a leaked instance of class com.intellij.openapi.project.impl.ProjectImpl
Instance: Project(name=DataGripMongoDbDriverTest, containerState=DISPOSE_COMPLETED, componentStore=/tmp/DataGripMongoDbDriverTest9243351422183040240) (disposed)
Hashcode: 323354758
Error description:
This error means that the object is expected to be collected by the garbage collector by this time, but it was not.
Please make sure you dispose your resources properly. See https://plugins.jetbrains.com/docs/intellij/disposers.html
Try looking for 'Heap dump is published to ' line in the system output log below. It contains a path to a collected memory snapshot
Existing strong reference path to the instance:
via 'com.intellij.psi.codeStyle.ProjectCodeStyleSettingsManager.myProject'; Value: 'Project(name=DataGripMongoDbDriverTest, containerState=DISPOSE_COMPLETED, componentStore=/tmp/DataGripMongoDbDriverTest9243351422183040240) (disposed)' of class com.intellij.openapi.project.impl.ProjectImpl
via 'com.intellij.psi.codeStyle.CodeStyleSettingsManager$1.this$0'; Value: 'com.intellij.psi.codeStyle.ProjectCodeStyleSettingsManager@6af41800' of class com.intellij.psi.codeStyle.ProjectCodeStyleSettingsManager
via 'com.intellij.psi.codeStyle.CodeStyleSettingsServiceImpl$1.val$listener'; Value: 'com.intellij.psi.codeStyle.CodeStyleSettingsManager$1@a0d3519' of class com.intellij.psi.codeStyle.CodeStyleSettingsManager$1
via '[0]'; Value: 'com.intellij.psi.codeStyle.CodeStyleSettingsServiceImpl$1@380cffdc' of class com.intellij.psi.codeStyle.CodeStyleSettingsServiceImpl$1
via 'kotlinx.collections.immutable.implementations.immutableList.SmallPersistentVector.buffer'; Value: '[com.intellij.psi.codeStyle.CodeStyleSettingsServiceImpl$1@380cffdc, com.intellij.psi.codeStyle.CodeStyleSettingsServiceImpl$1@6840f13e, com.intellij.psi.impl.source.codeStyle.CodeStyleSchemesImpl$2@3...' of class [Ljava.lang.Object;
via 'com.intellij.openapi.extensions.impl.ExtensionPointImpl.listeners'; Value: 'Collection (size=3)' of class kotlinx.collections.immutable.implementations.immutableList.SmallPersistentVector
via 'java.util.HashMap$Node.value'; Value: 'com.intellij.fileTypeIndentOptionsProvider' of class com.intellij.openapi.extensions.impl.InterfaceExtensionPoint
via '[797]'; Value: 'com.intellij.fileTypeIndentOptionsProvider=com.intellij.fileTypeIndentOptionsProvider' of class java.util.HashMap$Node
via 'java.util.HashMap.table'; Value: '[com.intellij.embeddedTokenHighlighter=com.intellij.embeddedTokenHighlighter, null, com.intellij.daemon.statusItemMerger=com.intellij.daemon.statusItemMerger, null, com.intellij.importsAlmostOptimizer...' of class [Ljava.util.HashMap$Node;
via 'com.intellij.openapi.extensions.impl.ExtensionsAreaImpl.extensionPoints'; Value: '{com.intellij.embeddedTokenHighlighter=com.intellij.embeddedTokenHighlighter, com.intellij.daemon.statusItemMerger=com.intellij.daemon.statusItemMerger, com.intellij.profiler.callTreeFilterProvider=co...' of class java.util.HashMap
via 'com.intellij.serviceContainer.ComponentManagerImpl.extensionArea'; Value: 'Application (unit test) (internal) (headless) (command line) (RA allowed) (IR on EDT disabled)' of class com.intellij.openapi.extensions.impl.ExtensionsAreaImpl
via '(root)'; Value: 'Application (unit test) (internal) (headless) (command line) (RA allowed) (IR on EDT disabled)' of class com.intellij.openapi.application.impl.ApplicationImpl
(from ApplicationManager.getApplication())
The instance was created at: Project(name=DataGripMongoDbDriverTest, containerState=DISPOSE_COMPLETED, componentStore=/tmp/DataGripMongoDbDriverTest9243351422183040240) (disposed) 2024-05-23T15:25:[email protected]
at com.intellij.util.ExceptionUtil.currentStackTrace(ExceptionUtil.java:69)
at com.intellij.openapi.project.impl.ProjectImpl.storeCreationTrace(ProjectImpl.kt:407)
at com.intellij.openapi.project.impl.ProjectImpl.<init>(ProjectImpl.kt:131)
at com.intellij.openapi.project.impl.ProjectManagerImpl$instantiateProject$project$1.invokeSuspend(ProjectManagerImpl.kt:841)
at com.intellij.openapi.project.impl.ProjectManagerImpl$instantiateProject$project$1.invoke(ProjectManagerImpl.kt)
at com.intellij.openapi.project.impl.ProjectManagerImpl$instantiateProject$project$1.invoke(ProjectManagerImpl.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span(tracer.kt:53)
at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span$default(tracer.kt:49)
at com.intellij.openapi.project.impl.ProjectManagerImpl.instantiateProject$suspendImpl(ProjectManagerImpl.kt:840)
at com.intellij.openapi.project.impl.ProjectManagerImpl.instantiateProject(ProjectManagerImpl.kt)
at com.intellij.project.TestProjectManager.instantiateProject$suspendImpl(TestProjectManager.kt:152)
at com.intellij.project.TestProjectManager.instantiateProject(TestProjectManager.kt)
at com.intellij.openapi.project.impl.ProjectManagerImpl.newProjectAsync$suspendImpl(ProjectManagerImpl.kt:812)
at com.intellij.openapi.project.impl.ProjectManagerImpl$newProjectAsync$1.invokeSuspend(ProjectManagerImpl.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
at com.intellij.testFramework.LeakHunter.lambda$checkLeak$2(LeakHunter.java:69)
at com.intellij.testFramework.LeakHunter.lambda$processLeaks$4(LeakHunter.java:92)
at com.intellij.util.ref.DebugReflectionUtil.walkObjects(DebugReflectionUtil.java:145)
at com.intellij.testFramework.LeakHunter.lambda$processLeaks$5(LeakHunter.java:90)
at com.intellij.openapi.application.impl.RwLockHolder.runReadAction(RwLockHolder.kt:254)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:840)
at com.intellij.testFramework.LeakHunter.processLeaks(LeakHunter.java:103)
at com.intellij.testFramework.LeakHunter.checkLeak(LeakHunter.java:62)
at com.intellij.testFramework.LeakHunter.checkNonDefaultProjectLeak(LeakHunter.java:47)
at com.intellij.testFramework.common.TestApplicationKt.assertNonDefaultProjectsAreNotLeaked(testApplication.kt:323)
... 46 more
Loading