https://kotlinlang.org logo
#kotest
Title
# kotest
d

dave08

09/26/2023, 10:18 AM
Is there a version of the Kotest plugin for the new EAP version? (Or maybe there's a way to be more lenient on compatibility of Kotest with EAP versions... other plugins just continue working... and Kotest's seems to complain at every minor version...)
Here's my version:
Copy code
IntelliJ IDEA 2023.3 EAP (Ultimate Edition)
Build #IU-233.6745.305, built on September 21, 2023
Runtime version: 17.0.8.1+7-b1059.3 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.15.0-84-generic
Registry:
  debugger.new.tool.window.layout=true
  ide.experimental.ui=true
  editor.minimap.enabled=true
Non-Bundled Plugins:
  com.databricks (1.1)
  com.intellij.plugins.expui (0.4)
  org.jetbrains.plugins.go-template (233.6745.300)
  org.jetbrains.plugins.go (233.6745.305)
  com.intellij.kubernetes (233.6745.297)
  com.intellij.nativeDebug (233.6745.297)
  dev.monogon.cuelang (0.10.0)
  com.intellij.ml.llm (233.6745.297)
  com.github.s4nchez.okeydoke.idea (0.6.2)
  com.intellij.tide (233.6745.297)
  Pythonid (233.6745.305)
  org.jetbrains.plugins.kotlin.jupyter (233.6745.305)
  com.intellij.bigdatatools.core (233.6745.305)
  com.intellij.bigdatatools.binary.files (233.6745.305)
  com.intellij.bigdatatools.rfs (233.6745.305)
  com.jetbrains.php (233.6745.305)
  com.jetbrains.twig (233.6745.297)
  com.kalessil.phpStorm.phpInspectionsEA (5.0.0.0)
  de.espend.idea.php.annotation (9.4.0)
  fr.adrienbrault.idea.symfony2plugin (2022.1.257)
Kotlin: 233-1.9.0-release-358-IJ6745.305
Current Desktop: Budgie:GNOME
s

sam

09/26/2023, 1:54 PM
We can possibly set the upper limit to be like 100000
instead of 223.* or whatever
d

dave08

09/26/2023, 4:31 PM
Yeah, or at least something that could last till the next major version... thanks!
s

sam

09/26/2023, 4:44 PM
Might have to wait for another release of the EAP, getting a bunch of errors
Copy code
Caused by: [CIRCULAR REFERENCE: com.intellij.testFramework.TestLoggerFactory$TestLoggerAssertionError: Index data initialization failed]
	Suppressed: java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.intellij.testFramework.TestLoggerFactory$TestLoggerAssertionError: Index data initialization failed
		at com.intellij.testFramework.RunAll.run(RunAll.kt:33)
		at com.intellij.testFramework.UsefulTestCase.tearDown(UsefulTestCase.java:316)
		at com.intellij.testFramework.fixtures.LightJavaCodeInsightFixtureTestCase.tearDown(LightJavaCodeInsightFixtureTestCase.java:134)
		at com.intellij.testFramework.UsefulTestCase.invokeTearDown(UsefulTestCase.java:433)
		at com.intellij.testFramework.UsefulTestCase.defaultRunBare(UsefulTestCase.java:417)
		at com.intellij.testFramework.UsefulTestCase.lambda$runBare$12(UsefulTestCase.java:487)
		at com.intellij.testFramework.EdtTestUtil.lambda$runInEdtAndWait$5(EdtTestUtil.java:95)
		at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:208)
		at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21)
		at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:190)
		at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:844)
		at com.intellij.openapi.application.impl.ApplicationImpl$4.run(ApplicationImpl.java:464)
		at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:100)
		at com.intellij.openapi.application.impl.RwLockHolder.runWithEnabledImplicitRead(RwLockHolder.kt:75)
		at com.intellij.openapi.application.impl.RwLockHolder.runWithImplicitRead(RwLockHolder.kt:67)
		at com.intellij.openapi.application.impl.ApplicationImpl.runWithImplicitRead(ApplicationImpl.java:1431)
		at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:82)
		at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:124)
		at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:44)
		at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
		at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:792)
		at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
		at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733)
		at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
		at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
		at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:761)
		at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:677)
		at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$12(IdeEventQueue.kt:579)
		at com.intellij.openapi.application.impl.RwLockHolder.runWithoutImplicitRead(RwLockHolder.kt:44)
		at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:579)
		at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:70)
		at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:350)
		at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:349)
		at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:793)
		at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:349)
		at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:344)
		at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:989)
		at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:113)
		at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:989)
		at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:344)
		at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:849)
		at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:386)
		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.RuntimeException: java.util.concurrent.ExecutionException: com.intellij.testFramework.TestLoggerFactory$TestLoggerAssertionError: Index data initialization failed
		at com.intellij.util.ExceptionUtil.rethrow(ExceptionUtil.java:138)
		at com.intellij.openapi.progress.util.ProgressIndicatorUtils.awaitWithCheckCanceled(ProgressIndicatorUtils.java:364)
		at com.intellij.openapi.progress.util.ProgressIndicatorUtils.awaitWithCheckCanceled(ProgressIndicatorUtils.java:327)
		at com.intellij.util.indexing.RegisteredIndexes.waitUntilIndicesAreInitialized(RegisteredIndexes.java:93)
		at com.intellij.util.indexing.FileBasedIndexImpl.waitUntilIndicesAreInitialized(FileBasedIndexImpl.java:430)
		at com.intellij.util.indexing.events.ChangedFilesCollector.ensureUpToDate(ChangedFilesCollector.java:188)
		at com.intellij.util.indexing.FileBasedIndexImpl.cleanupForNextTest(FileBasedIndexImpl.java:821)
		at com.intellij.testFramework.common.TestApplicationKt.cleanupApplicationCaches(testApplication.kt:291)
		at com.intellij.testFramework.HeavyPlatformTestCase.cleanupApplicationCaches(HeavyPlatformTestCase.java:364)
		at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.lambda$tearDown$11(LightIdeaTestFixtureImpl.java:105)
		at com.intellij.testFramework.RunAll$Companion$actionSequence$1$1.invoke(RunAll.kt:72)
		at com.intellij.testFramework.RunAll$Companion$actionSequence$1$1.invoke(RunAll.kt:72)
		at com.intellij.testFramework.common.RunAllKt.runAllCatching(runAll.kt:56)
		at com.intellij.testFramework.common.RunAllKt.runAll(runAll.kt:32)
		at com.intellij.testFramework.RunAll.run(RunAll.kt:21)
		at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.tearDown(LightIdeaTestFixtureImpl.java:106)
		at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.lambda$tearDown$44(CodeInsightTestFixtureImpl.java:1454)
		at com.intellij.testFramework.EdtTestUtil.lambda$runInEdtAndWait$1(EdtTestUtil.java:55)
		at com.intellij.openapi.application.impl.RwLockHolder.runWriteIntentReadAction(RwLockHolder.kt:17)
		at com.intellij.openapi.application.impl.ApplicationImpl.runWriteIntentReadAction(ApplicationImpl.java:1008)
		at com.intellij.testFramework.EdtTestUtil.runInEdtAndWait(EdtTestUtil.java:54)
		at com.intellij.testFramework.EdtTestUtil.runInEdtAndWait(EdtTestUtil.java:44)
		at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.lambda$tearDown$45(CodeInsightTestFixtureImpl.java:1454)
		at com.intellij.testFramework.RunAll$Companion$actionSequence$1$1.invoke(RunAll.kt:72)
		at com.intellij.testFramework.RunAll$Companion$actionSequence$1$1.invoke(RunAll.kt:72)
		at com.intellij.testFramework.common.RunAllKt.runAllCatching(runAll.kt:56)
		at com.intellij.testFramework.common.RunAllKt.runAll(runAll.kt:32)
		at com.intellij.testFramework.RunAll$Companion.runAll(RunAll.kt:45)
		at com.intellij.testFramework.RunAll.runAll(RunAll.kt)
		at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.tearDown(CodeInsightTestFixtureImpl.java:1411)
		at com.intellij.testFramework.fixtures.LightJavaCodeInsightFixtureTestCase.tearDown(LightJavaCodeInsightFixtureTestCase.java:127)
		... 45 more
	Caused by: java.util.concurrent.ExecutionException: com.intellij.testFramework.TestLoggerFactory$TestLoggerAssertionError: Index data initialization failed
		at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
		at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2096)
		at com.intellij.openapi.progress.util.ProgressIndicatorUtils.awaitWithCheckCanceled(ProgressIndicatorUtils.java:335)
		... 74 more
d

dave08

09/27/2023, 5:51 AM
Thanks for trying!
@sam A new version of the EAP came out... maybe it'll work now? Thanks again!
s

sam

10/09/2023, 10:34 AM
I see they marked the bug as fixed too, let me try
They just have this atm 233-NIGHTLY-CUSTOM-SNAPSHOT
will need to wait fr a proper build number
d

dave08

10/09/2023, 11:03 AM
I have this:
Copy code
IntelliJ IDEA 2023.3 EAP (Ultimate Edition)
Build #IU-233.9102.97, built on October 4, 2023

Runtime version: 17.0.8.1+7-b1070.2 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.15.0-84-generic
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 16
Registry:
  debugger.new.tool.window.layout=true
  ide.experimental.ui=true
  editor.minimap.enabled=true
Non-Bundled Plugins:
  com.databricks (1.2)
  com.intellij.plugins.expui (0.4)
  org.jetbrains.plugins.go-template (233.9102.6)
  org.jetbrains.plugins.go (233.9102.97)
  com.intellij.kubernetes (233.9102.6)
  com.intellij.nativeDebug (233.9102.6)
  dev.monogon.cuelang (0.10.0)
  com.intellij.ml.llm (233.9102.6)
  com.github.s4nchez.okeydoke.idea (0.6.2)
  com.intellij.tide (233.9102.6)
  Pythonid (233.9102.97)
  com.intellij.bigdatatools.core (233.9102.97)
  com.intellij.bigdatatools.binary.files (233.9102.97)
  com.intellij.bigdatatools.rfs (233.9102.97)
  intellij.jupyter (233.9102.97)
  org.jetbrains.plugins.kotlin.jupyter (233.9102.97)
  com.jetbrains.php (233.9102.97)
  com.jetbrains.twig (233.9102.6)
  com.kalessil.phpStorm.phpInspectionsEA (5.0.0.0)
  de.espend.idea.php.annotation (9.4.0)
  fr.adrienbrault.idea.symfony2plugin (2022.1.258)
Kotlin: 233-1.9.0-release-358-IJ9102.97
Current Desktop: Budgie:GNOME
It appeared in Jetbrains Toolbox today...
I guess that version doesn't have that fix yet?
s

sam

10/09/2023, 12:44 PM
Copy code
Build #IU-233.9102.97, built on October 4, 2023
the fix was only marked this morning as completed
🤕 1
d

dave08

10/09/2023, 12:46 PM
You can't use the stable version, and just set the max version supported to something bigger?
(I never made a plugin, so I don't know if that makes sense...)
s

sam

10/09/2023, 1:45 PM
You have to specify a build number.
as soon as they produce the build I will get an updated plugin out, could be as early as tonight
d

dave08

10/09/2023, 1:51 PM
Ok thanks 👍🏼