diff --git a/src/org/cakephp/netbeans/ConfigurationFiles.java b/src/org/cakephp/netbeans/ConfigurationFiles.java index a872d59..a15375a 100644 --- a/src/org/cakephp/netbeans/ConfigurationFiles.java +++ b/src/org/cakephp/netbeans/ConfigurationFiles.java @@ -61,6 +61,9 @@ private synchronized List getConfigDirectories() { return Collections.emptyList(); } FileObject config = cakeModule.getConfigDirectory(CakePhpModule.DIR_TYPE.APP); + if (config == null) { + return Collections.emptyList(); + } if (!isInitialized) { isInitialized = true; addListener(FileUtil.toFile(config));