java.lang.Exception: Font name not found.


Solutions on the web

Solution icon of stackoverflow
Font name not found.

Solution icon of googlegroups
via Google Groups by Unknown author, 1 year ago
Font name not found.

Solution icon of googlegroups
via Google Groups by Unknown author, 4 months ago
Font name not found.

Solution icon of googlegroups
via Google Groups by Carlos De Luna, 9 months ago
Font name not found.

Stack trace

java.lang.Exception: Font name not found.
	at com.sun.javafx.font.PrismFontFile.init(PrismFontFile.java:533)
	at com.sun.javafx.font.PrismFontFile.<init>(PrismFontFile.java:103)
	at com.sun.javafx.font.freetype.FTFontFile.<init>(FTFontFile.java:57)
	at com.sun.javafx.font.freetype.FTFactory.createFontFile(FTFactory.java:75)
	at com.sun.javafx.font.PrismFontFactory.createFontResource(PrismFontFactory.java:273)
	at com.sun.javafx.font.PrismFontFactory.createFontResource(PrismFontFactory.java:260)
	at com.sun.javafx.font.PrismFontFactory.populateFontFileNameMapGeneric(PrismFontFactory.java:1883)
	at com.sun.javafx.font.PrismFontFactory.getFullNameToFileMap(PrismFontFactory.java:1776)
	at com.sun.javafx.font.PrismFontFactory.getFontResource(PrismFontFactory.java:469)
	at com.sun.javafx.font.LogicalFont.getSlot0Resource(LogicalFont.java:194)
	at com.sun.javafx.font.LogicalFont.getDefaultAAMode(LogicalFont.java:409)
	at com.sun.javafx.font.LogicalFont.getStrike(LogicalFont.java:413)
	at com.sun.javafx.font.PrismFont.getStrike(PrismFont.java:73)
	at com.sun.javafx.text.PrismTextLayout.setContent(PrismTextLayout.java:138)
	at javafx.scene.text.Text.getTextLayout(Text.java:229)
	at javafx.scene.text.Text.needsFullTextLayout(Text.java:184)
	at javafx.scene.text.Text.access$200(Text.java:95)
	at javafx.scene.text.Text$2.invalidated(Text.java:389)
	at javafx.beans.property.StringPropertyBase.markInvalid(StringPropertyBase.java:109)
	at javafx.beans.property.StringPropertyBase.set(StringPropertyBase.java:144)
	at javafx.beans.property.StringPropertyBase.set(StringPropertyBase.java:49)
	at javafx.scene.text.Text.setText(Text.java:370)
	at com.sun.javafx.scene.control.skin.Utils.computeClippedWrappedText(Utils.java:375)
	at com.sun.javafx.scene.control.skin.LabeledSkinBase.updateDisplayedText(LabeledSkinBase.java:466)
	at com.sun.javafx.scene.control.skin.LabeledSkinBase.layoutLabelInArea(LabeledSkinBase.java:932)
	at com.sun.javafx.scene.control.skin.LabeledSkinBase.layoutLabelInArea(LabeledSkinBase.java:857)
	at com.sun.javafx.scene.control.skin.LabeledSkinBase.layoutChildren(LabeledSkinBase.java:841)
	at javafx.scene.control.Control.layoutChildren(Control.java:575)
	at javafx.scene.Parent.layout(Parent.java:1079)
	at javafx.scene.Parent.layout(Parent.java:1085)
	at javafx.scene.Parent.layout(Parent.java:1085)
	at javafx.scene.Parent.layout(Parent.java:1085)
	at javafx.scene.Parent.layout(Parent.java:1085)
	at javafx.scene.Scene.doLayoutPass(Scene.java:552)
	at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2401)
	at com.sun.javafx.tk.Toolkit.lambda$runPulse$30(Toolkit.java:348)
	at com.sun.javafx.tk.Toolkit.access$lambda$3(Toolkit.java)
	at com.sun.javafx.tk.Toolkit$$Lambda$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(AccessController.java:52)
	at com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:347)
	at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:374)
	at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:525)
	at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:503)
	at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$387(QuantumToolkit.java:321)
	at com.sun.javafx.tk.quantum.QuantumToolkit.access$lambda$2(QuantumToolkit.java)
	at com.sun.javafx.tk.quantum.QuantumToolkit$$Lambda$3.run(Unknown Source)
	at com.sun.glass.ui.monocle.RunnableProcessor.runLoop(RunnableProcessor.java:92)
	at com.sun.glass.ui.monocle.RunnableProcessor.enterNestedEventLoop(RunnableProcessor.java:107)
	at com.sun.glass.ui.monocle.MonocleApplication._enterNestedEventLoop(MonocleApplication.java:144)
	at com.sun.glass.ui.Application.enterNestedEventLoop(Application.java:511)
	at com.sun.glass.ui.EventLoop.enter(EventLoop.java:107)
	at com.sun.javafx.tk.quantum.QuantumToolkit.enterNestedEventLoop(QuantumToolkit.java:598)
	at com.gluonhq.charm.glisten.control.Dialog.a(SourceFile:613)
	at com.gluonhq.charm.glisten.control.Dialog.access$lambda$4(SourceFile)
	at com.gluonhq.charm.glisten.control.Dialog$$Lambda$5.changed(Unknown Source)
	at com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:181)
	at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
	at javafx.beans.property.ReadOnlyBooleanWrapper$ReadOnlyPropertyImpl.fireValueChangedEvent(ReadOnlyBooleanWrapper.java:178)
	at javafx.beans.property.ReadOnlyBooleanWrapper$ReadOnlyPropertyImpl.access$100(ReadOnlyBooleanWrapper.java:148)
	at javafx.beans.property.ReadOnlyBooleanWrapper.fireValueChangedEvent(ReadOnlyBooleanWrapper.java:144)
	at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
	at javafx.beans.property.BooleanPropertyBase.access$000(BooleanPropertyBase.java:49)
	at javafx.beans.property.BooleanPropertyBase$Listener.invalidated(BooleanPropertyBase.java:245)
	at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:348)
	at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
	at javafx.beans.property.BooleanPropertyBase.fireValueChangedEvent(BooleanPropertyBase.java:103)
	at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
	at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:144)
	at com.gluonhq.charm.glisten.layout.Layer.setShowing(SourceFile:108)
	at com.gluonhq.charm.glisten.application.MobileApplication.a(SourceFile:601)
	at com.gluonhq.charm.glisten.application.MobileApplication.access$lambda$6(SourceFile)
	at com.gluonhq.charm.glisten.application.MobileApplication$$Lambda$8.accept(Unknown Source)
	at java.util.Optional.ifPresent(Optional.java:154)
	at com.gluonhq.charm.glisten.application.MobileApplication.showLayer(SourceFile:592)
	at com.gluonhq.charm.glisten.control.Dialog.showAndWait(SourceFile:564)
	at com.gluonhq.impl.charm.a.d.c.b(SourceFile:77)
	at com.gluonhq.impl.charm.a.d.c.access$lambda$0(SourceFile)
	at com.gluonhq.impl.charm.a.d.c$$Lambda$1.run(Unknown Source)
	at com.sun.javafx.application.PlatformImpl.lambda$null$156(PlatformImpl.java:295)
	at com.sun.javafx.application.PlatformImpl.access$lambda$18(PlatformImpl.java)
	at com.sun.javafx.application.PlatformImpl$$Lambda$19.run(Unknown Source)
	at java.security.AccessController.doPrivileged(AccessController.java:52)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$157(PlatformImpl.java:294)
	at com.sun.javafx.application.PlatformImpl.access$lambda$5(PlatformImpl.java)
	at com.sun.javafx.application.PlatformImpl$$Lambda$6.run(Unknown Source)
	at com.sun.glass.ui.monocle.RunnableProcessor.runLoop(RunnableProcessor.java:92)
	at com.sun.glass.ui.monocle.RunnableProcessor.run(RunnableProcessor.java:51)
	at java.lang.Thread.run(Thread.java:818)

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.