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

Error when running Main demo class in latest GitHub code #60

Open
ddukki opened this issue Jul 12, 2017 · 6 comments
Open

Error when running Main demo class in latest GitHub code #60

ddukki opened this issue Jul 12, 2017 · 6 comments

Comments

@ddukki
Copy link

ddukki commented Jul 12, 2017

Clone the GitHub repository and tried to run the latest demo, (or even the simple tutorials found online). I'm getting the following error:

Jul 12, 2017 1:28:24 PM javafx.scene.control.Control impl_processCSS
SEVERE: The -fx-skin property has not been defined in CSS for FlowNodeWindow@671d3524[styleClass=window] and createDefaultSkin() returned null.
Jul 12, 2017 1:28:24 PM javafx.scene.control.Control impl_processCSS
SEVERE: The -fx-skin property has not been defined in CSS for FlowNodeWindow@4c3c8768[styleClass=window] and createDefaultSkin() returned null.
Jul 12, 2017 1:28:24 PM javafx.scene.control.Control impl_processCSS
SEVERE: The -fx-skin property has not been defined in CSS for FlowNodeWindow@2841215b[styleClass=window] and createDefaultSkin() returned null.
Jul 12, 2017 1:28:24 PM javafx.scene.control.Control impl_processCSS
SEVERE: The -fx-skin property has not been defined in CSS for FlowNodeWindow@1aeb0365[styleClass=window] and createDefaultSkin() returned null.
Jul 12, 2017 1:28:24 PM javafx.scene.control.Control impl_processCSS
SEVERE: The -fx-skin property has not been defined in CSS for FlowNodeWindow@53511811[styleClass=window] and createDefaultSkin() returned null.
Jul 12, 2017 1:28:24 PM javafx.scene.control.Control impl_processCSS
SEVERE: The -fx-skin property has not been defined in CSS for FlowNodeWindow@4d9838ba[styleClass=window] and createDefaultSkin() returned null.
@cbvms123
Copy link

cbvms123 commented Aug 5, 2017

How do you run the Demo class ?
I just did run
./gradlew :vworkflows-demo:run
using the latest source on a Fedora 24 box and JDK 1.8.0_102 and do not see the issue you have reported.

@miho
Copy link
Owner

miho commented Aug 6, 2017

Are you running a pre 1.8u40 JDK or maybe a JDK 9 EA?

@ddukki
Copy link
Author

ddukki commented Aug 7, 2017

I'm running through Eclipse in Windows (no Gradle) and JDK 1.8u131. Haven't tried with JDK 9 EA.

@miho
Copy link
Owner

miho commented Aug 7, 2017

Can you try via command line? See comment by @cbvms123 . Do you still get the same error?

@ddukki
Copy link
Author

ddukki commented Aug 7, 2017

Running it through Gradle seems to work just fine. Thanks! Is there something in the Gradle configuration that fixes the errors?

To do it myself without Gradle, I had to add the overridden createDefaultSkin() method in the FlowNodeWindow, MinimizeIcon, and CloseIcon classes.

@miho
Copy link
Owner

miho commented Aug 7, 2017

Glad you could fix it. Looks like you mix incompatible versions. Just see the dependencies{} block in the corresponding Gradle scripts.

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

3 participants