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

[Bug] com.intellij.diagnostic.PluginException: Cannot create extension (class=com.github.dinbtechit.vscodetheme.startup.VSCodeStartupNotifyActivity) [Plugin: com.github.dinbtechit.vscodetheme] #130

Closed
trucuit opened this issue Oct 2, 2023 · 3 comments

Comments

@trucuit
Copy link

trucuit commented Oct 2, 2023

#Describe the bug
A clear and concise description of what the bug is.

#To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

#Expected behavior
A clear and concise description of what you expected to happen.

#Screenshots
If applicable, add screenshots to help explain your problem.

#Environment

  • Java: JetBrains s.r.o. 17.0.6
  • OS: Mac OS X aarch64
  • IDE: WebStorm 2022.3.4
  • Version: 1.10.3

#Additional context
Add any other context about the problem here.

#Stacktrace#

com.intellij.diagnostic.PluginException: Cannot create extension (class=com.github.dinbtechit.vscodetheme.startup.VSCodeStartupNotifyActivity) [Plugin: com.github.dinbtechit.vscodetheme]
	at com.intellij.serviceContainer.ComponentManagerImpl.createError(ComponentManagerImpl.kt:1051)
	at com.intellij.openapi.extensions.impl.XmlExtensionAdapter.doCreateInstance(XmlExtensionAdapter.kt:70)
	at com.intellij.openapi.extensions.impl.XmlExtensionAdapter.createInstance(XmlExtensionAdapter.kt:31)
	at com.intellij.ide.startup.impl.StartupManagerImpl.runPostStartupActivities(StartupManagerImpl.kt:587)
	at com.intellij.ide.startup.impl.StartupManagerImpl.access$runPostStartupActivities(StartupManagerImpl.kt:66)
	at com.intellij.ide.startup.impl.StartupManagerImpl$runStartupActivities$2.invokeSuspend(StartupManagerImpl.kt:184)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Caused by: com.intellij.diagnostic.PluginException: Cannot create class com.github.dinbtechit.vscodetheme.startup.VSCodeStartupNotifyActivity (classloader=PluginClassLoader(plugin=PluginDescriptor(name=VSCode Theme, id=com.github.dinbtechit.vscodetheme, descriptorPath=plugin.xml, path=~/Library/Application Support/JetBrains/WebStorm2022.3/plugins/VSCode Theme, version=1.10.3, package=null, isBundled=false), packagePrefix=null, instanceId=91, state=active))
	at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:989)
	at com.intellij.openapi.extensions.impl.XmlExtensionAdapter.instantiateClass(XmlExtensionAdapter.kt:79)
	at com.intellij.openapi.extensions.impl.XmlExtensionAdapter$SimpleConstructorInjectionAdapter.instantiateClass(XmlExtensionAdapter.kt:90)
	at com.intellij.openapi.extensions.impl.XmlExtensionAdapter.doCreateInstance(XmlExtensionAdapter.kt:50)
	... 10 more
Caused by: java.lang.NoClassDefFoundError: kotlin/enums/EnumEntriesKt
	at com.github.dinbtechit.vscodetheme.startup.VSCodeStartupNotifyActivity$DisplayActionType.<clinit>(VSCodeStartupNotifyActivity.kt:28)
	at com.github.dinbtechit.vscodetheme.startup.VSCodeStartupNotifyActivity.<clinit>(VSCodeStartupNotifyActivity.kt:60)
	at java.base/jdk.internal.misc.Unsafe.allocateInstance(Native Method)
	at java.base/java.lang.invoke.DirectMethodHandle.allocateInstance(DirectMethodHandle.java:520)
	at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:950)
	... 13 more
Caused by: java.lang.ClassNotFoundException: kotlin.enums.EnumEntriesKt PluginClassLoader(plugin=PluginDescriptor(name=VSCode Theme, id=com.github.dinbtechit.vscodetheme, descriptorPath=plugin.xml, path=~/Library/Application Support/JetBrains/WebStorm2022.3/plugins/VSCode Theme, version=1.10.3, package=null, isBundled=false), packagePrefix=null, instanceId=91, state=active)
	at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:217)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
	... 18 more
@dinbtechit
Copy link
Owner

@trucuit - are you able to upgrade your IDE latest version 2023.2.2? And let me know if this issue still persists.

@Jev0987
Copy link

Jev0987 commented Oct 11, 2023

thanks, it's useful.

@dinbtechit
Copy link
Owner

Fixed in v1.10.4

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