[ARCH] Darcula Theme Issue
Posted: 01 Jun 2019, 01:06
Hi,
Some time ago I noticed that Filebot was no longer following my Gnome shell theme, I think it was after a Gnome shell update so I thought nothing of it since I didn't want to downgrade the shell and functionally it still worked. I came across this post which explains how to switch to Darcula but I receive a null pointer exception when trying to start the application after this. Metal and Nimbus both work fine, though Nimbus has some rendering errors on the buttons and while I don't know why that is happening I do know this is due to using precompilled mesagit instead of regular mesa, they appear fine with the regular mesa package and this the only app that has a rendering issue. I'm not concerned with that since I'd rather get the dark theme working.
Installed packages:
jdk8-openjdk 8.u212-1
jre8-openjdk 8.u212-1
java-openjfx 8.u172-2
if I missed any that may be important for this let me know and I will provide that as well. Here is the NPE.
Some time ago I noticed that Filebot was no longer following my Gnome shell theme, I think it was after a Gnome shell update so I thought nothing of it since I didn't want to downgrade the shell and functionally it still worked. I came across this post which explains how to switch to Darcula but I receive a null pointer exception when trying to start the application after this. Metal and Nimbus both work fine, though Nimbus has some rendering errors on the buttons and while I don't know why that is happening I do know this is due to using precompilled mesagit instead of regular mesa, they appear fine with the regular mesa package and this the only app that has a rendering issue. I'm not concerned with that since I'd rather get the dark theme working.
Installed packages:
jdk8-openjdk 8.u212-1
jre8-openjdk 8.u212-1
java-openjfx 8.u172-2
if I missed any that may be important for this let me know and I will provide that as well. Here is the NPE.
Code: Select all
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
at com.bulenkov.iconloader.IconLoader.<clinit>(IconLoader.java:53)
at com.bulenkov.darcula.DarculaLaf.getDefaults(DarculaLaf.java:97)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:539)
at net.filebot.ui.ThemeSupport$Theme$3.setLookAndFeel(ThemeSupport.java:142)
at net.filebot.ui.ThemeSupport.setTheme(ThemeSupport.java:43)
at net.filebot.ui.ThemeSupport.setTheme(ThemeSupport.java:37)
at net.filebot.Main.startUserInterface(Main.java:222)
at net.filebot.Main.lambda$main$1(Main.java:159)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.NullPointerException
at com.bulenkov.iconloader.util.UIUtil.initSystemFontData(UIUtil.java:254)
at com.bulenkov.iconloader.util.JBUI.calculateScaleFactor(JBUI.java:47)
at com.bulenkov.iconloader.util.JBUI.<clinit>(JBUI.java:33)
... 22 more