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] Plugin settings dialog window is broken #775

Closed
marcelloinfoweb opened this issue Nov 17, 2021 · 11 comments
Closed

[Bug] Plugin settings dialog window is broken #775

marcelloinfoweb opened this issue Nov 17, 2021 · 11 comments
Assignees
Labels
bug Priority: P1 Needs to be fixed before any other issues
Projects

Comments

@marcelloinfoweb
Copy link

Describe the bug (*)

A clear and concise description of what the bug is.

java.lang.NoClassDefFoundError: com/jgoodies/forms/layout/FormLayout
	at com.magento.idea.magento2plugin.project.SettingsForm.$$$setupUI$$$(SettingsForm.java)
	at com.magento.idea.magento2plugin.project.SettingsForm.<init>(SettingsForm.java:50)
	at com.magento.idea.magento2plugin.project.ConfigurableProvider.createConfigurable(ConfigurableProvider.java:25)
	at com.jetbrains.php.frameworks.PhpFrameworksCommonConfigurable.createConfigurables(PhpFrameworksCommonConfigurable.java:84)
	at com.intellij.openapi.options.CompositeConfigurable.getConfigurables(CompositeConfigurable.java:65)
	at com.jetbrains.php.frameworks.PhpFrameworksCommonConfigurable.createComponent(PhpFrameworksCommonConfigurable.java:38)
	at com.intellij.openapi.options.ex.ConfigurableWrapper.createComponent(ConfigurableWrapper.java:172)
	at com.intellij.openapi.options.ex.ConfigurableCardPanel.lambda$createConfigurableComponent$4(ConfigurableCardPanel.java:116)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:865)
	at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:61)
	at com.intellij.openapi.options.ex.ConfigurableCardPanel.createConfigurableComponent(ConfigurableCardPanel.java:112)
	at com.intellij.openapi.options.ex.ConfigurableCardPanel.create(ConfigurableCardPanel.java:60)
	at com.intellij.openapi.options.newEditor.ConfigurableEditor$1.create(ConfigurableEditor.java:57)
	at com.intellij.openapi.options.newEditor.ConfigurableEditor$1.create(ConfigurableEditor.java:54)
	at com.intellij.ui.CardLayoutPanel.createValue(CardLayoutPanel.java:73)
	at com.intellij.ui.CardLayoutPanel.select(CardLayoutPanel.java:101)
	at com.intellij.ui.CardLayoutPanel.lambda$selectLater$0(CardLayoutPanel.java:117)
	at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:214)
	at com.intellij.openapi.application.TransactionGuardImpl.access$200(TransactionGuardImpl.java:21)
	at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:196)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:805)
	at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeLater$4(ApplicationImpl.java:348)
	at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:82)
	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:131)
	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:47)
	at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:187)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:891)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:760)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:447)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:818)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:446)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:805)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:492)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
	at java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
	at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
	at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
	at java.desktop/java.awt.Dialog.show(Dialog.java:1070)
	at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:701)
	at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:437)
	at com.intellij.openapi.ui.DialogWrapper.doShow(DialogWrapper.java:1671)
	at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1629)
	at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:90)
	at com.intellij.ide.actions.ShowSettingsAction.perform(ShowSettingsAction.java:50)
	at com.intellij.ide.actions.ShowSettingsAction.actionPerformed(ShowSettingsAction.java:37)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performActionDumbAwareWithCallbacks$4(ActionUtil.java:244)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.java:265)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAwareWithCallbacks(ActionUtil.java:244)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.lambda$actionPerformed$0(ActionMenuItem.java:300)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:236)
	at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:67)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:292)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$fireActionPerformed$3(ActionMenuItem.java:131)
	at com.intellij.openapi.application.TransactionGua

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.

Please complete the following information: (*)

  • OS: Windows 10 10.0
  • PhpStorm/Intellij version: 2021.3 Beta
  • Plugin Version: 4.1.0

Additional context

Add any other context about the problem here.

@bohdan-harniuk bohdan-harniuk self-assigned this Nov 25, 2021
@bohdan-harniuk bohdan-harniuk added this to To do in Bugfix via automation Nov 25, 2021
@bohdan-harniuk
Copy link
Collaborator

Hello, @marcelloinfoweb!

Thank you for your report!
We'll try to deliver fix in the next bug-fix release!

Thanks, Bohdan

@bohdan-harniuk bohdan-harniuk removed their assignment Nov 25, 2021
@bohdan-harniuk bohdan-harniuk added next release Priority: P1 Needs to be fixed before any other issues labels Nov 25, 2021
@bohdan-harniuk bohdan-harniuk self-assigned this Nov 25, 2021
@bohdan-harniuk bohdan-harniuk moved this from To do to In progress in Bugfix Nov 25, 2021
@bohdan-harniuk
Copy link
Collaborator

Hello, @marcelloinfoweb!

Could you please help me to reproduce this bug?
When it appears?
Could you please write steps to reproduce?

Thank you,
Bohdan

@bohdan-harniuk
Copy link
Collaborator

Hello, @marcelloinfoweb, @ihor-sviziev, @Bashev!

Any updates here?
Can anyone help me to reproduce this issue?

Thanks,
Bohdan

@Bashev
Copy link

Bashev commented Nov 29, 2021

@bohdan-harniuk open PHP Storm Settings - PHP - Frameworks

image

@ihor-sviziev
Copy link
Contributor

ihor-sviziev commented Nov 29, 2021

The same issue on:

 - OS: Windows 10 10.0
 - PhpStorm/Intellij version: 2021.3 RC
 - Plugin Version: 4.2.0

image

@bohdan-harniuk
Copy link
Collaborator

@ihor-sviziev, @Bashev, thank you for clarifying!

I couldn’t reproduce this bug previously with the same steps, but I'll try to change the sandbox build to the 2021.3 RC.

Thanks again for replying!

@bohdan-harniuk bohdan-harniuk moved this from To do to In progress in Bugfix Nov 29, 2021
@bohdan-harniuk bohdan-harniuk changed the title Bug Report 2021/11/17 [Bug] Plugin settings dialog window is broken Nov 29, 2021
@bohdan-harniuk
Copy link
Collaborator

cc @ihor-sviziev, @Bashev

I cannot reproduce this bug with the mentioned PhpStorm/Intellij Idea version.

Screenshot 2021-11-29 at 22 40 51

Screenshot 2021-11-29 at 22 40 33

Could you please provide installed plugins list?

Thanks,
Bohdan

@bohdan-harniuk
Copy link
Collaborator

@ihor-sviziev, thank you for helping with the bug reproducing! It is reproduced for the non-sandbox instance, as you suggested:

plugin-critical-on-eap-min

Thank you!

@bohdan-harniuk
Copy link
Collaborator

bohdan-harniuk commented Nov 30, 2021

cc. @ihor-sviziev
The JGoodies FormLayout has removed from the Swing UIs, 2021.3. Every plugin that use it will be broken until it will be restored. I'll try to fix it temporarily, because we don't know when it will be restored. So anyone who are using 2021.3 EAP would be able to use plugin without any problems.

@ihor-sviziev
Copy link
Contributor

FYI Just released PhpStorm 2021.3 (release version) doesn't have this issue.

@bohdan-harniuk
Copy link
Collaborator

@ihor-sviziev, good to know! Than JGoodies FormLayout was returned back!
Thank you!

cc. @marcelloinfoweb, @Bashev!

This issue was caused by the internal team, they removed JGoodies library from the Swing packages in the EAP versions. They fixed it in the released version.

So, as it is already fixed, just upgrade your PHPStorm to the released version.
This issue will be closed.

Thanks,
Bohdan

Bugfix automation moved this from In progress to Done Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Priority: P1 Needs to be fixed before any other issues
Projects
Development

No branches or pull requests

4 participants