Fixed "textEditor==null" bug
[phpeclipse.git] / net.sourceforge.phpeclipse.launching / src / net / sourceforge / phpdt / internal / launching / PHPRuntime.java
index 03447e1..56c6101 100644 (file)
@@ -16,6 +16,7 @@ import java.util.Iterator;
 import java.util.List;
 
 import javax.xml.parsers.SAXParserFactory;
+
 import org.eclipse.core.runtime.IPath;
 import org.eclipse.core.runtime.Path;
 import org.xml.sax.Attributes;
@@ -106,7 +107,7 @@ public class PHPRuntime {
                        reader.setContentHandler(getRuntimeConfigurationContentHandler());
                        reader.parse(new InputSource(getRuntimeConfigurationReader()));
                } catch(Exception e) {
-                       PHPLaunchingPlugin.getDefault().log(e);
+                       PHPLaunchingPlugin.log(e);
                }
        }