[flamingo] demo app Small Check Ribbon throws NPE
See original GitHub issueVersion of Radiance (current development is 2.0-SNAPSHOT)
current development version downloaded after 0645fbed6a1b1111dd7f7ce8e8afc271b5083f3b
Sub-project (Neon, Trident, Substance, Flamingo, …)
Flamingo
Version of Java (current minimum is 8)
openjdk 10.0.2 2018-07-17 OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
Version of OS
Ubuntu 18.04
The issue you’re experiencing (expected vs actual, screenshot, stack trace etc)
multiple NPE Expetions when the org.pushingpixels.demo.flamingo.ribbon.SmallCheckRibbon.java file is executed.
- NPE: Exception in thread “AWT-EventQueue-0” java.lang.NullPointerException at org.pushingpixels.demo.flamingo.ribbon.BasicCheckRibbon.getClipboardBand(BasicCheckRibbon.java:544) at org.pushingpixels.demo.flamingo.ribbon.SmallCheckRibbon.configureRibbon(SmallCheckRibbon.java:50) at org.pushingpixels.demo.flamingo.ribbon.SmallCheckRibbon.lambda$main$1(SmallCheckRibbon.java:120)
this NPE can be fixed by running
super.createCommands();
as first command inside configureRibbon (~line 50)
- NPE: Exception in thread “AWT-EventQueue-0” java.lang.NullPointerException at org.pushingpixels.flamingo.internal.ui.ribbon.JRibbonGallery.populateContent(JRibbonGallery.java:121) at org.pushingpixels.flamingo.internal.ui.ribbon.JRibbonGallery.<init>(JRibbonGallery.java:102) at org.pushingpixels.flamingo.api.ribbon.JRibbonBand.addRibbonGallery(JRibbonBand.java:173) at org.pushingpixels.demo.flamingo.ribbon.BasicCheckRibbon.getQuickStylesBand(BasicCheckRibbon.java:743) at org.pushingpixels.demo.flamingo.ribbon.SmallCheckRibbon.configureRibbon(SmallCheckRibbon.java:52) at org.pushingpixels.demo.flamingo.ribbon.SmallCheckRibbon.lambda$main$1(SmallCheckRibbon.java:121)
I don’t have got a fix for this yet
It could be that I have done something wrong when setting up my example build, because I had to rewrite the code a little bit. (I have not found a free version of one of the libraries used: http://www.jgoodies.com/downloads/libraries/ )
Thanks in advance
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
[Flamingo] Exception during skin switch if ribbon application ...
In the demo: Uncheck the "App menu visible" checkbox; Switch the Substance skin with the "Skin" selector. java.lang.NullPointerException: Cannot ...
Read more >450 RIbbon ideas | ribbon, trendy tree, wreath supplies
Oct 23, 2019 - Explore Home, Seasonal, Holiday Decor's board "RIbbon", followed by 596 people on Pinterest. See more ideas about ribbon, trendy...
Read more >2.5" Flamingo Ribbon: Turquoise Blue (10 Yards) Pink ...
Wired Edges; Flamingo Theme; 2.5" X 10 Yards; Great for Wreaths, Floral Arrangements, Gift Wrapping or any Crafting Project. See more product details....
Read more >QJN - EVOLVE - eduFOCUS
#luc Dtu 40.5 article 4.3, Jordan's furniture new haven commercial, Immigrati padroni a casa nostra, Photoscape app for pc, Belle fleur stevie nicks, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Still need to commit the relevant fix. Keeping open until I make the fix tonight.
sorry my fault now this is working
Just to have that said, these Versions of jgoodies are needed (previous Versions don’t have the required classes) https://mvnrepository.com/artifact/com.jgoodies/jgoodies-forms/1.9.0 https://mvnrepository.com/artifact/com.jgoodies/jgoodies-common/1.8.1 I could have read this from https://github.com/kirill-grouchnikov/radiance/blob/master/demos/build.gradle
thanks for your help