chore: improve dependency handling and use the DataGrip connector to MongoDB #49
Annotations
1 error
UnknownClass.executionError:
UnknownClass#L1
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)
|