question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

java.lang.NoSuchMethodException on opening IntelliJ 2021.2

See original GitHub issue

Every time I open IntelliJ, i get the following Exception/Error report. IntelliJ Build: #UI-212.4746.92 / 2021.2 Ultimate Conventional Commit: 0.18.0

Let me know if you need anything else 😉

java.lang.NoSuchMethodException: com.intellij.openapi.util.registry.Registry.addKeys(java.util.List)
	at java.base/java.lang.Class.getDeclaredMethod(Class.java:2475)
	at com.github.lppedd.cc.CCRegistry.addKeys(CCRegistry.kt:21)
	at com.github.lppedd.cc.CCApplicationLoadListener.addRegistryKeys(CCApplicationLoadListener.kt:29)
	at com.github.lppedd.cc.CCApplicationLoadListener.beforeApplicationLoaded(CCApplicationLoadListener.kt:16)
	at com.intellij.ide.ApplicationLoadListener.beforeApplicationLoaded(ApplicationLoadListener.java:25)
	at com.intellij.idea.ApplicationLoader.initConfigurationStore(ApplicationLoader.kt:322)
	at com.intellij.idea.ApplicationLoader.startApp(ApplicationLoader.kt:121)
	at com.intellij.idea.ApplicationLoader.access$startApp(ApplicationLoader.kt:1)
	at com.intellij.idea.ApplicationLoader$initApplication$2$1.accept(ApplicationLoader.kt:81)
	at com.intellij.idea.ApplicationLoader$initApplication$2$1.accept(ApplicationLoader.kt)
	at java.base/java.util.concurrent.CompletableFuture.uniAcceptNow(CompletableFuture.java:753)
	at java.base/java.util.concurrent.CompletableFuture.uniAcceptStage(CompletableFuture.java:731)
	at java.base/java.util.concurrent.CompletableFuture.thenAccept(CompletableFuture.java:2108)
	at com.intellij.idea.ApplicationLoader$initApplication$2.apply(ApplicationLoader.kt:75)
	at com.intellij.idea.ApplicationLoader$initApplication$2.apply(ApplicationLoader.kt)
	at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1072)
	at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)
	at com.intellij.idea.ApplicationLoader$initApplication$3.execute(ApplicationLoader.kt:107)
	at java.base/java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:568)
	at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1069)
	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1742)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1728)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
lppeddcommented, Sep 6, 2021

Ok, so the root cause is the that the plugin was installed under, somehow, C:\Program Files\JetBrains\IntelliJ IDEA 2021.2\plugins. What if you manually download the zip file from the Marketplace and use “Plugins > Install plugin from disk”?

1reaction
lppeddcommented, Sep 6, 2021

@jpaul-cs dang, very very strange. And no, you do not have to delete anything.

So basically you’re/ve:

  • running 2021.2.*
  • deleted the plugin folder from C:\Program Files\JetBrains\{ideafolder}\plugins
  • deleted all the caches

Right?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to open idea after 2021.2 update
Hello, I can't open intellij app after 2021.2 update on macOS 11.4: ... java.lang.NoSuchMethodError: 'void com.intellij.util.lang.
Read more >
Need Help - Intellij crashes after 2021.2 update
after updating to 2021.2, intellij no longer works at all: JDK15:C:\Program ... java.lang.NoSuchMethodError: 'void com.intellij.util.lang.
Read more >
java.lang.NoSuchMethodError on opening structure for ...
java.lang.NoSuchMethodError on opening structure for Zeppelin note. IntelliJ IDEA 2021.2 Beta (Ultimate Edition) Build #IU-212.4746.2, built on July 13, ...
Read more >
Intellij IDEA won't start after the 2021.2 update - YouTrack
Tried to start with idea.bat and got this. Error occurred during initialization of VM. java.lang.NoSuchMethodError: 'void com.intellij.util.lang.
Read more >
Cannot start Intellij IDEA Ultimate after updated to latest ...
Hi, I am using Windows, after updated to latest IntelliJ IDEA Ultimate version (version 2021.2, build 212.4746.92), I cannot start the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found