[GREENFOOT-390] NPE during Save As when root directory is entered
I went to Save As, and then entered "Y:" in the dialog and accidentally pressed enter before I finished typing. That caused a NPE:
{noformat} Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at bluej.utility.FileUtility.getDirName(FileUtility.java:201) at bluej.utility.FileUtility.getDirName(FileUtility.java:168) at greenfoot.actions.SaveAsAction.actionPerformed(SaveAsAction.java:62) {noformat}
Issue metadata
- Issue type: Bug
- Priority: Medium
- Fix versions: 2.4.0