1) Fixed stackoverflow when clicking on entry in PHPeclipse Error Log: OverrideIndica...
[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) {