followup.

This commit is contained in:
Maxim Shafirov
2005-02-27 19:17:02 +03:00
parent 4eabefdbb5
commit bee3fab0b5
@@ -130,7 +130,7 @@ public class ModuleManagerImpl extends ModuleManager implements ProjectComponent
}
public void loadModules() {
if (myModulePaths.length > 0) {
if (myModulePaths != null && myModulePaths.length > 0) {
ApplicationManager.getApplication().runWriteAction(new Runnable() {
public void run() {
for (int idx = 0; idx < myModulePaths.length; idx++) {