Dremio won't launch macOS Sierra

I installed Dremio (1.4.4) on a Macbook Pro (Sierra 10.12.6) with the .dmg . When I try to open, the top bar flashes to “Dremio” for a moment and then goes back to Finder. I checked the logs and there’s nothing in Dremio/log/server.out

Output from java -version:

Java version 1.8.0_151
Java SE Runtime Environment
Java Hotspot™ 64-Bit Server VM (build 25.151-b12, mixed mode)

Just happened with 1.4.4 but I’ve had this same problem with a few previous versions, never gotten it to launch.

Any ideas? Happy to provide other information, not sure what’s helpful, or what I should try.

Are you running Dremio in a virtual machine by any chance?

Hello laurent. No I am not, just launching straight from Applications

If using Terminal is okay with you, you can try to run the following command and report its output:
first:

open /Application/Dremio.app

if nothing happens, try:

/Applications/Dremio.app/Contents/MacOS/Dremio

and then finally you can run the following command to bypass UI and run dremio server in the background (and open a browser manually on port 9047)

/Applications/Dremio.app/Contents/Java/dremio/bin/dremio start

Log files server.out and server.log should still be under ~/Library/Dremio/log

open /Application/Dremio.app
Nothing happened

/Applications/Dremio.app/Contents/MacOS/Dremio
A second Terminal window opened, here’s the text:

~$: /Applications/Dremio.app/Contents/MacOS/Dremio ; exit;
Exception in Application start method
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:389)
at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767)
Caused by: 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$154(LauncherImpl.java:182)
at java.lang.Thread.run(Thread.java:748)
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.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 javafx.scene.text.Text.(Text.java:129)
at dremio.start(dremio.java:224)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$161(LauncherImpl.java:863)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$174(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
Exception running application dremio
logout
Saving session…
…copying shared history…
…saving history…truncating history files…
…completed.

/Applications/Dremio.app/Contents/Java/dremio/bin/dremio start
Got the error “The file /Users/michaelstanley/start does not exist.”

It seems to be a bug in Java 8. It has been fixed just recently, but this hasn’t been released yet.

Meanwhile, it seems people have been able to workaround it by opening Font Book application, and clicking on File > Restore Standard Fonts…, so you might want to give it a try.

Interesting bug, but it works! Thanks so much for the help, laurent

1 Like