This is a rather annoying bug that has been - supposedly - fixed (I did some research), but the problem persists on my mac.
I have a simple javaFX application with a button which, when clicked on, should print the world of hello. The button itself has some text. However, when the application starts, it causes this error:
Caused by: java.lang.NullPointerException
at com.sun.javafx.font.MacFontFinder.populateFontFileNameMap(MacFontFinder.java:99)
(full exception here: http://pastebin.com/YdAgMfPs )
How can this be solved? Mac is in the latest version (OS X el capitan) and Java. I am using the NetBeans IDE, but can also be played on another IDE, so I think the problem is with my machine.
source
share