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

Fails to build any project with NoClassDefFoundError #448

Open
grguthrie opened this issue Apr 21, 2021 · 3 comments
Open

Fails to build any project with NoClassDefFoundError #448

grguthrie opened this issue Apr 21, 2021 · 3 comments

Comments

@grguthrie
Copy link

grguthrie commented Apr 21, 2021

I have a new install of IntelliJ Idea 2021.1 (updated) running fine. Then I opened a .hs file and it asked for a haskell plugin - I had HaskForce (disabled) and said yes - enable and update.
Then restarting the IDE it gives this error: and the IDE cannot even start.
I had to remove the Haskforce plugin to get it to work.
Thanks for any hints.

Internal error. Please refer to https://jb.gg/ide/critical-startup-errors

java.util.concurrent.CompletionException: java.lang.AssertionError
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
at java.base/java.util.concurrent.CompletableFuture.uniApplyNow(CompletableFuture.java:683)
at java.base/java.util.concurrent.CompletableFuture.uniApplyStage(CompletableFuture.java:658)
at java.base/java.util.concurrent.CompletableFuture.thenApply(CompletableFuture.java:2094)
at com.intellij.ide.plugins.PluginManagerCore.initPlugins(PluginManagerCore.java:802)
at com.intellij.idea.ApplicationLoader.initApplication(ApplicationLoader.kt:383)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.intellij.idea.a.a(a.java:103)
at com.intellij.ide.b.m.ag.a(ag.java:93)
at com.intellij.ide.b.m.e.b(e.java:279)
at com.intellij.ide.b.m.f.b(f.java:276)
at com.intellij.ide.b.m.f.c(f.java:169)
at com.intellij.ide.b.m.f.a(f.java:81)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.intellij.idea.MainImpl.start(MainImpl.java:95)
at com.intellij.idea.StartupUtil.startApp(StartupUtil.java:310)
at com.intellij.idea.StartupUtil.prepareApp(StartupUtil.java:250)
at com.intellij.ide.plugins.MainRunner.lambda$start$1(MainRunner.java:41)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.AssertionError
at com.intellij.ide.plugins.ClassLoaderConfigurator.configure(ClassLoaderConfigurator.java:169)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
at com.intellij.ide.plugins.PluginManagerCore.initializePlugins(PluginManagerCore.java:1093)
at com.intellij.ide.plugins.PluginManagerCore.loadAndInitializePlugins(PluginManagerCore.java:1364)
at com.intellij.ide.plugins.PluginManagerCore.lambda$initPlugins$20(PluginManagerCore.java:803)
at java.base/java.util.concurrent.CompletableFuture.uniApplyNow(CompletableFuture.java:680)
... 23 more


Your JRE: 11.0.10+9-b1341.35 amd64 (JetBrains s.r.o.)
E:\Developer\JetBrains\IntelliJ IDEA 2021.1\jbr

@mrm-david
Copy link

mrm-david commented Apr 21, 2021

I have a maybe similar issue with Pycharm 2020.3 : when installing haskforce, after restarting the IDE, it show in the plugin list as not installed.

The installation fails without a message for me.

EDIT: Nevermind, the logs tells that Haskforce is not compatible with pycharm :(

@carymrobbins
Copy link
Owner

This should be fixed in the latest release - https://github.com/carymrobbins/intellij-haskforce/releases/tag/v0.3.46

Please reopen or submit a new issue if you encounter any other problems!

@grguthrie
Copy link
Author

grguthrie commented Jun 2, 2021 via email

@carymrobbins carymrobbins changed the title error on install Fails to build any project with NoClassDefFoundError Jun 2, 2021
@carymrobbins carymrobbins reopened this Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants