I get something similar in my application as well:

javafx.scene.CssStyleHelper calculateValue
WARNING: Caught 'java.lang.ClassCastException: class java.lang.String
cannot be cast to class javafx.scene.paint.Paint (java.lang.String is in
module java.base of loader 'bootstrap'; javafx.scene.paint.Paint is in
module [email protected] of loader 'platform')' while converting
value for '-fx-border-color' from rule '*.table-cell' in stylesheet 
jrt:/javafx.controls/com/sun/javafx/scene/control/skin/caspian/caspian.bss

I have a complex Dialog that I build once and show repeatedly.
The above warning only appears on the 2nd and subsequent showing of the
dialog, never the 1st.

Jurgen

Reply via email to