When launching a Java applet (JSAM, HOB Applet, etc.) on macOS Sierra (10.12) or Safari 10, the application fails to launch with the following message:
An uncaught exception was raised. Choose "Continue" to continue running in an
inconsistent state. Choose "Crash" to halt the application and file a bug with
Crash Reporter. Choosing "Crash" will result in the loss of all unsaved data.
Clicking on "Show Details" provides the following information:
Exception Name: JavaNative Exception Description:
java.lang.NullPointerException at sun.awt.SunToolkit.getSystemEventQueueInplPP