mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
NPE fix
This commit is contained in:
+1
-1
@@ -84,7 +84,7 @@ public class ProgramParametersConfigurator {
|
||||
if (workingDir == null) {
|
||||
throw new RuntimeConfigurationWarning("Working directory is null for "+
|
||||
"project '" + project.getName() + "' ("+project.getBasePath()+")"
|
||||
+ ", module '" + module.getName() + "' (" + module.getModuleFilePath() + ")");
|
||||
+ ", module " + (module == null? "null" : "'" + module.getName() + "' (" + module.getModuleFilePath() + ")"));
|
||||
}
|
||||
if (!new File(workingDir).exists()) {
|
||||
throw new RuntimeConfigurationWarning("Working directory '" + workingDir + "' doesn't exist");
|
||||
|
||||
Reference in New Issue
Block a user