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

Compatibility with 2022.1 #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

PavelA85
Copy link

Makes it possible to install, but fails in runtime

@PavelA85
Copy link
Author

PavelA85 commented Apr 13, 2022

I get this error on WebStorm start:

java.lang.NoClassDefFoundError: org/eclipse/jetty/client/api/ContentProvider
	at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137)
	at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357)
	at com.intellij.serviceContainer.ConstructorInjectionKt.getSortedMatchingConstructors(constructorInjection.kt:194)
	at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:27)
	at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClassWithConstructorInjection(ComponentManagerImpl.kt:891)
	at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:51)
	at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:41)
	at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceUncached(BaseComponentAdapter.kt:119)
	at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:73)
	at com.intellij.serviceContainer.BaseComponentAdapter.getInstance$default(BaseComponentAdapter.kt:66)
	at com.intellij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:610)
	at com.intellij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:584)
	at com.intellij.openapi.client.ClientAwareComponentManager.getFromSelfOrCurrentSession(ClientAwareComponentManager.kt:37)
	at com.intellij.openapi.client.ClientAwareComponentManager.getService(ClientAwareComponentManager.kt:22)
	at com.intellij.openapi.components.ServiceManager.getService(ServiceManager.java:19)
	at com.kite.intellij.backend.http.KiteHttpConnection.instance(KiteHttpConnection.java:18)
	at com.kite.intellij.backend.DefaultKiteApiService.connection(DefaultKiteApiService.java:603)
	at com.kite.intellij.backend.DefaultKiteApiService.doGet(DefaultKiteApiService.java:609)
	at com.kite.intellij.backend.DefaultKiteApiService.getSetting(DefaultKiteApiService.java:534)
	at com.kite.intellij.backend.KiteServerSettings.get(KiteServerSettings.java:40)
	at com.kite.intellij.backend.KiteServerSettings.getLong(KiteServerSettings.java:71)
	at com.kite.intellij.backend.KiteServerSettingsServiceImpl.lambda$updateMaxFileSize$1(KiteServerSettingsServiceImpl.java:65)
	at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:295)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	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: java.lang.ClassNotFoundException: org.eclipse.jetty.client.api.ContentProvider PluginClassLoader(plugin=PluginDescriptor(name=Kite AI Code AutoComplete: Python Java JS Go HTML PHP C++ & More, id=com.kite.intellij, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\WebStorm2022.1\plugins\kite-plugin-unobfuscated-1.9.6.jar, version=1.9.6, package=null, isBundled=false), packagePrefix=null, instanceId=17, state=active)
	at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:215)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	... 33 more

@PavelA85
Copy link
Author

@jansorg can you please support me on this issue?

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

Successfully merging this pull request may close these issues.

1 participant