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

Styles Errors #606

Open
kinsleykajiva opened this issue Jul 22, 2022 · 0 comments
Open

Styles Errors #606

kinsleykajiva opened this issue Jul 22, 2022 · 0 comments

Comments

@kinsleykajiva
Copy link

I have been getting these console errors or logs in red about some style warning from this library.
for example, as shown below, what could be the cause of this:

Jul 21, 2022 10:17:26 PM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-on-surface-color' while resolving lookups for '-fx-fill' from rule '*#content-view *#add-module-view *.page-control *.tile-pane *.tile-box *.text-lbl *.text' in stylesheet jar:file:///home/variable-k/.m2/repository/com/dlsc/workbenchfx/workbenchfx-core/11.3.1/workbenchfx-core-11.3.1.jar!/com/dlsc/workbenchfx/css/main.css
Jul 21, 2022 10:17:26 PM 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-background-color' from rule '*#content-view *#add-module-view>*.pagination-control>*.control-box>*.bullet-button:selected' in stylesheet jar:file:///home/variable-k/.m2/repository/com/dlsc/workbenchfx/workbenchfx-core/11.3.1/workbenchfx-core-11.3.1.jar!/com/dlsc/workbenchfx/css/main.css
Jul 21, 2022 10:17:27 PM javafx.scene.CssStyleHelper calculateValue
WARNING: Caught java.lang.IllegalArgumentException: Parsed value is not an Effect' while calculating value for '-fx-effect' from rule '*#content-view *#add-module-view *.page-control *.tile-pane *.tile-box:hover' in stylesheet jar:file:///home/variable-k/.m2/repository/com/dlsc/workbenchfx/workbenchfx-core/11.3.1/workbenchfx-core-11.3.1.jar!/com/dlsc/workbenchfx/css/main.css
Jul 21, 2022 10:17:27 PM 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-background-color' from rule '*#content-view *#add-module-view *.page-control *.tile-pane *.tile-box' in stylesheet jar:file:///home/variable-k/.m2/repository/com/dlsc/workbenchfx/workbenchfx-core/11.3.1/workbenchfx-core-11.3.1.jar!/com/dlsc/workbenchfx/css/main.css
Jul 21, 2022 10:17:27 PM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-on-surface-color' while resolving lookups for '-fx-icon-color' from rule '*#content-view *#add-module-view *.page-control *.tile-pane *.tile-box *.ikonli-font-icon' in stylesheet jar:file:///home/variable-k/.m2/repository/com/dlsc/workbenchfx/workbenchfx-core/11.3.1/workbenchfx-core-11.3.1.jar!/com/dlsc/workbenchfx/css/main.css
Jul 21, 2022 10:17:27 PM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-on-surface-color' while resolving lookups for '-fx-fill' from rule '*#content-view *#add-module-view *.page-control *.tile-pane *.tile-box *.text-lbl *.text' in stylesheet jar:file:///home/variable-k/.m2/repository/com/dlsc/workbenchfx/workbenchfx-core/11.3.1/workbenchfx-core-11.3.1.jar!/com/dlsc/workbenchfx/css/main.css
Jul 21, 2022 10:17:28 PM javafx.scene.CssStyleHelper calculateValue
WARNING: Caught java.lang.IllegalArgumentException: Parsed value is not an Effect' while calculating value for '-fx-effect' from rule '*#content-view *#add-module-view *.page-control *.tile-pane *.tile-box:pressed' in stylesheet jar:file:///home/variable-k/.m2/repository/com/dlsc/workbenchfx/workbenchfx-core/11.3.1/workbenchfx-core-11.3.1.jar!/com/dlsc/workbenchfx/css/main.css
Jul 21, 2022 10:17:28 PM 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-background-color' from rule '*#content-view *#add-module-view *.page-control *.tile-pane *.tile-box' in stylesheet jar:file:///home/variable-k/.m2/repository/com/dlsc/workbenchfx/workbenchfx-core/11.3.1/workbenchfx-core-11.3.1.jar!/com/dlsc/workbenchfx/css/main.css
Jul 21, 2022 10:17:28 PM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-on-surface-color' while resolving lookups for '-fx-icon-color' from rule '*#content-view *#add-module-view *.page-control *.tile-pane *.tile-box *.ikonli-font-icon' in stylesheet jar:file:///home/variable-k/.m2/repository/com/dlsc/workbenchfx/workbenchfx-core/11.3.1/workbenchfx-core-11.3.1.jar!/com/dlsc/workbenchfx/css/main.css
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant