plugins/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/project/WRT11ApplicationLayout.java
changeset 472 bd9f2d7c64a6
parent 470 d4809db37847
child 479 518afa7c6d2f
--- a/plugins/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/project/WRT11ApplicationLayout.java	Mon Aug 23 09:55:57 2010 -0700
+++ b/plugins/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/project/WRT11ApplicationLayout.java	Mon Aug 23 10:30:05 2010 -0700
@@ -148,7 +148,7 @@
                 Activator.log(e);
             }
         }
-        return file.exists() && isFileIncluded(file) ? file : null;
+        return (file != null && file.exists()) && isFileIncluded(file) ? file : null;
     }
 
 }