1) Fixed issue #714: PHP Parser bug with $this->oR.
[phpeclipse.git] / net.sourceforge.phpeclipse.externaltools / src / net / sourceforge / phpdt / externaltools / preferences / ApachePrefencePage.java
index 6cd1984..871b96a 100644 (file)
@@ -38,8 +38,10 @@ public class ApachePrefencePage extends PreferencePage implements
 
        public ApachePrefencePage() {
                super();
-               setPreferenceStore(ExternalToolsPlugin.getDefault()
-                               .getPreferenceStore());
+               
+               if (ExternalToolsPlugin.getDefault () != null) {
+                 setPreferenceStore (ExternalToolsPlugin.getDefault().getPreferenceStore());
+               }
        }
 
        protected Control createContents(Composite parent) {