Cause
The Web Dashboard server does not have the fonts that are recognized by the OpenJDK Java. To solve this:
- Shut down the Web Dashboard process.
- Install the missing font packages
- For RHEL 6
- Install both the fontconfig and dejavu-sans-fonts fonts.
-
Warning
RHEL 6 only supports GA4.12. It does not support GA5.X.
- For RHEL 7 - Install the fontconfig font.
- For example, using the command "yum"
-
yum install dejavu-sans-fonts
-
yum install fontconfig
-
- For RHEL 6
- Start the Web Dashboard process.
Additional Notes
The following error messages appear in the WebDashboard.log file when the blank texts occur:
Caused by: java.lang.NullPointerException
at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1264)
at sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:219)
at sun.awt.FontConfiguration.init(FontConfiguration.java:107)
at sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:774)
at sun.font.SunFontManager$2.run(SunFontManager.java:431)
at java.security.AccessController.doPrivileged(Native Method)
at sun.font.SunFontManager.<init>(SunFontManager.java:376)
at sun.awt.FcFontManager.<init>(FcFontManager.java:35)
at sun.awt.X11FontManager.<init>(X11FontManager.java:57)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:83)
at java.security.AccessController.doPrivileged(Native Method)
at sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74)
at sun.font.SunFontManager.getInstance(SunFontManager.java:250)
at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:264)
at sun.java2d.SunGraphics2D.getFontMetrics(SunGraphics2D.java:855)
at com.itrsgroup.guicomponents.diagramcanvas.CanvassTextLayout.render(CanvassTextLayout.java:410)
at com.itrsgroup.guicomponents.diagramcanvas.CanvassObjectGrouping.renderCanvassObjectGrouping(CanvassObjectGrouping.java:265)
at com.itrsgroup.swing.activedashboardmanager.DashboardObject.renderCanvassObjectGrouping(DashboardObject.java:200)
at com.itrsgroup.guicomponents.diagramcanvas.CanvassRenderer.renderCanvass(CanvassRenderer.java:239)
at com.itrsgroup.guicomponents.diagramcanvas.CanvassRenderer.paint(CanvassRenderer.java:195)
at com.itrsgroup.guicomponents.diagramcanvas.CanvassRenderer.paint(CanvassRenderer.java:141)
at com.itrsgroup.guicomponents.diagramcanvas.DiagramCanvas.refresh(DiagramCanvas.java:3778)
at com.itrsgroup.gwt.server.dashboard.DashboardWebSupport.getImage(DashboardWebSupport.java:184)
at com.itrsgroup.gwt.server.dashboard.DashboardWebSupport.start(DashboardWebSupport.java:137)
at com.itrsgroup.gwt.server.dashboard.TiledImageView.start(TiledImageView.java:126)
at com.itrsgroup.gwt.server.dashboard.WebDashboard.startUpdating(WebDashboard.java:71)
at com.itrsgroup.gwt.server.helpers.WebDashboardRequestHandler.starUpdating(WebDashboardRequestHandler.java:230)
If the issue still happens, please raise a ticket via http://support.itrsgroup.com. Include the following attachments:
- dashboard file
- config.xml
- Web Dashboard version
- WebDashboard.log
Related Article
Why is my dashboard's font different between the Active Console and Web Dashboard?
Comments
0 comments
Please sign in to leave a comment.