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

java.lang.IllegalStateException: org.slf4j.LoggerFactory in failed state #364

Open
gmseed opened this issue Aug 22, 2021 · 0 comments
Open

Comments

@gmseed
Copy link

gmseed commented Aug 22, 2021

Hi

I downloaded your DemoView/StandardExample and pasted them into an app to see PrefFX working. On running the application I get a slf4j exception:

Caused by: java.lang.IllegalStateException: org.slf4j.LoggerFactory in failed state. Original exception was thrown EARLIER. See also http://www.slf4j.org/codes.html#unsuccessfulInit
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:422)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:357)
at com.dlsc.preferencesfx.model.Setting.(Setting.java:51)
... 48 more
...

and a related exception:

Exception in thread "JavaFX Application Thread" java.lang.NoClassDefFoundError: Could not initialize class com.dlsc.preferencesfx.model.Setting
at appPreferences.prefsfx.StandardExample.createPreferences(StandardExample.java:86)
...

which stems from:

Setting.of("Orientation", orientationItems, orientationSelection)

Is there some additional setup required?

What if I'm using my own logger? Will that interfere the one used by PrefFX?

Thanks.
Graham

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