question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GUI does not start on Mac

See original GitHub issue

UI crashes on start with exception:

Exception in thread "main" java.lang.RuntimeException: Exception in Application start method
    at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$155(LauncherImpl.java:182)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
    at com.sun.javafx.font.MacFontFinder.populateFontFileNameMap(MacFontFinder.java:99)
    at com.sun.javafx.font.PrismFontFactory.getFullNameToFileMap(PrismFontFactory.java:1740)
    at com.sun.javafx.font.PrismFontFactory.getFontResource(PrismFontFactory.java:469)
    at com.sun.javafx.font.PrismFontFactory.createFont(PrismFontFactory.java:571)
    at com.sun.javafx.font.PrismFontLoader.font(PrismFontLoader.java:181)
    at javafx.scene.text.Font.font(Font.java:148)
    at javafx.scene.CssStyleHelper.deriveFont(CssStyleHelper.java:1643)
    at javafx.scene.CssStyleHelper.lookupFont(CssStyleHelper.java:1954)
    at javafx.scene.CssStyleHelper.lookup(CssStyleHelper.java:896)
    at javafx.scene.CssStyleHelper.transitionToState(CssStyleHelper.java:678)
    at javafx.scene.Node.impl_processCSS(Node.java:9189)
    at javafx.scene.Parent.impl_processCSS(Parent.java:1241)
    at javafx.scene.control.Control.impl_processCSS(Control.java:855)
    at javafx.scene.Parent.impl_processCSS(Parent.java:1272)
    at javafx.scene.Node.processCSS(Node.java:9056)
    at javafx.scene.Scene.doCSSPass(Scene.java:545)
    at javafx.scene.Scene.preferredSize(Scene.java:1643)
    at javafx.scene.Scene.impl_preferredSize(Scene.java:1720)
    at javafx.stage.Window$9.invalidated(Window.java:846)
    at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:109)
    at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:144)
    at javafx.stage.Window.setShowing(Window.java:922)
    at javafx.stage.Window.show(Window.java:937)
    at javafx.stage.Stage.show(Stage.java:259)
    at at.favre.tools.dconvert.ui.GUI.start(GUI.java:48)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(LauncherImpl.java:863)
    at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326)
    at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
    at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
patrickfavcommented, Mar 16, 2016

As I wrote earlier, it seems to be an Mac/OpenJdk bug:

https://bugs.openjdk.java.net/browse/JDK-8089900

so it seems there isnt much I can do. If you like you can try the suggested workarounds in the ticket:

This seems to occur on the Mac when they have updated to java 8u25 from java 7. The users have seen this issue when using both Mac OS X 10.10 and 10.9.5. Interestingly both users seemed to have Microsoft Office fonts installed. One user resolved the issue by “Restoring Standard Fonts” in the Font Book application.

0reactions
patrickfavcommented, Oct 5, 2017

Closing, since looks like edge case issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

unable to boot in GUI, only single user mode comes up
Try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair ...
Read more >
Engine / GUI does not start, no error message is displayed
I've tried uninstalling Docker via /Applications/Docker.app/Contents/MacOS/Docker --uninstall , this command hangs. I've tried removing Docker ...
Read more >
Octave: Can't start GUI after installing from homebrew
0 release that I just installed, octave started the command line version. octave --force-gui opened up the gui. I'm on the latest macOS...
Read more >
Octave 5.2.0 GUI not running on macOS Big Sur 11.0.1 - help
After the recent upgrade to macOS Big Sur the GUI of Octave won't work anymore. Only the CLI is running correctly. My questions:....
Read more >
Zerotier 1.8.1 GUI does not start on macOS Mojave 10.14.6
As per title - the GUI seems to crash immediately on startup. The service seems to be running fine, but the only way...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found