Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » WARNING: Could not resolve '-fx on a e4 JavaFX FXML RCP
WARNING: Could not resolve '-fx on a e4 JavaFX FXML RCP [message #1734482] Wed, 08 June 2016 15:53 Go to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 197
Registered: March 2012
Location: North Carolina
Senior Member
Windows 7
Mars 2
e(fx)clipse 2.4

The application works. But every time I start it up in Eclipse Mars 2 I get the following errors.


Jun 08, 2016 11:02:02 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-text-base-color' while resolving lookups for '-fx-text-fill' from rule '*.button' in stylesheet jar:file:/C:/Program%20Files/Java/jdk1.8.0_73/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
Jun 08, 2016 11:02:02 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-shadow-highlight-color' while resolving lookups for '-fx-border-color' from rule '*.separator:vertical *.line' in stylesheet jar:file:/C:/Program%20Files/Java/jdk1.8.0_73/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
Jun 08, 2016 11:02:02 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-text-base-color' while resolving lookups for '-fx-text-fill' from rule '*.toggle-button' in stylesheet jar:file:/C:/Program%20Files/Java/jdk1.8.0_73/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
Jun 08, 2016 11:02:02 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-shadow-highlight-color' while resolving lookups for '-fx-background-color' from rule '*.perspective-button:selected' in stylesheet bundleresource://141.fwk1182320432/org/eclipse/fx/ui/workbench/fx/perspective/default.css
Jun 08, 2016 11:02:02 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-text-base-color' while resolving lookups for '-fx-text-fill' from rule '*.toggle-button' in stylesheet jar:file:/C:/Program%20Files/Java/jdk1.8.0_73/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
Re: WARNING: Could not resolve '-fx on a e4 JavaFX FXML RCP [message #1734532 is a reply to message #1734482] Thu, 09 June 2016 08:39 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6313
Registered: July 2009
Senior Member
Looks like the CSS parser is unable to resolve color variables. It looks
to me like all this is caused by the PerspectiveSwitcherNode but those
errors make no sense to me because all those colors are of course
defined inside modena.css

Tom

On 08.06.16 17:53, Paul Roubekas wrote:
> Windows 7
> Mars 2
> e(fx)clipse 2.4
>
> The application works. But every time I start it up in Eclipse Mars 2 I
> get the following errors.
>
>
> Jun 08, 2016 11:02:02 AM javafx.scene.CssStyleHelper calculateValue
> WARNING: Could not resolve '-fx-text-base-color' while resolving lookups
> for '-fx-text-fill' from rule '*.button' in stylesheet
> jar:file:/C:/Program%20Files/Java/jdk1.8.0_73/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
>
> Jun 08, 2016 11:02:02 AM javafx.scene.CssStyleHelper calculateValue
> WARNING: Could not resolve '-fx-shadow-highlight-color' while resolving
> lookups for '-fx-border-color' from rule '*.separator:vertical *.line'
> in stylesheet
> jar:file:/C:/Program%20Files/Java/jdk1.8.0_73/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
>
> Jun 08, 2016 11:02:02 AM javafx.scene.CssStyleHelper calculateValue
> WARNING: Could not resolve '-fx-text-base-color' while resolving lookups
> for '-fx-text-fill' from rule '*.toggle-button' in stylesheet
> jar:file:/C:/Program%20Files/Java/jdk1.8.0_73/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
>
> Jun 08, 2016 11:02:02 AM javafx.scene.CssStyleHelper calculateValue
> WARNING: Could not resolve '-fx-shadow-highlight-color' while resolving
> lookups for '-fx-background-color' from rule
> '*.perspective-button:selected' in stylesheet
> bundleresource://141.fwk1182320432/org/eclipse/fx/ui/workbench/fx/perspective/default.css
>
> Jun 08, 2016 11:02:02 AM javafx.scene.CssStyleHelper calculateValue
> WARNING: Could not resolve '-fx-text-base-color' while resolving lookups
> for '-fx-text-fill' from rule '*.toggle-button' in stylesheet
> jar:file:/C:/Program%20Files/Java/jdk1.8.0_73/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
>
>
Re: WARNING: Could not resolve '-fx on a e4 JavaFX FXML RCP [message #1734588 is a reply to message #1734532] Thu, 09 June 2016 14:59 Go to previous messageGo to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 197
Registered: March 2012
Location: North Carolina
Senior Member
I don't think it has anything to do with the PerspectiveSwitcherNode. Here is another stack without the line about the perspective.

One more fact. This happens stack dump come out to the console when the e4 RCP application is closed.

Jun 09, 2016 10:55:52 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-text-base-color' while resolving lookups for '-fx-text-fill' from rule '*.button' in stylesheet jar:file:/C:/Program%20Files/Java/jdk1.8.0_73/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
Jun 09, 2016 10:55:52 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-shadow-highlight-color' while resolving lookups for '-fx-border-color' from rule '*.separator:vertical *.line' in stylesheet jar:file:/C:/Program%20Files/Java/jdk1.8.0_73/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
Jun 09, 2016 10:55:52 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-text-base-color' while resolving lookups for '-fx-text-fill' from rule '*.toggle-button' in stylesheet jar:file:/C:/Program%20Files/Java/jdk1.8.0_73/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
Jun 09, 2016 10:55:52 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-shadow-highlight-color' while resolving lookups for '-fx-background-color' from rule '*.perspective-button:selected' in stylesheet bundleresource://141.fwk1182320432/org/eclipse/fx/ui/workbench/fx/perspective/default.css
Jun 09, 2016 10:55:52 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-text-base-color' while resolving lookups for '-fx-text-fill' from rule '*.toggle-button' in stylesheet jar:file:/C:/Program%20Files/Java/jdk1.8.0_73/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
Re: WARNING: Could not resolve '-fx on a e4 JavaFX FXML RCP [message #1735142 is a reply to message #1734588] Wed, 15 June 2016 19:08 Go to previous message
Colin Sharples is currently offline Colin SharplesFriend
Messages: 88
Registered: July 2009
Location: Wellington, New Zealand
Member

I also get those warnings, but not a;; the time. I'm not using either FXML or PerspectiveSwitcherNode. I'm most likely to see it when there is a bug in my code that has been causing exceptions to be thrown, and I usually see these warnings when the application is closing down. The CSS still renders as expected even when those warnings are present.
Previous Topic:Hidden MPart close button
Next Topic:Move to github?
Goto Forum:
  


Current Time: Sat May 27 00:22:07 GMT 2017

Powered by FUDForum. Page generated in 0.02060 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software