Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Thinesh Ganeshalingam
, 2 years ago
Could not initialize class sun.font.SunFontManager
via Stack Overflow by user2964628
, 8 months ago
Could not initialize class sun.font.SunFontManager
via Stack Overflow by Fazeen Ahmad
, 1 year ago
java.lang.NoClassDefFoundError: Could
 not initialize class sun.font.SunFontManager	at sun.font.FontDesignMetrics.getMetrics(Unknown Source)	at sun.swing.SwingUtilities2.getFontMetrics(Unknown Source)	at javax.swing.JComponent.getFontMetrics(Unknown Source)	at javax.swing.plaf.basic.BasicLabelUI.getPreferredSize(Unknown Source)	at javax.swing.JComponent.getPreferredSize(Unknown Source)	at java.awt.GridLayout.preferredLayoutSize(Unknown Source)	at java.awt.Container.preferredSize(Unknown Source)	at java.awt.Container.getPreferredSize(Unknown Source)	at javax.swing.JComponent.getPreferredSize(Unknown Source)	at java.awt.BorderLayout.preferredLayoutSize(Unknown Source)	at java.awt.Container.preferredSize(Unknown Source)	at java.awt.Container.getPreferredSize(Unknown Source)	at javax.swing.JComponent.getPreferredSize(Unknown Source)	at java.awt.BorderLayout.preferredLayoutSize(Unknown Source)	at java.awt.Container.preferredSize(Unknown Source)	at java.awt.Container.getPreferredSize(Unknown Source)	at javax.swing.JComponent.getPreferredSize(Unknown Source)	at javax.swing.JRootPane$RootLayout.preferredLayoutSize(Unknown Source)	at java.awt.Container.preferredSize(Unknown Source)	at java.awt.Container.getPreferredSize(Unknown Source)	at javax.swing.JComponent.getPreferredSize(Unknown Source)	at java.awt.BorderLayout.preferredLayoutSize(Unknown Source)	at java.awt.Container.preferredSize(Unknown Source)	at java.awt.Container.getPreferredSize(Unknown Source)	at java.awt.Window.pack(Unknown Source)	at com.nokia.APA.Chart.ApaPowerControlChart.display(Unknown Source)	at com.nokia.APA.Chart.ApaPowerControlChart$1.run(Unknown Source)