JetBrains/intellij-platform-plugin-template

java.lang.NoSuchMethodError: 'long kotlin.time.DurationKt.toDuration

sempostma opened this issue · 0 comments

What happened?

When I ran "Run Tests", I got the following error. Im using Amazon Corretto 17

Relevant log output or stack trace

java.lang.NoSuchMethodError: 'long kotlin.time.DurationKt.toDuration(int, kotlin.time.DurationUnit)'
	at com.intellij.openapi.vfs.newvfs.persistent.VFSHealthCheckerConstants.<clinit>(VFSHealthChecker.kt:41)
	at com.intellij.openapi.vfs.newvfs.persistent.VFSHealthCheckServiceStarter.execute(VFSHealthChecker.kt:50)
	at com.intellij.ide.bootstrap.ApplicationLoader$callAppInitialized$1.invokeSuspend(ApplicationLoader.kt:244)
	at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:46)
	at com.intellij.testFramework.common.TestApplicationKt.preloadServicesAndCallAppInitializedListeners(testApplication.kt:207)
	at com.intellij.testFramework.common.TestApplicationKt$loadAppInUnitTestMode$task$1.invokeSuspend(testApplication.kt:162)
	at com.intellij.testFramework.common.TestApplicationKt$loadAppInUnitTestMode$3.invokeSuspend(testApplication.kt:167)
	at com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$2$1$taskJob$1.invokeSuspend(PlatformTaskSupport.kt:142)

Steps to reproduce

  1. Clone the repository
  2. Click "Run Tests"

Gradle IntelliJ Plugin version

1.17.4

Gradle version

8.9

Operating System

macOS

Link to build, i.e. failing GitHub Action job

No response