plugins/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/project/WRT11ApplicationLayout.java
--- 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;
}
}