JabRef / jabref

Graphical Java application for managing BibTeX and biblatex (.bib) databases
https://devdocs.jabref.org
MIT License
3.63k stars 2.59k forks source link

CSS warnings when opening entry editor #11215

Open Siedlerchr opened 7 months ago

Siedlerchr commented 7 months ago

In the latest release (5.13), there are no warnings when opening the entry editor. However, upon opening the "Search results" tab, these warnings appear in the event log:

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 javafx.graphics@22 of loader 'app')' while converting value for '-fx-background-color' from rule '*.progress-indicator:indeterminate *.segment' in stylesheet jar:file:///C:/Users/Loay%20Ahmed/.gradle/caches/modules-2/files-2.1/org.openjfx/javafx-controls/22/3f2f311e6cff97b2571231e7d9d3acc6ac100d90/javafx-controls-22-win.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss

The exceptions mentioned in issue #8628 are not raised.

In the latest main, the same behavior occurs along with the warnings when opening the entry editor.

Originally posted by @LoayGhreeb in https://github.com/JabRef/jabref/issues/11180#issuecomment-2061603225

koppor commented 7 months ago

On https://github.com/JabRef/jabref/pull/11180#issuecomment-2061287813, there was a JDK bug found:

https://bugs.openjdk.org/browse/JDK-8268657

It would be great, if we had a small reproducer ^^.

I interpret the bug in a way that it appears on macOS reproducibly?