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

Chart in sitemap not working #41

Open
steingebein opened this issue Jan 2, 2024 · 0 comments
Open

Chart in sitemap not working #41

steingebein opened this issue Jan 2, 2024 · 0 comments

Comments

@steingebein
Copy link

Using a chart element in openhab sitemaps doesn't work. Access to http://localhost:8080/chart?groups=exampleGroup fails.

Affected version: 4.1.0 2023-12-23 (2474)

Stacktrace:

2024-01-02 17:31:18.361 [WARN ] [org.eclipse.jetty.server.HttpChannel] - /chart
java.lang.InternalError: java.lang.reflect.InvocationTargetException
        at sun.font.FontManagerFactory$1.run(Unknown Source) ~[?:?]
        at java.security.AccessController.doPrivileged(Unknown Source) ~[?:?]
        at sun.font.FontManagerFactory.getInstance(Unknown Source) ~[?:?]
        at java.awt.Font.getFont2D(Unknown Source) ~[?:?]
...
Caused by: java.lang.reflect.InvocationTargetException
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:?]
        at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:?]
        at java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source) ~[?:?]
        at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:?]
        ... 60 more
Caused by: java.lang.RuntimeException: Fontconfig head is null, check your fonts or fonts configuration
        at sun.awt.FontConfiguration.getVersion(Unknown Source) ~[?:?]
        at sun.awt.FontConfiguration.readFontConfigFile(Unknown Source) ~[?:?]
        at sun.awt.FontConfiguration.init(Unknown Source) ~[?:?]
        at sun.awt.X11FontManager.createFontConfiguration(Unknown Source) ~[?:?]
        at sun.font.SunFontManager$2.run(Unknown Source) ~[?:?]
        at sun.font.SunFontManager$2.run(Unknown Source) ~[?:?]
        at java.security.AccessController.doPrivileged(Unknown Source) ~[?:?]
        at sun.font.SunFontManager.<init>(Unknown Source) ~[?:?]
        at sun.awt.FcFontManager.<init>(Unknown Source) ~[?:?]
        at sun.awt.X11FontManager.<init>(Unknown Source) ~[?:?]
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:?]
        at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:?]
        at java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source) ~[?:?]
        at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:?]
        ... 60 more

Thanks

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