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.

Error updating webstorm 2021.2 with GraphQL

See original GitHub issue

Hi, update my version of webstorm 2021.2 and I get the following error:

com.intellij.diagnostic.PluginException: Cannot create extension (class=com.intellij.lang.jsgraphql.ide.notifications.GraphQLScopeEditorNotificationProvider) [Plugin: com.intellij.lang.jsgraphql] at com.intellij.serviceContainer.ComponentManagerImpl.createError(ComponentManagerImpl.kt:932) at com.intellij.openapi.extensions.impl.XmlExtensionAdapter.createInstance(XmlExtensionAdapter.java:88) at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processAdapter(ExtensionPointImpl.java:486) at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processAdapters(ExtensionPointImpl.java:434) at com.intellij.openapi.extensions.impl.ExtensionPointImpl.calcExtensionList(ExtensionPointImpl.java:241) at com.intellij.openapi.extensions.impl.ExtensionPointImpl.getExtensionList(ExtensionPointImpl.java:235) at com.intellij.openapi.extensions.ProjectExtensionPointName.getExtensions(ProjectExtensionPointName.java:37) at com.intellij.openapi.project.DumbService.getDumbAwareExtensions(DumbService.java:83) at com.intellij.ui.EditorNotificationsImpl.calcNotificationUpdates(EditorNotificationsImpl.java:162) at com.intellij.ui.EditorNotificationsImpl.lambda$updateEditors$4(EditorNotificationsImpl.java:149) at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.insideReadAction(NonBlockingReadActionImpl.java:521) at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.lambda$attemptComputation$3(NonBlockingReadActionImpl.java:486) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1078) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runInReadActionWithWriteActionPriority$0(ProgressIndicatorUtils.java:78) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runActionAndCancelBeforeWrite(ProgressIndicatorUtils.java:161) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runWithWriteActionPriority$1(ProgressIndicatorUtils.java:118) at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:57) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:183) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:705) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:647) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:63) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:170) at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:57) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runWithWriteActionPriority(ProgressIndicatorUtils.java:115) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runInReadActionWithWriteActionPriority(ProgressIndicatorUtils.java:78) at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.attemptComputation(NonBlockingReadActionImpl.java:486) at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.lambda$transferToBgThread$1(NonBlockingReadActionImpl.java:407) at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:216) at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:27) at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:195) at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:187) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: com.intellij.diagnostic.PluginException: Cannot create class com.intellij.lang.jsgraphql.ide.notifications.GraphQLScopeEditorNotificationProvider (classloader=PluginClassLoader(plugin=PluginDescriptor(name=JS GraphQL, id=com.intellij.lang.jsgraphql, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\WebStorm2021.2\plugins\js-graphql-intellij-plugin, version=2.9.1, package=null), packagePrefix=null, instanceId=99, state=active)) at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:870) at com.intellij.openapi.extensions.impl.XmlExtensionAdapter.instantiateClass(XmlExtensionAdapter.java:99) at com.intellij.openapi.extensions.impl.XmlExtensionAdapter$SimpleConstructorInjectionAdapter.instantiateClass(XmlExtensionAdapter.java:116) at com.intellij.openapi.extensions.impl.XmlExtensionAdapter.createInstance(XmlExtensionAdapter.java:66) ... 36 more Caused by: java.lang.invoke.WrongMethodTypeException: cannot convert MethodHandle(Project,EditorNotifications)GraphQLScopeEditorNotificationProvider to ()Object at java.base/java.lang.invoke.MethodHandle.asTypeUncached(MethodHandle.java:861) at java.base/java.lang.invoke.MethodHandle.asType(MethodHandle.java:847) at java.base/java.lang.invoke.Invokers.checkGenericType(Invokers.java:495) at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:854) ... 39 more

Operation system : windows 10 version 21H1 IDE :WebStorm 2021.2 Plugin version: JS GraphQL 2.9.1

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:15
  • Comments:8

github_iconTop GitHub Comments

11reactions
vepanimascommented, Jul 28, 2021

Hi everybody. Sorry for the inconvenience, I’m a little bit late with the release, it was supposed to be done during the EAP stage.

I uploaded a new version just now and I hope it will work as expected. There are a lot of changes from the previous version of the plugin, so I hope that everything will be fine.

Please feel free to report any issues you encounter, I’m going to fix them as soon as possible.

0reactions
jord1ecommented, Jul 28, 2021

Hi everybody. Sorry for the inconvenience, I’m a little bit late with the release, it was supposed to be done during the EAP stage.

I uploaded a new version just now and I hope it will work as expected. There are a lot of changes from the previous version of the plugin, so I hope that everything will be fine.

Please feel free to report any issues you encounter, I’m going to fix them as soon as possible.

It seems to be fixed for 2021.2, thank you very much!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error updating webstorm 2021.2 with GraphQL · Issue #479 - GitHub
Hi, update my version of webstorm 2021.2 and I get the following error: com.intellij.diagnostic.PluginException: Cannot create extension ...
Read more >
Developers - Error updating webstorm 2021.2 with GraphQL -
Hi, update my version of webstorm 2021.2 and I get the following error: com.intellij.diagnostic.PluginException: Cannot create extension ...
Read more >
ESLint: no error highlighting for GraphQL - JetBrains YouTrack
ESLint: no error highlighting for GraphQL. What steps will reproduce the issue? Configure IDEA to use Automatic ESLint Configuration (Languages & Frameworks ...
Read more >
Schema is not updating – IDEs Support (IntelliJ Platform)
Try to "forget schemas" (alt+Enter (on MacOS) on the schema name in the Database View tree, then select in the "Forget cached schemas")...
Read more >
IntelliJ IDEA 2021.2 (212.4746.92 build) Release Notes
Task, IDEA-269422, Upgrade error-prone plugin to use error-prone 2.7.1. Build. ... Bug, IDEA-269681, UI font changed after update to 2021.2 on Linux.
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