Missing color "Transparent" in theme definition

sth's Avatar

sth

Nov 23, 2017 @ 04:44 PM

I got tired of my console always telling me that it can't find the custom theme file. I use the default theme anyway.

So I went to preferences, selected custom theme, accepted the defaults. This should be the same as the default theme.

It got rid of the error of looking for the custom theme file. BUT it causes the following error:
Error loading theme on field name: TRANSPARENT
java.lang.IllegalAccessException: Can not set static final java.awt.Color field com.moneydance.apps.md.view.gui.MDColors.TRANSPARENT to java.awt.Color
at sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(UnsafeFieldAccessorImpl.java:76) at sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(UnsafeFieldAccessorImpl.java:80) at sun.reflect.UnsafeQualifiedStaticObjectFieldAccessorImpl.set(UnsafeQualifiedStaticObjectFieldAccessorImpl.java:77) at java.lang.reflect.Field.set(Field.java:764) at com.moneydance.apps.md.view.gui.theme.GenericTheme.applyThemeFromMap(GenericTheme.java:103) at com.moneydance.apps.md.view.gui.theme.GenericTheme.applyCustomTheme(GenericTheme.java:70) at com.moneydance.apps.md.view.gui.theme.Theme.applyTheme(Theme.java:78) at com.moneydance.apps.md.view.gui.MoneydanceGUI.updateResources(MoneydanceGUI.java:366) at com.moneydance.apps.md.view.gui.MoneydanceGUI.(MoneydanceGUI.java:151) at com.moneydance.apps.md.controller.Main.getUI(Main.java:871) at com.moneydance.modules.features.yahooqt.Main.init(Main.java:67) at com.moneydance.apps.md.controller.Main.addFeatureModule(Main.java:506) at com.moneydance.apps.md.controller.Main.loadExternalFeatureModule(Main.java:465) at com.moneydance.apps.md.controller.Main.loadInstalledExternalFeatureModule(Main.java:476) at com.moneydance.apps.md.controller.Main.startApplication(Main.java:689) at com.moneydance.apps.md.controller.Main.main(Main.java:194) at Moneydance.main(Moneydance.java:7)

It seems that MD is referencing a color "TRANSPARENT" that is not defined in the Java code.

  1. System closed this discussion on Feb 22, 2018 @ 04:50 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac