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

[Flamingo] Exception during skin switch if ribbon application menu button is not shown #328

Closed
kirill-grouchnikov opened this issue Feb 23, 2021 · 0 comments
Assignees
Labels
4.0 - Feldspar Release 4.0 - 2021.H1

Comments

@kirill-grouchnikov
Copy link
Owner

In the demo:

  1. Uncheck the "App menu visible" checkbox
  2. Switch the Substance skin with the "Skin" selector
java.lang.NullPointerException: Cannot read field "parent" because "comp" is null
	at java.desktop/java.awt.Container.remove(Container.java:1286)
	at org.pushingpixels.flamingo.internal.ui.ribbon.BasicRibbonUI.uninstallComponents(BasicRibbonUI.java:295)
	at org.pushingpixels.flamingo.internal.ui.ribbon.BasicRibbonUI.uninstallUI(BasicRibbonUI.java:126)
	at java.desktop/javax.swing.JComponent.uninstallUIAndProperties(JComponent.java:700)
	at java.desktop/javax.swing.JComponent.setUI(JComponent.java:675)
	at org.pushingpixels.flamingo.api.ribbon.JRibbon.updateUI(JRibbon.java:651)
@kirill-grouchnikov kirill-grouchnikov added the 4.0 - Feldspar Release 4.0 - 2021.H1 label Feb 23, 2021
@kirill-grouchnikov kirill-grouchnikov self-assigned this Feb 23, 2021
kirill-grouchnikov added a commit that referenced this issue Feb 23, 2021
* Only remove the application menu button when it's there - #328
* Don't create taskbar app menu links when the application menu is not showing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.0 - Feldspar Release 4.0 - 2021.H1
Projects
None yet
Development

No branches or pull requests

1 participant