JetBrains / intellij-platform-gradle-plugin

Gradle plugin for building plugins for JetBrains IDEs
https://plugins.jetbrains.com/docs/intellij/gradle-prerequisites.html
Apache License 2.0
1.44k stars 272 forks source link

Tests fail with 2023.2 beta if Gradle is executed with standard JDK #1433

Closed jansorg closed 4 months ago

jansorg commented 1 year ago

Describe the bug If the Gradle plugin project is configured with the current 2023.2 beta and is executed without JBR (as it's common on GitHub Actions), then the following exception is/may be logged as error:

Caused by: java.lang.ExceptionInInitializerError: Exception com.intellij.testFramework.TestLoggerFactory$TestLoggerAssertionError: Must be precomputed [in thread "DefaultDispatcher-worker-33"]
    at com.intellij.testFramework.TestLoggerFactory$TestLogger.error(TestLoggerFactory.java:403)
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:370)
    at com.intellij.ui.scale.JBUIScale.computeSystemFontData(JBUIScale.kt:96)
    at com.intellij.ui.scale.JBUIScale.access$computeSystemFontData(JBUIScale.kt:31)
    at com.intellij.ui.scale.JBUIScale$systemFontData$1.invoke(JBUIScale.kt:87)
    at com.intellij.ui.scale.JBUIScale$systemFontData$1.invoke(JBUIScale.kt:86)
    at com.intellij.util.concurrency.SynchronizedClearableLazy._get_value_$lambda$1$lambda$0(SynchronizedClearableLazy.kt:41)
    at java.base/java.util.concurrent.atomic.AtomicReference.updateAndGet(AtomicReference.java:210)
    at com.intellij.util.concurrency.SynchronizedClearableLazy.getValue(SynchronizedClearableLazy.kt:40)
    at com.intellij.ui.scale.JBUIScale.getSystemFontData(JBUIScale.kt:388)
    at com.intellij.ui.scale.JBUIScale.computeSystemScaleFactor(JBUIScale.kt:208)
    at com.intellij.ui.scale.JBUIScale$systemScaleFactor$1.invoke(JBUIScale.kt:67)
    at com.intellij.ui.scale.JBUIScale$systemScaleFactor$1.invoke(JBUIScale.kt:66)
    at com.intellij.util.concurrency.SynchronizedClearableLazy._get_value_$lambda$1$lambda$0(SynchronizedClearableLazy.kt:41)
    at java.base/java.util.concurrent.atomic.AtomicReference.updateAndGet(AtomicReference.java:210)
    at com.intellij.util.concurrency.SynchronizedClearableLazy.getValue(SynchronizedClearableLazy.kt:40)
    at com.intellij.ui.scale.JBUIScale$userScaleFactor$1.invoke(JBUIScale.kt:42)
    at com.intellij.ui.scale.JBUIScale$userScaleFactor$1.invoke(JBUIScale.kt:41)
    at com.intellij.util.concurrency.SynchronizedClearableLazy._get_value_$lambda$1$lambda$0(SynchronizedClearableLazy.kt:41)
    at java.base/java.util.concurrent.atomic.AtomicReference.updateAndGet(AtomicReference.java:210)
    at com.intellij.util.concurrency.SynchronizedClearableLazy.getValue(SynchronizedClearableLazy.kt:40)
    at com.intellij.ui.scale.JBUIScale.scale(JBUIScale.kt:337)
    at com.intellij.ui.scale.UserScaleContext.<init>(UserScaleContext.java:23)
    at com.intellij.ui.scale.UserScaleContext.create(UserScaleContext.java:57)
    at com.intellij.util.ui.JBScalableIcon.<init>(JBScalableIcon.java:30)
    at com.intellij.util.ui.JBCachingScalableIcon.<init>(JBCachingScalableIcon.java:19)
    at com.intellij.util.ui.EmptyIcon.<init>(EmptyIcon.java:74)
    at com.intellij.util.ui.EmptyIcon.lambda$create$1(EmptyIcon.java:108)
    at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1220)
    at com.intellij.util.ui.EmptyIcon.create(EmptyIcon.java:107)
    at com.intellij.util.ui.EmptyIcon.create(EmptyIcon.java:56)
    at com.intellij.util.ui.EmptyIcon.create(EmptyIcon.java:47)
    at com.intellij.util.ui.EmptyIcon.<clinit>(EmptyIcon.java:27)
    at com.intellij.codeHighlighting.HighlightDisplayLevel.<init>(HighlightDisplayLevel.java:89)
    at com.intellij.codeHighlighting.HighlightDisplayLevel.<init>(HighlightDisplayLevel.java:34)
    at com.intellij.codeHighlighting.HighlightDisplayLevel.<clinit>(HighlightDisplayLevel.java:47)
    at com.intellij.codeInsight.daemon.impl.SeverityRegistrar.<clinit>(SeverityRegistrar.java:68)
    ... 29 more

Follow-up tests are failing with java.lang.NoClassDefFoundError at DaemonListeners.java:343.

To Reproduce The project is configured with:

platformVersion=232.8660.48-EAP-SNAPSHOT

My guess is that gradle-intellij must execute tests with the downloaded JBR or at least support doing that. There's now JetBrains JDK available for GitHub Actions actions/setup-java@v3.

Expected behavior Gradle 7.6.2 gradle-intellij 1.15.0

ignatov commented 1 year ago

@hsz I can't run tests for intellij-erlang plugin agains 2023.2. Any ideas how to fix that?

ERROR: Must be precomputed
java.lang.Throwable: Must be precomputed
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:370)
    at com.intellij.ui.scale.JBUIScale.computeSystemScaleFactor(JBUIScale.kt:188)
    at com.intellij.ui.scale.JBUIScale$systemScaleFactor$1.invoke(JBUIScale.kt:67)
    at com.intellij.ui.scale.JBUIScale$systemScaleFactor$1.invoke(JBUIScale.kt:66)
    at com.intellij.util.concurrency.SynchronizedClearableLazy._get_value_$lambda$1$lambda$0(SynchronizedClearableLazy.kt:41)
    at java.base/java.util.concurrent.atomic.AtomicReference.updateAndGet(AtomicReference.java:210)
    at com.intellij.util.concurrency.SynchronizedClearableLazy.getValue(SynchronizedClearableLazy.kt:40)
    at com.intellij.ui.scale.JBUIScale.sysScale(JBUIScale.kt:307)
    at com.intellij.ui.scale.ScaleContext.<init>(ScaleContext.kt:83)
    at com.intellij.ui.scale.ScaleContext$Companion.create(ScaleContext.kt:80)
    at com.intellij.ui.icons.CachedImageIcon.<init>(CachedImageIcon.kt:75)
    at com.intellij.ui.icons.CachedImageIcon.<init>(CachedImageIcon.kt:101)
    at com.intellij.ui.icons.ImageDataByPathLoader$Companion.createIcon(ImageDataByPathLoader.kt:63)
    at com.intellij.ui.icons.ImageDataByPathLoader$Companion.access$createIcon(ImageDataByPathLoader.kt:19)
    at com.intellij.ui.icons.ImageDataByPathLoader$Companion$findIconByPath$icon$1.invoke(ImageDataByPathLoader.kt:40)
    at com.intellij.ui.icons.ImageDataByPathLoader$Companion$findIconByPath$icon$1.invoke(ImageDataByPathLoader.kt:39)
    at com.intellij.ui.icons.ImageDataByPathLoader$Companion.findIconByPath$lambda$0(ImageDataByPathLoader.kt:39)
    at com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2685)
    at java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916)
    at com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2683)
    at com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2666)
    at com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:112)
    at com.intellij.ui.icons.ImageDataByPathLoader$Companion.findIconByPath(ImageDataByPathLoader.kt:39)
    at com.intellij.openapi.util.IconLoaderKt.findIconUsingNewImplementation(IconLoader.kt:501)
    at com.intellij.openapi.util.IconLoaderKt.findIconUsingNewImplementation$default(IconLoader.kt:500)
    at com.intellij.openapi.util.IconLoader.findIcon(IconLoader.kt:195)
    at com.intellij.openapi.util.IconLoader.getIcon(IconLoader.kt:146)
    at org.intellij.erlang.icons.ErlangIcons.<clinit>(ErlangIcons.java:32)
    at org.intellij.erlang.ErlangFileType$ModuleFileType.<init>(ErlangFileType.java:99)
    at org.intellij.erlang.ErlangFileType.<clinit>(ErlangFileType.java:34)
    at org.intellij.erlang.psi.impl.ErlangFileImpl.getFileTypeForTests(ErlangFileImpl.java:321)
    at org.intellij.erlang.psi.impl.ErlangFileImpl.getFileType(ErlangFileImpl.java:308)
    at org.intellij.erlang.parser.ErlangParserUtil.isApplicationLanguage(ErlangParserUtil.java:44)
    at org.intellij.erlang.parser.ErlangParser.is_app(ErlangParser.java:3197)
    at org.intellij.erlang.parser.ErlangParser.application_file_expression(ErlangParser.java:623)
    at org.intellij.erlang.parser.ErlangParser.forms(ErlangParser.java:2393)
    at org.intellij.erlang.parser.ErlangParser.parse_root_(ErlangParser.java:35)
    at org.intellij.erlang.parser.ErlangParser.parse_root_(ErlangParser.java:31)
    at org.intellij.erlang.parser.ErlangParser.parseLight(ErlangParser.java:26)
    at org.intellij.erlang.parser.ErlangParser.parse(ErlangParser.java:18)
    at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:58)
    at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:53)
    at com.intellij.psi.impl.source.tree.LazyParseableElement.lambda$ensureParsed$2(LazyParseableElement.java:183)
    at com.intellij.psi.impl.DebugUtil.performPsiModification(DebugUtil.java:481)
    at com.intellij.psi.impl.source.tree.LazyParseableElement.ensureParsed(LazyParseableElement.java:182)
    at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:234)
    at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:25)
    at com.intellij.psi.impl.source.tree.SharedImplUtil.acceptChildren(SharedImplUtil.java:173)
    at com.intellij.psi.impl.source.PsiFileImpl.acceptChildren(PsiFileImpl.java:747)
    at com.intellij.testFramework.ParsingTestCase$3.visitElement(ParsingTestCase.java:506)
    at com.intellij.psi.PsiElementVisitor.visitFile(PsiElementVisitor.java:51)
    at com.intellij.extapi.psi.PsiFileBase.accept(PsiFileBase.java:59)
    at com.intellij.testFramework.ParsingTestCase.ensureParsed(ParsingTestCase.java:503)
    at com.intellij.testFramework.ParsingTestCase.doSanityChecks(ParsingTestCase.java:317)
    at com.intellij.testFramework.ParsingTestCase.parseFile(ParsingTestCase.java:307)
    at com.intellij.testFramework.ParsingTestCase.doTest(ParsingTestCase.java:284)
    at com.intellij.testFramework.ParsingTestCase.doTest(ParsingTestCase.java:278)
    at org.intellij.erlang.parser.ErlangParserTestBase.doTest(ErlangParserTestBase.java:41)
    at org.intellij.erlang.parser.ErlangParserTest.testNewNumbers(ErlangParserTest.java:100)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at junit.framework.TestCase.runTest(TestCase.java:177)
    at com.intellij.testFramework.UsefulTestCase.lambda$runBare$11(UsefulTestCase.java:479)
    at com.intellij.testFramework.UsefulTestCase.lambda$wrapTestRunnable$13(UsefulTestCase.java:500)
    at com.intellij.testFramework.UsefulTestCase.runTestRunnable(UsefulTestCase.java:404)
    at com.intellij.testFramework.UsefulTestCase.defaultRunBare(UsefulTestCase.java:420)
    at com.intellij.testFramework.UsefulTestCase.lambda$runBare$12(UsefulTestCase.java:487)
    at com.intellij.testFramework.EdtTestUtil.lambda$runInEdtAndWait$1(EdtTestUtil.java:40)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:308)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:789)
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:740)
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:734)
    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:759)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:322)
    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)

23:06:11,256 SEVERE                 #TestFramework - Test failed 
com.intellij.testFramework.TestLoggerFactory$TestLoggerAssertionError: Must be precomputed 
    at com.intellij.testFramework.TestLoggerFactory$TestLogger.error(TestLoggerFactory.java:403) 
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:370) 
    at com.intellij.ui.scale.JBUIScale.computeSystemScaleFactor(JBUIScale.kt:188) 
    at com.intellij.ui.scale.JBUIScale$systemScaleFactor$1.invoke(JBUIScale.kt:67) 
    at com.intellij.ui.scale.JBUIScale$systemScaleFactor$1.invoke(JBUIScale.kt:66) 
    at com.intellij.util.concurrency.SynchronizedClearableLazy._get_value_$lambda$1$lambda$0(SynchronizedClearableLazy.kt:41) 
    at java.base/java.util.concurrent.atomic.AtomicReference.updateAndGet(AtomicReference.java:210) 
    at com.intellij.util.concurrency.SynchronizedClearableLazy.getValue(SynchronizedClearableLazy.kt:40) 
    at com.intellij.ui.scale.JBUIScale.sysScale(JBUIScale.kt:307) 
    at com.intellij.ui.scale.ScaleContext.<init>(ScaleContext.kt:83) 
    at com.intellij.ui.scale.ScaleContext$Companion.create(ScaleContext.kt:80) 
    at com.intellij.ui.icons.CachedImageIcon.<init>(CachedImageIcon.kt:75) 
    at com.intellij.ui.icons.CachedImageIcon.<init>(CachedImageIcon.kt:101) 
    at com.intellij.ui.icons.ImageDataByPathLoader$Companion.createIcon(ImageDataByPathLoader.kt:63) 
    at com.intellij.ui.icons.ImageDataByPathLoader$Companion.access$createIcon(ImageDataByPathLoader.kt:19) 
    at com.intellij.ui.icons.ImageDataByPathLoader$Companion$findIconByPath$icon$1.invoke(ImageDataByPathLoader.kt:40) 
    at com.intellij.ui.icons.ImageDataByPathLoader$Companion$findIconByPath$icon$1.invoke(ImageDataByPathLoader.kt:39) 
    at com.intellij.ui.icons.ImageDataByPathLoader$Companion.findIconByPath$lambda$0(ImageDataByPathLoader.kt:39) 
    at com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2685) 
    at java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916) 
    at com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2683) 
    at com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2666) 
    at com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:112) 
    at com.intellij.ui.icons.ImageDataByPathLoader$Companion.findIconByPath(ImageDataByPathLoader.kt:39) 
    at com.intellij.openapi.util.IconLoaderKt.findIconUsingNewImplementation(IconLoader.kt:501) 
    at com.intellij.openapi.util.IconLoaderKt.findIconUsingNewImplementation$default(IconLoader.kt:500) 
    at com.intellij.openapi.util.IconLoader.findIcon(IconLoader.kt:195) 
    at com.intellij.openapi.util.IconLoader.getIcon(IconLoader.kt:146) 
    at org.intellij.erlang.icons.ErlangIcons.<clinit>(ErlangIcons.java:32) 
    at org.intellij.erlang.ErlangFileType$ModuleFileType.<init>(ErlangFileType.java:99) 
    at org.intellij.erlang.ErlangFileType.<clinit>(ErlangFileType.java:34) 
    at org.intellij.erlang.psi.impl.ErlangFileImpl.getFileTypeForTests(ErlangFileImpl.java:321) 
    at org.intellij.erlang.psi.impl.ErlangFileImpl.getFileType(ErlangFileImpl.java:308) 
    at org.intellij.erlang.parser.ErlangParserUtil.isApplicationLanguage(ErlangParserUtil.java:44) 
    at org.intellij.erlang.parser.ErlangParser.is_app(ErlangParser.java:3197) 
    at org.intellij.erlang.parser.ErlangParser.application_file_expression(ErlangParser.java:623) 
    at org.intellij.erlang.parser.ErlangParser.forms(ErlangParser.java:2393) 
    at org.intellij.erlang.parser.ErlangParser.parse_root_(ErlangParser.java:35) 
    at org.intellij.erlang.parser.ErlangParser.parse_root_(ErlangParser.java:31) 
    at org.intellij.erlang.parser.ErlangParser.parseLight(ErlangParser.java:26) 
    at org.intellij.erlang.parser.ErlangParser.parse(ErlangParser.java:18) 
    at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:58) 
    at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:53) 
    at com.intellij.psi.impl.source.tree.LazyParseableElement.lambda$ensureParsed$2(LazyParseableElement.java:183) 
    at com.intellij.psi.impl.DebugUtil.performPsiModification(DebugUtil.java:481) 
    at com.intellij.psi.impl.source.tree.LazyParseableElement.ensureParsed(LazyParseableElement.java:182) 
    at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:234) 
    at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:25) 
    at com.intellij.psi.impl.source.tree.SharedImplUtil.acceptChildren(SharedImplUtil.java:173) 
    at com.intellij.psi.impl.source.PsiFileImpl.acceptChildren(PsiFileImpl.java:747) 
    at com.intellij.testFramework.ParsingTestCase$3.visitElement(ParsingTestCase.java:506) 
    at com.intellij.psi.PsiElementVisitor.visitFile(PsiElementVisitor.java:51) 
    at com.intellij.extapi.psi.PsiFileBase.accept(PsiFileBase.java:59) 
    at com.intellij.testFramework.ParsingTestCase.ensureParsed(ParsingTestCase.java:503) 
    at com.intellij.testFramework.ParsingTestCase.doSanityChecks(ParsingTestCase.java:317) 
    at com.intellij.testFramework.ParsingTestCase.parseFile(ParsingTestCase.java:307) 
    at com.intellij.testFramework.ParsingTestCase.doTest(ParsingTestCase.java:284) 
    at com.intellij.testFramework.ParsingTestCase.doTest(ParsingTestCase.java:278) 
    at org.intellij.erlang.parser.ErlangParserTestBase.doTest(ErlangParserTestBase.java:41) 
    at org.intellij.erlang.parser.ErlangParserTest.testNewNumbers(ErlangParserTest.java:100) 
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) 
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
    at java.base/java.lang.reflect.Method.invoke(Method.java:568) 
    at junit.framework.TestCase.runTest(TestCase.java:177) 
    at com.intellij.testFramework.UsefulTestCase.lambda$runBare$11(UsefulTestCase.java:479) 
    at com.intellij.testFramework.UsefulTestCase.lambda$wrapTestRunnable$13(UsefulTestCase.java:500) 
    at com.intellij.testFramework.UsefulTestCase.runTestRunnable(UsefulTestCase.java:404) 
    at com.intellij.testFramework.UsefulTestCase.defaultRunBare(UsefulTestCase.java:420) 
    at com.intellij.testFramework.UsefulTestCase.lambda$runBare$12(UsefulTestCase.java:487) 
    at com.intellij.testFramework.EdtTestUtil.lambda$runInEdtAndWait$1(EdtTestUtil.java:40) 
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:308) 
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:789) 
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:740) 
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:734) 
    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:759) 
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:322) 
    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.Throwable: Must be precomputed 
    ... 84 more 
 

com.intellij.testFramework.TestLoggerFactory$TestLoggerAssertionError: Must be precomputed
    at com.intellij.testFramework.TestLoggerFactory$TestLogger.error(TestLoggerFactory.java:403)
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:370)
    at com.intellij.ui.scale.JBUIScale.computeSystemScaleFactor(JBUIScale.kt:188)
    at com.intellij.ui.scale.JBUIScale$systemScaleFactor$1.invoke(JBUIScale.kt:67)
    at com.intellij.ui.scale.JBUIScale$systemScaleFactor$1.invoke(JBUIScale.kt:66)
    at com.intellij.util.concurrency.SynchronizedClearableLazy._get_value_$lambda$1$lambda$0(SynchronizedClearableLazy.kt:41)
    at java.base/java.util.concurrent.atomic.AtomicReference.updateAndGet(AtomicReference.java:210)
    at com.intellij.util.concurrency.SynchronizedClearableLazy.getValue(SynchronizedClearableLazy.kt:40)
    at com.intellij.ui.scale.JBUIScale.sysScale(JBUIScale.kt:307)
    at com.intellij.ui.scale.ScaleContext.<init>(ScaleContext.kt:83)
    at com.intellij.ui.scale.ScaleContext$Companion.create(ScaleContext.kt:80)
    at com.intellij.ui.icons.CachedImageIcon.<init>(CachedImageIcon.kt:75)
    at com.intellij.ui.icons.CachedImageIcon.<init>(CachedImageIcon.kt:101)
    at com.intellij.ui.icons.ImageDataByPathLoader$Companion.createIcon(ImageDataByPathLoader.kt:63)
    at com.intellij.ui.icons.ImageDataByPathLoader$Companion.access$createIcon(ImageDataByPathLoader.kt:19)
    at com.intellij.ui.icons.ImageDataByPathLoader$Companion$findIconByPath$icon$1.invoke(ImageDataByPathLoader.kt:40)
    at com.intellij.ui.icons.ImageDataByPathLoader$Companion$findIconByPath$icon$1.invoke(ImageDataByPathLoader.kt:39)
    at com.intellij.ui.icons.ImageDataByPathLoader$Companion.findIconByPath$lambda$0(ImageDataByPathLoader.kt:39)
    at com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2685)
    at java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916)
    at com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2683)
    at com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2666)
    at com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:112)
    at com.intellij.ui.icons.ImageDataByPathLoader$Companion.findIconByPath(ImageDataByPathLoader.kt:39)
    at com.intellij.openapi.util.IconLoaderKt.findIconUsingNewImplementation(IconLoader.kt:501)
    at com.intellij.openapi.util.IconLoaderKt.findIconUsingNewImplementation$default(IconLoader.kt:500)
    at com.intellij.openapi.util.IconLoader.findIcon(IconLoader.kt:195)
    at com.intellij.openapi.util.IconLoader.getIcon(IconLoader.kt:146)
    at org.intellij.erlang.icons.ErlangIcons.<clinit>(ErlangIcons.java:32)
    at org.intellij.erlang.ErlangFileType$ModuleFileType.<init>(ErlangFileType.java:99)
    at org.intellij.erlang.ErlangFileType.<clinit>(ErlangFileType.java:34)
    at org.intellij.erlang.psi.impl.ErlangFileImpl.getFileTypeForTests(ErlangFileImpl.java:321)
    at org.intellij.erlang.psi.impl.ErlangFileImpl.getFileType(ErlangFileImpl.java:308)
    at org.intellij.erlang.parser.ErlangParserUtil.isApplicationLanguage(ErlangParserUtil.java:44)
    at org.intellij.erlang.parser.ErlangParser.is_app(ErlangParser.java:3197)
    at org.intellij.erlang.parser.ErlangParser.application_file_expression(ErlangParser.java:623)
    at org.intellij.erlang.parser.ErlangParser.forms(ErlangParser.java:2393)
    at org.intellij.erlang.parser.ErlangParser.parse_root_(ErlangParser.java:35)
    at org.intellij.erlang.parser.ErlangParser.parse_root_(ErlangParser.java:31)
    at org.intellij.erlang.parser.ErlangParser.parseLight(ErlangParser.java:26)
    at org.intellij.erlang.parser.ErlangParser.parse(ErlangParser.java:18)
    at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:58)
    at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:53)
    at com.intellij.psi.impl.source.tree.LazyParseableElement.lambda$ensureParsed$2(LazyParseableElement.java:183)
    at com.intellij.psi.impl.DebugUtil.performPsiModification(DebugUtil.java:481)
    at com.intellij.psi.impl.source.tree.LazyParseableElement.ensureParsed(LazyParseableElement.java:182)
    at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:234)
    at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:25)
    at com.intellij.psi.impl.source.tree.SharedImplUtil.acceptChildren(SharedImplUtil.java:173)
    at com.intellij.psi.impl.source.PsiFileImpl.acceptChildren(PsiFileImpl.java:747)
    at com.intellij.testFramework.ParsingTestCase$3.visitElement(ParsingTestCase.java:506)
    at com.intellij.psi.PsiElementVisitor.visitFile(PsiElementVisitor.java:51)
    at com.intellij.extapi.psi.PsiFileBase.accept(PsiFileBase.java:59)
    at com.intellij.testFramework.ParsingTestCase.ensureParsed(ParsingTestCase.java:503)
    at com.intellij.testFramework.ParsingTestCase.doSanityChecks(ParsingTestCase.java:317)
    at com.intellij.testFramework.ParsingTestCase.parseFile(ParsingTestCase.java:307)
    at com.intellij.testFramework.ParsingTestCase.doTest(ParsingTestCase.java:284)
    at com.intellij.testFramework.ParsingTestCase.doTest(ParsingTestCase.java:278)
    at org.intellij.erlang.parser.ErlangParserTestBase.doTest(ErlangParserTestBase.java:41)
    at org.intellij.erlang.parser.ErlangParserTest.testNewNumbers(ErlangParserTest.java:100)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at junit.framework.TestCase.runTest(TestCase.java:177)
    at com.intellij.testFramework.UsefulTestCase.lambda$runBare$11(UsefulTestCase.java:479)
    at com.intellij.testFramework.UsefulTestCase.lambda$wrapTestRunnable$13(UsefulTestCase.java:500)
    at com.intellij.testFramework.UsefulTestCase.runTestRunnable(UsefulTestCase.java:404)
    at com.intellij.testFramework.UsefulTestCase.defaultRunBare(UsefulTestCase.java:420)
    at com.intellij.testFramework.UsefulTestCase.lambda$runBare$12(UsefulTestCase.java:487)
    at com.intellij.testFramework.EdtTestUtil.lambda$runInEdtAndWait$1(EdtTestUtil.java:40)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:308)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:789)
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:740)
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:734)
    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:759)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:322)
    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.Throwable: Must be precomputed
    ... 84 more

Must be precomputed
java.lang.Throwable: Must be precomputed
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:370)
    at com.intellij.ui.scale.JBUIScale.computeSystemScaleFactor(JBUIScale.kt:188)
    at com.intellij.ui.scale.JBUIScale$systemScaleFactor$1.invoke(JBUIScale.kt:67)
    at com.intellij.ui.scale.JBUIScale$systemScaleFactor$1.invoke(JBUIScale.kt:66)
    at com.intellij.util.concurrency.SynchronizedClearableLazy._get_value_$lambda$1$lambda$0(SynchronizedClearableLazy.kt:41)
    at java.base/java.util.concurrent.atomic.AtomicReference.updateAndGet(AtomicReference.java:210)
    at com.intellij.util.concurrency.SynchronizedClearableLazy.getValue(SynchronizedClearableLazy.kt:40)
    at com.intellij.ui.scale.JBUIScale.sysScale(JBUIScale.kt:307)
    at com.intellij.ui.scale.ScaleContext.<init>(ScaleContext.kt:83)
    at com.intellij.ui.scale.ScaleContext$Companion.create(ScaleContext.kt:80)
    at com.intellij.ui.icons.CachedImageIcon.<init>(CachedImageIcon.kt:75)
    at com.intellij.ui.icons.CachedImageIcon.<init>(CachedImageIcon.kt:101)
    at com.intellij.ui.icons.ImageDataByPathLoader$Companion.createIcon(ImageDataByPathLoader.kt:63)
    at com.intellij.ui.icons.ImageDataByPathLoader$Companion.access$createIcon(ImageDataByPathLoader.kt:19)
    at com.intellij.ui.icons.ImageDataByPathLoader$Companion$findIconByPath$icon$1.invoke(ImageDataByPathLoader.kt:40)
    at com.intellij.ui.icons.ImageDataByPathLoader$Companion$findIconByPath$icon$1.invoke(ImageDataByPathLoader.kt:39)
    at com.intellij.ui.icons.ImageDataByPathLoader$Companion.findIconByPath$lambda$0(ImageDataByPathLoader.kt:39)
    at com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2685)
    at java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916)
    at com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2683)
    at com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2666)
    at com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:112)
    at com.intellij.ui.icons.ImageDataByPathLoader$Companion.findIconByPath(ImageDataByPathLoader.kt:39)
    at com.intellij.openapi.util.IconLoaderKt.findIconUsingNewImplementation(IconLoader.kt:501)
    at com.intellij.openapi.util.IconLoaderKt.findIconUsingNewImplementation$default(IconLoader.kt:500)
    at com.intellij.openapi.util.IconLoader.findIcon(IconLoader.kt:195)
    at com.intellij.openapi.util.IconLoader.getIcon(IconLoader.kt:146)
    at org.intellij.erlang.icons.ErlangIcons.<clinit>(ErlangIcons.java:32)
    at org.intellij.erlang.ErlangFileType$ModuleFileType.<init>(ErlangFileType.java:99)
    at org.intellij.erlang.ErlangFileType.<clinit>(ErlangFileType.java:34)
    at org.intellij.erlang.psi.impl.ErlangFileImpl.getFileTypeForTests(ErlangFileImpl.java:321)
    at org.intellij.erlang.psi.impl.ErlangFileImpl.getFileType(ErlangFileImpl.java:308)
    at org.intellij.erlang.parser.ErlangParserUtil.isApplicationLanguage(ErlangParserUtil.java:44)
    at org.intellij.erlang.parser.ErlangParser.is_app(ErlangParser.java:3197)
    at org.intellij.erlang.parser.ErlangParser.application_file_expression(ErlangParser.java:623)
    at org.intellij.erlang.parser.ErlangParser.forms(ErlangParser.java:2393)
    at org.intellij.erlang.parser.ErlangParser.parse_root_(ErlangParser.java:35)
    at org.intellij.erlang.parser.ErlangParser.parse_root_(ErlangParser.java:31)
    at org.intellij.erlang.parser.ErlangParser.parseLight(ErlangParser.java:26)
    at org.intellij.erlang.parser.ErlangParser.parse(ErlangParser.java:18)
    at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:58)
    at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:53)
    at com.intellij.psi.impl.source.tree.LazyParseableElement.lambda$ensureParsed$2(LazyParseableElement.java:183)
    at com.intellij.psi.impl.DebugUtil.performPsiModification(DebugUtil.java:481)
    at com.intellij.psi.impl.source.tree.LazyParseableElement.ensureParsed(LazyParseableElement.java:182)
    at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:234)
    at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:25)
    at com.intellij.psi.impl.source.tree.SharedImplUtil.acceptChildren(SharedImplUtil.java:173)
    at com.intellij.psi.impl.source.PsiFileImpl.acceptChildren(PsiFileImpl.java:747)
    at com.intellij.testFramework.ParsingTestCase$3.visitElement(ParsingTestCase.java:506)
    at com.intellij.psi.PsiElementVisitor.visitFile(PsiElementVisitor.java:51)
    at com.intellij.extapi.psi.PsiFileBase.accept(PsiFileBase.java:59)
    at com.intellij.testFramework.ParsingTestCase.ensureParsed(ParsingTestCase.java:503)
    at com.intellij.testFramework.ParsingTestCase.doSanityChecks(ParsingTestCase.java:317)
    at com.intellij.testFramework.ParsingTestCase.parseFile(ParsingTestCase.java:307)
    at com.intellij.testFramework.ParsingTestCase.doTest(ParsingTestCase.java:284)
    at com.intellij.testFramework.ParsingTestCase.doTest(ParsingTestCase.java:278)
    at org.intellij.erlang.parser.ErlangParserTestBase.doTest(ErlangParserTestBase.java:41)
    at org.intellij.erlang.parser.ErlangParserTest.testNewNumbers(ErlangParserTest.java:100)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at junit.framework.TestCase.runTest(TestCase.java:177)
    at com.intellij.testFramework.UsefulTestCase.lambda$runBare$11(UsefulTestCase.java:479)
    at com.intellij.testFramework.UsefulTestCase.lambda$wrapTestRunnable$13(UsefulTestCase.java:500)
    at com.intellij.testFramework.UsefulTestCase.runTestRunnable(UsefulTestCase.java:404)
    at com.intellij.testFramework.UsefulTestCase.defaultRunBare(UsefulTestCase.java:420)
    at com.intellij.testFramework.UsefulTestCase.lambda$runBare$12(UsefulTestCase.java:487)
    at com.intellij.testFramework.EdtTestUtil.lambda$runInEdtAndWait$1(EdtTestUtil.java:40)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:308)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:789)
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:740)
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:734)
    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:759)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:322)
    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)
SingingBush commented 1 year ago

I was able to work around the "Must be precomputed" using -Djava.awt.headless=true which I found here https://github.com/jonathanlermitage/intellij-extra-icons-plugin/blob/8271681507a409ff7d6bcc97e28a73d4d6f5cc1b/build.gradle.kts#L175-L180

Kotlin syntax:

    withType<Test> {
        useJUnitPlatform()
        jvmArgs("-Djava.awt.headless=true")
    }

With groovy syntax it would be:

    tasks.withType(Test).configureEach {
        jvmArgs = [
            '-Djava.awt.headless=true'
        ]
    }
ignatov commented 1 year ago

@SingingBush thanks for the workaround

jansorg commented 1 year ago

Complete thread dump, taken after stopping at a breakpoint on Logger.error, executed with OpenJDK 17:

Full thread dump

"DefaultDispatcher-worker-25@5197" daemon prio=6 tid=0x39 nid=NA runnable
  java.lang.Thread.State: RUNNABLE
      at com.intellij.openapi.diagnostic.Logger.error(Logger.java:370)
      at com.intellij.ui.scale.JBUIScale.computeSystemFontData(JBUIScale.kt:96)
      at com.intellij.ui.scale.JBUIScale.access$computeSystemFontData(JBUIScale.kt:31)
      at com.intellij.ui.scale.JBUIScale$systemFontData$1.invoke(JBUIScale.kt:87)
      at com.intellij.ui.scale.JBUIScale$systemFontData$1.invoke(JBUIScale.kt:86)
      at com.intellij.util.concurrency.SynchronizedClearableLazy._get_value_$lambda$1$lambda$0(SynchronizedClearableLazy.kt:41)
      at com.intellij.util.concurrency.SynchronizedClearableLazy$$Lambda$110/0x00000001002f49e0.apply(Unknown Source:-1)
      at java.util.concurrent.atomic.AtomicReference.updateAndGet(AtomicReference.java:210)
      at com.intellij.util.concurrency.SynchronizedClearableLazy.getValue(SynchronizedClearableLazy.kt:40)
      - locked <0x28c8> (a com.intellij.util.concurrency.SynchronizedClearableLazy)
      at com.intellij.ui.scale.JBUIScale.getSystemFontData(JBUIScale.kt:388)
      at com.intellij.ui.scale.JBUIScale.computeSystemScaleFactor(JBUIScale.kt:208)
      at com.intellij.ui.scale.JBUIScale$systemScaleFactor$1.invoke(JBUIScale.kt:67)
      at com.intellij.ui.scale.JBUIScale$systemScaleFactor$1.invoke(JBUIScale.kt:66)
      at com.intellij.util.concurrency.SynchronizedClearableLazy._get_value_$lambda$1$lambda$0(SynchronizedClearableLazy.kt:41)
      at com.intellij.util.concurrency.SynchronizedClearableLazy$$Lambda$110/0x00000001002f49e0.apply(Unknown Source:-1)
      at java.util.concurrent.atomic.AtomicReference.updateAndGet(AtomicReference.java:210)
      at com.intellij.util.concurrency.SynchronizedClearableLazy.getValue(SynchronizedClearableLazy.kt:40)
      - locked <0x28c9> (a com.intellij.util.concurrency.SynchronizedClearableLazy)
      at com.intellij.ui.scale.JBUIScale$userScaleFactor$1.invoke(JBUIScale.kt:42)
      at com.intellij.ui.scale.JBUIScale$userScaleFactor$1.invoke(JBUIScale.kt:41)
      at com.intellij.util.concurrency.SynchronizedClearableLazy._get_value_$lambda$1$lambda$0(SynchronizedClearableLazy.kt:41)
      at com.intellij.util.concurrency.SynchronizedClearableLazy$$Lambda$110/0x00000001002f49e0.apply(Unknown Source:-1)
      at java.util.concurrent.atomic.AtomicReference.updateAndGet(AtomicReference.java:210)
      at com.intellij.util.concurrency.SynchronizedClearableLazy.getValue(SynchronizedClearableLazy.kt:40)
      - locked <0x28ca> (a com.intellij.util.concurrency.SynchronizedClearableLazy)
      at com.intellij.ui.scale.JBUIScale.scale(JBUIScale.kt:337)
      at com.intellij.ui.scale.UserScaleContext.<init>(UserScaleContext.java:23)
      at com.intellij.ui.scale.UserScaleContext.create(UserScaleContext.java:57)
      at com.intellij.util.ui.JBScalableIcon.<init>(JBScalableIcon.java:30)
      at com.intellij.util.ui.JBCachingScalableIcon.<init>(JBCachingScalableIcon.java:19)
      at com.intellij.util.ui.EmptyIcon.<init>(EmptyIcon.java:74)
      at com.intellij.util.ui.EmptyIcon.lambda$create$1(EmptyIcon.java:108)
      at com.intellij.util.ui.EmptyIcon$$Lambda$700/0x0000000100699ff0.apply(Unknown Source:-1)
      at java.util.HashMap.computeIfAbsent(HashMap.java:1220)
      at com.intellij.util.ui.EmptyIcon.create(EmptyIcon.java:107)
      at com.intellij.util.ui.EmptyIcon.create(EmptyIcon.java:56)
      at com.intellij.util.ui.EmptyIcon.create(EmptyIcon.java:47)
      at com.intellij.util.ui.EmptyIcon.<clinit>(EmptyIcon.java:27)
      at com.intellij.codeHighlighting.HighlightDisplayLevel.<init>(HighlightDisplayLevel.java:89)
      at com.intellij.codeHighlighting.HighlightDisplayLevel.<init>(HighlightDisplayLevel.java:34)
      at com.intellij.codeHighlighting.HighlightDisplayLevel.<clinit>(HighlightDisplayLevel.java:47)
      at com.intellij.codeInsight.daemon.impl.SeverityRegistrar.<clinit>(SeverityRegistrar.java:68)
      at com.intellij.codeInsight.daemon.impl.DaemonListeners.<init>(DaemonListeners.java:343)
      at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:-1)
      at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
      at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:480)
      at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:95)
      at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClassWithConstructorInjection(ComponentManagerImpl.kt:1011)
      at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:47)
      at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:43)
      at com.intellij.serviceContainer.BaseComponentAdapter.doCreateInstance(BaseComponentAdapter.kt:158)
      at com.intellij.serviceContainer.BaseComponentAdapter.createInstance(BaseComponentAdapter.kt:137)
      - locked <0x28b7> (a com.intellij.serviceContainer.ServiceComponentAdapter)
      at com.intellij.serviceContainer.BaseComponentAdapter.access$createInstance(BaseComponentAdapter.kt:21)
      at com.intellij.serviceContainer.BaseComponentAdapter$getInstanceAsync$2.invokeSuspend(BaseComponentAdapter.kt:185)
      at com.intellij.serviceContainer.BaseComponentAdapter$getInstanceAsync$2.invoke(BaseComponentAdapter.kt:-1)
      at com.intellij.serviceContainer.BaseComponentAdapter$getInstanceAsync$2.invoke(BaseComponentAdapter.kt:-1)
      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:1)
      at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceAsync(BaseComponentAdapter.kt:180)
      at com.intellij.serviceContainer.ComponentManagerImpl.preloadService$suspendImpl(ComponentManagerImpl.kt:1162)
      at com.intellij.serviceContainer.ComponentManagerImpl.preloadService(Unknown Source:-1)
      at com.intellij.serviceContainer.ComponentManagerImpl$preloadServices$1.invokeSuspend(ComponentManagerImpl.kt:1146)
      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
      at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
      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)

"AWT-EventQueue-0@2789" prio=6 tid=0x17 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
      at java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3465)
      at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3436)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
      at java.awt.EventQueue.getNextEvent(EventQueue.java:565)
      at com.intellij.ide.IdeEventQueue.getNextEvent$lambda$9(IdeEventQueue.kt:481)
      at com.intellij.ide.IdeEventQueue$$Lambda$480/0x00000001005c1410.compute(Unknown Source:-1)
      at com.intellij.openapi.application.impl.ApplicationImpl.runUnlockingIntendedWrite(ApplicationImpl.java:887)
      at com.intellij.ide.IdeEventQueue.getNextEvent(IdeEventQueue.kt:481)
      at com.intellij.openapi.progress.impl.PlatformTaskSupportKt.pumpEventsForHierarchy(PlatformTaskSupport.kt:376)
      at com.intellij.openapi.progress.impl.PlatformTaskSupportKt.access$pumpEventsForHierarchy(PlatformTaskSupport.kt:1)
      at com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$2.invoke(PlatformTaskSupport.kt:157)
      at com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$2.invoke(PlatformTaskSupport.kt:135)
      at com.intellij.openapi.application.impl.ModalityKt.inModalContext(modality.kt:12)
      at com.intellij.openapi.progress.impl.PlatformTaskSupport.runWithModalProgressBlockingInternal(PlatformTaskSupport.kt:135)
      at com.intellij.openapi.progress.impl.PlatformTaskSupport.access$runWithModalProgressBlockingInternal(PlatformTaskSupport.kt:41)
      at com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$1.invoke(PlatformTaskSupport.kt:123)
      at com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$1.invoke(PlatformTaskSupport.kt:119)
      at com.intellij.openapi.progress.ContextKt.prepareThreadContext(context.kt:90)
      at com.intellij.openapi.progress.impl.PlatformTaskSupport.runWithModalProgressBlockingInternal(PlatformTaskSupport.kt:119)
      at com.intellij.openapi.progress.TasksKt.runWithModalProgressBlocking(tasks.kt:167)
      at com.intellij.ide.impl.ProjectUtilKt.runUnderModalProgressIfIsEdt(ProjectUtil.kt:710)
      at com.intellij.openapi.project.impl.ProjectManagerImpl.newProject(ProjectManagerImpl.kt:778)
      at com.intellij.project.TestProjectManager.newProject(TestProjectManager.kt:87)
      at com.intellij.testFramework.LightPlatformTestCase.initProject(LightPlatformTestCase.java:179)
      at com.intellij.testFramework.LightPlatformTestCase.lambda$doSetup$3(LightPlatformTestCase.java:261)
      at com.intellij.testFramework.LightPlatformTestCase$$Lambda$422/0x0000000100597640.run(Unknown Source:-1)
      at com.intellij.openapi.application.impl.ApplicationImpl.invokeAndWait(ApplicationImpl.java:458)
      at com.intellij.openapi.application.impl.ApplicationImpl.invokeAndWait(ApplicationImpl.java:490)
      at com.intellij.testFramework.LightPlatformTestCase.doSetup(LightPlatformTestCase.java:252)
      at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:41)
      at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.lambda$setUp$38(CodeInsightTestFixtureImpl.java:1336)
      at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$$Lambda$89/0x0000000100208ce8.run(Unknown Source:-1)
      at com.intellij.testFramework.EdtTestUtil.lambda$runInEdtAndWait$1(EdtTestUtil.java:40)
      at com.intellij.testFramework.EdtTestUtil$$Lambda$99/0x0000000100209530.run(Unknown Source:-1)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:308)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
      at java.awt.EventQueue$4.run(EventQueue.java:720)
      at java.awt.EventQueue$4.run(EventQueue.java:714)
      at java.security.AccessController.executePrivileged(AccessController.java:776)
      at java.security.AccessController.doPrivileged(AccessController.java:399)
      at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

"Test worker@1" prio=5 tid=0x1 nid=NA waiting
  java.lang.Thread.State: WAITING
      at java.lang.Object.wait(Object.java:-1)
      at java.lang.Object.wait(Object.java:338)
      at java.awt.EventQueue.invokeAndWait(EventQueue.java:1365)
      at java.awt.EventQueue.invokeAndWait(EventQueue.java:1346)
      at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480)
      at com.intellij.testFramework.EdtTestUtil.runInEdtAndWait(EdtTestUtil.java:53)
      at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1335)
      at com.intellij.testFramework.fixtures.BasePlatformTestCase.setUp(BasePlatformTestCase.java:48)
      at com.intellij.testFramework.fixtures.CompletionAutoPopupTestCase.setUp(CompletionAutoPopupTestCase.java:13)
      at com.intellij.testFramework.UsefulTestCase.invokeSetUp(UsefulTestCase.java:426)
      at com.intellij.testFramework.UsefulTestCase.defaultRunBare(UsefulTestCase.java:418)
      at com.intellij.testFramework.UsefulTestCase.runBare(UsefulTestCase.java:490)
      at com.intellij.testFramework.UsefulTestCase.runBare(UsefulTestCase.java:479)
      at junit.framework.TestResult$1.protect(TestResult.java:122)
      at junit.framework.TestResult.runProtected(TestResult.java:142)
      at junit.framework.TestResult.run(TestResult.java:125)
      at junit.framework.TestCase.run(TestCase.java:130)
      at junit.framework.TestSuite.runTest(TestSuite.java:241)
      at junit.framework.TestSuite.run(TestSuite.java:236)
      at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
      at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:108)
      at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:57)
      at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:39)
      at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)
      at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:52)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-1)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:568)
      at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
      at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
      at jdk.proxy1.$Proxy2.processTestClass(Unknown Source:-1)
      at org.gradle.api.internal.tasks.testing.worker.TestWorker$2.run(TestWorker.java:176)
      at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
      at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
      at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
      at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
      at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
      at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
      at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
      at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)

"/127.0.0.1:50332 to /127.0.0.1:36201 workers Thread 3@1977" prio=5 tid=0x12 nid=NA runnable
  java.lang.Thread.State: RUNNABLE
      at sun.nio.ch.EPoll.wait(EPoll.java:-1)
      at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:118)
      at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:129)
      - locked <0x28c2> (a sun.nio.ch.EPollSelectorImpl)
      - locked <0x28c3> (a sun.nio.ch.Util$2)
      at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:146)
      at org.gradle.internal.remote.internal.inet.SocketConnection$SocketInputStream.read(SocketConnection.java:185)
      at com.esotericsoftware.kryo.io.Input.fill(Input.java:146)
      at com.esotericsoftware.kryo.io.Input.require(Input.java:178)
      at com.esotericsoftware.kryo.io.Input.readByte(Input.java:295)
      at org.gradle.internal.serialize.kryo.KryoBackedDecoder.readByte(KryoBackedDecoder.java:88)
      at org.gradle.internal.remote.internal.hub.InterHubMessageSerializer$MessageReader.read(InterHubMessageSerializer.java:64)
      at org.gradle.internal.remote.internal.hub.InterHubMessageSerializer$MessageReader.read(InterHubMessageSerializer.java:52)
      at org.gradle.internal.remote.internal.inet.SocketConnection.receive(SocketConnection.java:81)
      at org.gradle.internal.remote.internal.hub.MessageHub$ConnectionReceive.run(MessageHub.java:270)
      at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
      at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:49)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at java.lang.Thread.run(Thread.java:833)

"ApplicationImpl pooled thread 1@3847" prio=4 tid=0x21 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
      at java.util.concurrent.SynchronousQueue$TransferStack$SNode.block(SynchronousQueue.java:288)
      at java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3465)
      at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3436)
      at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:397)
      at java.util.concurrent.SynchronousQueue.take(SynchronousQueue.java:886)
      at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
      at java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
      at java.security.AccessController.executePrivileged(AccessController.java:776)
      at java.security.AccessController.doPrivileged(AccessController.java:399)
      at java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
      at java.lang.Thread.run(Thread.java:833)

"/127.0.0.1:50332 to /127.0.0.1:36201 workers@1914" prio=5 tid=0x10 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
      at java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3465)
      at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3436)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
      at org.gradle.internal.remote.internal.hub.queue.EndPointQueue.take(EndPointQueue.java:49)
      at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:403)
      at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
      at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:49)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at java.lang.Thread.run(Thread.java:833)

"/127.0.0.1:50332 to /127.0.0.1:36201 workers Thread 2@1974" prio=5 tid=0x11 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
      at java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3465)
      at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3436)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
      at org.gradle.internal.remote.internal.hub.queue.EndPointQueue.take(EndPointQueue.java:49)
      at org.gradle.internal.remote.internal.hub.MessageHub$ConnectionDispatch.run(MessageHub.java:322)
      at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
      at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:49)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at java.lang.Thread.run(Thread.java:833)

"DirectBufferWrapper allocation thread@5153" daemon prio=5 tid=0x38 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
      at java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3465)
      at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3436)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
      at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435)
      at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at java.lang.Thread.run(Thread.java:833)

"PeriodicMetricReader@5830" daemon prio=6 tid=0x40 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1672)
      at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
      at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
      at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at java.lang.Thread.run(Thread.java:833)

"process reaper@2945" daemon prio=10 tid=0x1a nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
      at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:401)
      at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:903)
      at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at java.lang.Thread.run(Thread.java:833)

"Coroutines Debugger Cleaner@2830" daemon prio=6 tid=0x19 nid=NA waiting
  java.lang.Thread.State: WAITING
      at java.lang.Object.wait(Object.java:-1)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
      at kotlinx.coroutines.debug.internal.ConcurrentWeakMap.runWeakRefQueueCleaningLoopUntilInterrupted(ConcurrentWeakMap.kt:73)
      at kotlinx.coroutines.debug.internal.DebugProbesImpl$startWeakRefCleanerThread$1.invoke(DebugProbesImpl.kt:90)
      at kotlinx.coroutines.debug.internal.DebugProbesImpl$startWeakRefCleanerThread$1.invoke(DebugProbesImpl.kt:89)
      at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30)

"DefaultDispatcher-worker-1@3567" daemon prio=6 tid=0x1d nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-2@3568" daemon prio=6 tid=0x1e nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-3@3570" daemon prio=6 tid=0x1f nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-4@3893" daemon prio=6 tid=0x22 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-5@3895" daemon prio=6 tid=0x23 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-6@3963" daemon prio=6 tid=0x24 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-7@3965" daemon prio=6 tid=0x25 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-8@4608" daemon prio=6 tid=0x27 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-9@4609" daemon prio=6 tid=0x28 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-10@4610" daemon prio=6 tid=0x29 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-11@4615" daemon prio=6 tid=0x2a nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-12@4616" daemon prio=6 tid=0x2b nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-13@4618" daemon prio=6 tid=0x2c nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-14@4622" daemon prio=6 tid=0x2d nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-15@4623" daemon prio=6 tid=0x2e nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-16@4628" daemon prio=6 tid=0x2f nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-17@4637" daemon prio=6 tid=0x30 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-18@4643" daemon prio=6 tid=0x31 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-19@4648" daemon prio=6 tid=0x32 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-20@4661" daemon prio=6 tid=0x33 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-21@4976" daemon prio=6 tid=0x34 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-22@4983" daemon prio=6 tid=0x35 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-23@4987" daemon prio=6 tid=0x36 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-24@4990" daemon prio=6 tid=0x37 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-26@5194" daemon prio=6 tid=0x3a nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-27@5195" daemon prio=6 tid=0x3b nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-28@5196" daemon prio=6 tid=0x3c nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-29@5198" daemon prio=6 tid=0x3d nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-30@5199" daemon prio=6 tid=0x3e nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-31@5200" daemon prio=6 tid=0x3f nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-32@7051" daemon prio=6 tid=0x41 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-33@7054" daemon prio=6 tid=0x42 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-34@7055" daemon prio=6 tid=0x43 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-36@7056" daemon prio=6 tid=0x45 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-35@7057" daemon prio=6 tid=0x44 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"DefaultDispatcher-worker-37@7058" daemon prio=6 tid=0x46 nid=NA waiting
  java.lang.Thread.State: WAITING
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:376)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:838)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:783)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:731)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

"Common-Cleaner@10430" daemon prio=8 tid=0xa nid=NA waiting
  java.lang.Thread.State: WAITING
      at java.lang.Object.wait(Object.java:-1)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
      at jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:140)
      at java.lang.Thread.run(Thread.java:833)
      at jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:162)

"Periodic tasks thread@3821" daemon prio=6 tid=0x20 nid=NA runnable
  java.lang.Thread.State: RUNNABLE
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1672)
      at java.util.concurrent.DelayQueue.take(DelayQueue.java:229)
      at com.intellij.util.concurrency.AppDelayQueue$TransferThread.run(AppDelayQueue.java:79)

"AWT-XAWT@2758" daemon prio=6 tid=0x16 nid=NA runnable
  java.lang.Thread.State: RUNNABLE
      at sun.awt.X11.XToolkit.waitForEvents(XToolkit.java:-1)
      at sun.awt.X11.XToolkit.run(XToolkit.java:683)
      at sun.awt.X11.XToolkit.run(XToolkit.java:647)
      at java.lang.Thread.run(Thread.java:833)

"JNA Cleaner@2959" daemon prio=6 tid=0x1b nid=NA waiting
  java.lang.Thread.State: WAITING
      at java.lang.Object.wait(Object.java:-1)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
      at com.sun.jna.internal.Cleaner$1.run(Cleaner.java:58)

"kotlinx.coroutines.DefaultExecutor@4593" daemon prio=6 tid=0x26 nid=NA runnable
  java.lang.Thread.State: RUNNABLE
      at jdk.internal.misc.Unsafe.park(Unsafe.java:-1)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
      at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:121)
      at java.lang.Thread.run(Thread.java:833)

"Reference Handler@10427" daemon prio=10 tid=0x2 nid=NA runnable
  java.lang.Thread.State: RUNNABLE
      at java.lang.ref.Reference.waitForReferencePendingList(Reference.java:-1)
      at java.lang.ref.Reference.processPendingReferences(Reference.java:253)
      at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:215)

"Finalizer@10428" daemon prio=8 tid=0x3 nid=NA waiting
  java.lang.Thread.State: WAITING
      at java.lang.Object.wait(Object.java:-1)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
      at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:172)

"Java2D Disposer@2750" daemon prio=10 tid=0x15 nid=NA waiting
  java.lang.Thread.State: WAITING
      at java.lang.Object.wait(Object.java:-1)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
      at sun.java2d.Disposer.run(Disposer.java:145)
      at java.lang.Thread.run(Thread.java:833)

"AWT-Shutdown@2788" prio=5 tid=0x18 nid=NA waiting
  java.lang.Thread.State: WAITING
      at java.lang.Object.wait(Object.java:-1)
      at java.lang.Object.wait(Object.java:338)
      at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:291)
      at java.lang.Thread.run(Thread.java:833)

"Signal Dispatcher@10429" daemon prio=9 tid=0x4 nid=NA runnable
  java.lang.Thread.State: RUNNABLE

"Notification Thread@717" daemon prio=9 tid=0xe nid=NA runnable
  java.lang.Thread.State: RUNNABLE

"Attach Listener@2972" daemon prio=9 tid=0x1c nid=NA runnable
  java.lang.Thread.State: RUNNABLE
develar commented 1 year ago

DaemonListeners is a project-level service, so, at this point, LoadingState.APP_STARTED should be already set. Hmm...

batya239 commented 1 year ago

@ignatov the easiest way to fix (make a workaround) your issue is to move initialization of icon to getter in file type

batya239 commented 1 year ago

I fixed this error for parsing-related tests.

@jansorg Which tests are you running? If it's open-source, then a link might be useful.

hsz commented 4 months ago

@jansorg is this issue still relevant?

jansorg commented 4 months ago

I'm not sure if I added a workaround or not, but I'm not seeing this anymore.