java.lang.NoClassDefFoundError: Could not initialize class sun.awt.Win32FontManager

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 YouTrack by Unknown author, 1 year ago
Could not initialize class sun.awt.Win32FontManager
via Stack Overflow by Jason White
, 5 months ago
via GitHub by glaforge
, 2 years ago
Could not initialize class groovy.json.JsonOutput at com.google.appengine.runtime.Request.process-0f3f450194b58057(Request.java)
via Google Groups by satish John Bosco, 11 months ago
Could not initialize class org.telluriumsource.framework.TelluriumFrameworkMetaClass
via Coderanch by Mamadou Diallo, 1 year ago
Could not initialize class org.apache.jasper.compiler.JspRuntimeContext
java.lang.NoClassDefFoundError: Could not initialize class sun.awt.Win32FontManager
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:82)
at java.security.AccessController.doPrivileged(Native Method)
at sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74)
at java.awt.Font.getFont2D(Font.java:491)
at java.awt.Font.access$000(Font.java:224)
at java.awt.Font$FontAccessImpl.getFont2D(Font.java:228)
at sun.font.FontUtilities.getFont2D(FontUtilities.java:180)
at sun.font.FontUtilities.fontSupportsDefaultEncoding(FontUtilities.java:338)
at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$WindowsFontProperty.configureValue(WindowsLookAndFeel.java:2293)
at com.sun.java.swing.plaf.windows.DesktopProperty.createValue(DesktopProperty.java:154)
at javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:231)
at javax.swing.UIDefaults.get(UIDefaults.java:161)
at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:64)
at javax.swing.UIDefaults.getFont(UIDefaults.java:387)
at javax.swing.UIManager.getFont(UIManager.java:672)
at javax.swing.plaf.basic.BasicTextUI.installDefaults(BasicTextUI.java:307)
at javax.swing.plaf.basic.BasicTextUI.installUI(BasicTextUI.java:787)
at javax.swing.plaf.basic.BasicEditorPaneUI.installUI(BasicEditorPaneUI.java:89)
at javax.swing.plaf.basic.BasicTextPaneUI.installUI(BasicTextPaneUI.java:81)
at javax.swing.JComponent.setUI(JComponent.java:666)
at javax.swing.text.JTextComponent.setUI(JTextComponent.java:328)
at javax.swing.text.JTextComponent.updateUI(JTextComponent.java:338)
at javax.swing.text.JTextComponent.(JTextComponent.java:312)
at javax.swing.JEditorPane.(JEditorPane.java:196)
at javax.swing.JTextPane.(JTextPane.java:90)
at com.intellij.idea.Main.showMessage(Main.java:335)
at com.intellij.idea.Main.showMessage(Main.java:311)
at com.intellij.idea.Main.main(Main.java:104)

Users with the same issue

6 times, 7 months ago
2 times, 8 months ago
60 times, 1 year ago
3 times, 1 year ago
3 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.