java.lang.NoClassDefFoundError: Coul d not initialize class sun.font.SunFontManager


Solutions on the web

Solution icon of stackoverflow
via Stack Overflow by user2964628
, 5 months ago
Coul d not initialize class sun.font.SunFontManager

Solution icon of stackoverflow
Could not initialize class sun.font.SunFontManager

Solution icon of stackoverflow
Could not initialize class sun.font.SunFontManager

Stack trace

java.lang.NoClassDefFoundError: Coul
d 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.BasicTabbedPaneUI.getFontMetrics(Unknown Source)
	at javax.swing.plaf.basic.BasicTabbedPaneUI.calculateMaxTabWidth(Unknown Source)
	at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.calculateSize(Unknown Source)
	at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.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.ApaChannelTuningChart.display(Unknown Source)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.