diff --git a/main/src/com/google/refine/io/FileProjectManager.java b/main/src/com/google/refine/io/FileProjectManager.java index 271a4f5c6..bdc6957c0 100644 --- a/main/src/com/google/refine/io/FileProjectManager.java +++ b/main/src/com/google/refine/io/FileProjectManager.java @@ -363,11 +363,13 @@ public class FileProjectManager extends ProjectManager { boolean found = false; - try { - ParsingUtilities.mapper.readerForUpdating(this).readValue(file); - found = true; - } catch(IOException e) { - logger.warn(e.toString()); + if (file.exists() || file.canRead()) { + try { + ParsingUtilities.mapper.readerForUpdating(this).readValue(file); + found = true; + } catch(IOException e) { + logger.warn(e.toString()); + } } return found;