Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassNotFoundException: com.intellij.platform.ijent.impl.TestIjentExecFileProvider #1866

Open
ice1000 opened this issue Jan 18, 2025 · 3 comments
Labels

Comments

@ice1000
Copy link

ice1000 commented Jan 18, 2025

What happened?

Run tests and it fails CI

Relevant log output or stack trace

ERROR: com.intellij.platform.ijent.impl.TestIjentExecFileProvider [Plugin: com.intellij]
com.intellij.diagnostic.PluginException: com.intellij.platform.ijent.impl.TestIjentExecFileProvider [Plugin: com.intellij]
	at com.intellij.ide.startup.impl.StartupManagerImplKt$launchActivity$1.invokeSuspend(StartupManagerImpl.kt:502)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:102)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)
Caused by: java.lang.ClassNotFoundException: com.intellij.platform.ijent.impl.TestIjentExecFileProvider
	at com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:230)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:593)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
	at com.intellij.serviceContainer.ComponentManagerImplKt.doLoadClass(ComponentManagerImpl.kt:1466)
	at com.intellij.serviceContainer.ComponentManagerImplKt.doLoadClass$default(ComponentManagerImpl.kt:1458)
	at com.intellij.serviceContainer.ServiceDescriptorInstanceInitializer.loadInstanceClass(ServiceInstanceInitializer.kt:90)
	at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.tryInitialize(LazyInstanceHolder.kt:118)
	at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.getInstance(LazyInstanceHolder.kt:96)

Steps to reproduce

Run test using the IDE. Seems also reproducible using the CI.

Gradle IntelliJ Plugin version

2.2.1

Gradle version

8.10

Operating System

Windows

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

https://github.com/aya-prover/intellij-aya/actions/runs/12837362965/job/35800877667

@ice1000 ice1000 added the bug label Jan 18, 2025
@PrzemyslawSwiderski
Copy link

PrzemyslawSwiderski commented Jan 25, 2025

What helped in my case was adding the following line in the tests:

Registry.get("wsl.use.remote.agent.for.nio.filesystem").setValue(false)

fix commit

@ice1000
Copy link
Author

ice1000 commented Jan 25, 2025

What helped in my case was adding the following line in the tests:

Registry.get("wsl.use.remote.agent.for.nio.filesystem").setValue(false)
fix commit

🤯🤯🤯🤯🤯🤯

@ice1000
Copy link
Author

ice1000 commented Jan 25, 2025

I did this to fix, replacing a startup activity with the suspend version:

aya-prover/intellij-aya@9261f4d

Seems completely unrelated though, kinda funny

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants