JBIDE-14987: Fixed NPE in Windows 8