VMware Smart Assurance: Launching the Linux version of VMware Smart Assurance console over X11 results blank login window.
book
Article ID: 332154
calendar_today
Updated On:
Products
VMware Smart Assurance
Issue/Introduction
Provides information on font support while using VMware Smart Assurance over X11
Symptoms: Launching the Linux version of VMware Smart Assurance console over X11 results blank login window instead of expected login prompts.
Below error can be found in the InCharge/CONSOLE/local/logs/sm_gui-<user>.log:
JAVA-E-EXCEPTION-While invoking "com/smarts/consolidation/SmConsNotificationsApp.main", with reason: "Probable fatal error:No fonts found." and stack trace: . java.lang.Error: Probable fatal error:No fonts found. . at sun.font.SunFontManager.getDefaultPhysicalFont(SunFontManager.java:1246) . at sun.font.SunFontManager.initialiseDeferredFont(SunFontManager.java:1116) . at sun.font.CompositeFont.doDeferredInitialisation(CompositeFont.java:287) . at sun.font.CompositeFont.getSlotFont(CompositeFont.java:376) . at sun.font.CompositeStrike.getStrikeForSlot(CompositeStrike.java:82) . at sun.font.CompositeStrike.getFontMetrics(CompositeStrike.java:97) . at sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java:372) . at sun.font.FontDesignMetrics.<init>(FontDesignMetrics.java:363) . at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:315) . at sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1125) . at javax.swing.JComponent.getFontMetrics(JComponent.java:1626) . at javax.swing.plaf.basic.BasicGraphicsUtils.getPreferredButtonSize(BasicGraphicsUtils.java:276) . at javax.swing.plaf.basic.BasicButtonUI.getPreferredSize(BasicButtonUI.java:376) . at javax.swing.plaf.basic.BasicButtonUI.getMinimumSize(BasicButtonUI.java:366) . at javax.swing.JComponent.getMinimumSize(JComponent.java:1744) . at javax.swing.plaf.basic.BasicOptionPaneUI.addButtonComponents(BasicOptionPaneUI.java:693) . at javax.swing.plaf.basic.BasicOptionPaneUI.createButtonArea(BasicOptionPaneUI.java:630) . at javax.swing.plaf.basic.BasicOptionPaneUI.installComponents(BasicOptionPaneUI.java:178) . at javax.swing.plaf.basic.BasicOptionPaneUI.installUI(BasicOptionPaneUI.java:141) . at javax.swing.JComponent.setUI(JComponent.java:666) . at javax.swing.JOptionPane.setUI(JOptionPane.java:1860) . at javax.swing.JOptionPane.updateUI(JOptionPane.java:1882) . at javax.swing.JOptionPane.<init>(JOptionPane.java:1845) . at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:857) . at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:666) . at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:637) . at com.smarts.standard.SmStandardApp.showError(SmStandardApp.java:1170) . at com.smarts.standard.SmStandardApp.main2(SmStandardApp.java:865) . at com.smarts.consolidation.SmConsNotificationsApp.main(SmConsNotificationsApp.java:49) . JAVA-EINVOKEFAIL-Java exception during invocation of com/smarts/consolidation/SmConsNotificationsApp.main JVMI-EXCEPTION-Exception occurred
Environment
VMware Smart Assurance - SMARTS
Cause
This is an issue with the font support on the Operating System.
Resolution
OpenJDK on Linux no longer provides font support and VMware Smart Assurance Console requires 32bit version of fontconfig.
Install 32bit version of Fontconfig using below command: yum install fontconfig.i686
Additional Information
Impact/Risks: Missing font support will impact the users ability to use the GUI