View Single Post
02/16/17, 03:15 PM   #7
shijunplays
Join Date: Feb 2017
Posts: 5
Code:
DEBUG 2017-02-16 21:45:54,596 [JavaFX Application Thread] gg.minion.controller.MinionController:open(311): Starting new Minion instance.
DEBUG 2017-02-16 21:45:54,641 [JavaFX Application Thread] gg.minion.Minion:stop(98): Close called.
DEBUG 2017-02-16 21:45:54,641 [Thread-7] gg.minion.MinionShutdownHook:run(21): Shutdown hook called.
This is precisely what I'm getting.

I'm using Font Explorer Pro to sort my custom fonts, but I've restored my fonts to standard with Mac OS's font book. Several topics on the internet recommended to do that with similar errors.
More details from the terminal when launching the jar:

Code:
Exception in Application start method
Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
	at com.sun.javafx.font.MacFontFinder.populateFontFileNameMap(MacFontFinder.java:99)
	at com.sun.javafx.font.PrismFontFactory.getFullNameToFileMap(PrismFontFactory.java:1717)
	at com.sun.javafx.font.PrismFontFactory.getFontResource(PrismFontFactory.java:680)
	at com.sun.javafx.font.FallbackResource.getSlotResource(FallbackResource.java:282)
	at com.sun.javafx.font.PrismCompositeFontResource.getSlotResource(PrismCompositeFontResource.java:78)
	at com.sun.javafx.font.CompositeGlyphMapper.getSlotMapper(CompositeGlyphMapper.java:74)
	at com.sun.javafx.font.CompositeGlyphMapper.convertToGlyph(CompositeGlyphMapper.java:95)
	at com.sun.javafx.font.CompositeGlyphMapper.getGlyphCode(CompositeGlyphMapper.java:151)
	at com.sun.javafx.font.CharToGlyphMapper.charsToGlyphs(CharToGlyphMapper.java:84)
	at com.sun.javafx.text.PrismTextLayout.shape(PrismTextLayout.java:865)
	at com.sun.javafx.text.PrismTextLayout.layout(PrismTextLayout.java:1064)
	at com.sun.javafx.text.PrismTextLayout.ensureLayout(PrismTextLayout.java:223)
	at com.sun.javafx.text.PrismTextLayout.getBounds(PrismTextLayout.java:246)
	at com.sun.javafx.scene.control.skin.Utils.computeTextWidth(Utils.java:118)
	at com.sun.javafx.scene.control.skin.LabeledSkinBase.computeMinLabeledPartWidth(LabeledSkinBase.java:665)
	at com.sun.javafx.scene.control.skin.LabeledSkinBase.computeMinWidth(LabeledSkinBase.java:633)
	at javafx.scene.control.Control.computeMinWidth(Control.java:481)
	at javafx.scene.Parent.minWidth(Parent.java:930)
	at javafx.scene.layout.Region.minWidth(Region.java:1380)
	at com.sun.javafx.scene.control.skin.LabeledSkinBase.computeMinLabeledPartWidth(LabeledSkinBase.java:677)
	at com.sun.javafx.scene.control.skin.LabeledSkinBase.computeMinWidth(LabeledSkinBase.java:633)
	at javafx.scene.control.Control.computeMinWidth(Control.java:481)
	at javafx.scene.Parent.minWidth(Parent.java:930)
	at javafx.scene.layout.Region.minWidth(Region.java:1380)
	at javafx.scene.layout.Region.computeChildPrefAreaWidth(Region.java:1725)
	at javafx.scene.layout.HBox.getAreaWidths(HBox.java:457)
	at javafx.scene.layout.HBox.layoutChildren(HBox.java:627)
	at javafx.scene.Parent.layout(Parent.java:1074)
	at javafx.scene.Parent.layout(Parent.java:1080)
	at javafx.scene.Parent.layout(Parent.java:1080)
	at javafx.scene.Parent.layout(Parent.java:1080)
	at javafx.scene.Scene.doLayoutPass(Scene.java:532)
	at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2363)
	at com.sun.javafx.tk.Toolkit.lambda$runPulse$28(Toolkit.java:314)
	at com.sun.javafx.tk.Toolkit$$Lambda$259/1504906218.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:313)
	at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:340)
	at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:451)
	at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:431)
	at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$363(QuantumToolkit.java:298)
	at com.sun.javafx.tk.quantum.QuantumToolkit$$Lambda$42/50660745.run(Unknown Source)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
  Reply With Quote