Fix - random JFileChooser java.lang.NullPointerException exception in thread "AWT-EventQueue-0"