Running the same code on Windows causes application crash with NullPointerException in call stack. So similar code in some Eclipse Plug-in/RCP application on Mac causes freeze with no cause in the log.