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

Crash in new WebStorm EAP 2021.3 #418

Closed
Alexsey opened this issue Oct 1, 2021 · 3 comments
Closed

Crash in new WebStorm EAP 2021.3 #418

Alexsey opened this issue Oct 1, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Alexsey
Copy link

Alexsey commented Oct 1, 2021

Additional info
The error appears without any usage of the plugin functionality. Just constantly appearing while using the IDE

Stacktraces

Stacktrace 1/1

com.intellij.diagnostic.PluginException: Cannot create class com.fwdekker.randomness.integer.IntegerSettingsConfigurable (classloader=PluginClassLoader(plugin=PluginDescriptor(name=Randomness, id=com.fwdekker.randomness, descriptorPath=plugin.xml, path=~/Library/Application Support/JetBrains/WebStorm2021.3/plugins/intellij-randomness, version=2.7.2, package=null, isBundled=false), packagePrefix=null, instanceId=54, state=active))
	at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:872)
	at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:889)
	at com.intellij.openapi.options.ConfigurableEP$ClassProducer.createElement(ConfigurableEP.java:440)
	at com.intellij.openapi.options.ConfigurableEP.createConfigurable(ConfigurableEP.java:346)
	at com.intellij.openapi.options.ex.ConfigurableWrapper.createConfigurable(ConfigurableWrapper.java:42)
	at com.intellij.openapi.options.ex.ConfigurableWrapper.getConfigurable(ConfigurableWrapper.java:116)
	at com.intellij.openapi.options.ex.ConfigurableWrapper.cast(ConfigurableWrapper.java:91)
	at com.intellij.openapi.options.ex.ConfigurableWrapper.getDisplayName(ConfigurableWrapper.java:137)
	at com.intellij.ide.util.gotoByName.GotoActionModel.lambda$new$0(GotoActionModel.java:83)
	at com.intellij.openapi.util.NotNullLazyValue$3.compute(NotNullLazyValue.java:99)
	at com.intellij.openapi.util.NotNullLazyValue$3.getValue(NotNullLazyValue.java:84)
	at com.intellij.ide.util.gotoByName.GotoActionModel.getConfigurablesNames(GotoActionModel.java:357)
	at com.intellij.ide.util.gotoByName.GotoActionItemProvider.processOptions(GotoActionItemProvider.java:151)
	at com.intellij.ide.util.gotoByName.GotoActionItemProvider.filterElements(GotoActionItemProvider.java:97)
	at com.intellij.ide.actions.searcheverywhere.ActionSearchEverywhereContributor.fetchWeightedElements(ActionSearchEverywhereContributor.java:97)
	at com.intellij.ide.actions.searcheverywhere.MixedResultsSearcher$ContributorSearchTask.run(MixedResultsSearcher.java:177)
	at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:213)
	at com.intellij.util.ConcurrencyUtil.lambda$underThreadNameRunnable$3(ConcurrencyUtil.java:201)
	at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:263)
	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.NoClassDefFoundError: com/jgoodies/forms/factories/DefaultComponentFactory
	at com.fwdekker.randomness.ui.PreviewPanel.createUIComponents(PreviewPanel.kt:78)
	at com.fwdekker.randomness.ui.PreviewPanel.$$$setupUI$$$(PreviewPanel.kt)
	at com.fwdekker.randomness.ui.PreviewPanel.<init>(PreviewPanel.kt:46)
	at com.fwdekker.randomness.integer.IntegerSettingsComponent.createUIComponents(IntegerSettingsComponent.kt:77)
	at com.fwdekker.randomness.integer.IntegerSettingsComponent.$$$setupUI$$$(IntegerSettingsComponent.kt)
	at com.fwdekker.randomness.integer.IntegerSettingsComponent.<init>(IntegerSettingsComponent.kt:52)
	at com.fwdekker.randomness.integer.IntegerSettingsComponent.<init>(IntegerSettingsComponent.kt:31)
	at com.fwdekker.randomness.integer.IntegerSettingsConfigurable.<init>(IntegerSettings.kt:172)
	at com.fwdekker.randomness.integer.IntegerSettingsConfigurable.<init>(IntegerSettings.kt)
	at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:833)
	... 27 more
Caused by: java.lang.ClassNotFoundException: com.jgoodies.forms.factories.DefaultComponentFactory PluginClassLoader(plugin=PluginDescriptor(name=Randomness, id=com.fwdekker.randomness, descriptorPath=plugin.xml, path=~/Library/Application Support/JetBrains/WebStorm2021.3/plugins/intellij-randomness, version=2.7.2, package=null, isBundled=false), packagePrefix=null, instanceId=54, state=active)
	at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:235)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	... 37 more

Version information

  • Randomness version: 2.7.2
  • IDE version: WS-213.3714.441
  • Operating system: Mac OS X
  • Java version: 11.0.12
@FWDekker FWDekker self-assigned this Oct 1, 2021
@FWDekker FWDekker added the bug Something isn't working label Oct 1, 2021
@FWDekker FWDekker changed the title Crash in new WebStprm EAP 2021.3 Crash in new WebStorm EAP 2021.3 Oct 1, 2021
FWDekker added a commit that referenced this issue Oct 1, 2021
@FWDekker
Copy link
Owner

FWDekker commented Oct 1, 2021

Thank you for reporting the bug, Alexsey! Based on the stacktrace I had a good idea of where the bug was, and I was able to reproduce it. The issue was that I somehow ended up using a completely weird import to create a specific UI element.

I have resolved the issue and will release it as v2.7.3 today, but it may take a few days to be available depending on how fast JetBrains' review process is.

@FWDekker
Copy link
Owner

FWDekker commented Oct 1, 2021

Fixed in 3cf9c4d. The update should be available in a few days, but if you cannot wait until then you can always download intellij-randomness-2.7.3.zip and install the plugin from disk.

@FWDekker FWDekker closed this as completed Oct 1, 2021
@Alexsey
Copy link
Author

Alexsey commented Oct 1, 2021

Wow, thank you for the super-fast fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants