Commit afdc12d1 authored by Marc Dutoo's avatar Marc Dutoo

studio : patched NPE by adding guard

parent 45e605d7
......@@ -262,7 +262,7 @@ public class ServiceManagerImpl implements ServiceManager {
} catch (Exception e) {
//e.printStackTrace();
File rootFile = new File(application.retrieveAbsoluteRoot());
if(rootFile.exists()){
if(rootFile != null && rootFile.exists()){
this.deleteDirectory(rootFile);
}
throw e;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment