EA-33058 - NPE: PlatformContentEntriesConfigurable.isModified
authorDmitry Jemerov <yole@jetbrains.com>
Tue, 31 Jan 2012 18:13:21 +0000 (19:13 +0100)
committerDmitry Jemerov <yole@jetbrains.com>
Tue, 31 Jan 2012 18:13:21 +0000 (19:13 +0100)
platform/lang-impl/src/com/intellij/openapi/roots/ui/configuration/PlatformContentEntriesConfigurable.java

index 7251f701a0b987926c1db9a8bf30e28f5e5c75bb..1d38a7df7ac9906c1928ed920890742468cd2c2b 100644 (file)
@@ -86,7 +86,7 @@ public class PlatformContentEntriesConfigurable implements Configurable {
   }
 
   public boolean isModified() {
-    return myEditor.isModified();
+    return myEditor != null && myEditor.isModified();
   }
 
   public void apply() throws ConfigurationException {