Merge "[417874] react to default folder changes"
diff --git a/plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/internal/Runtime.java b/plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/internal/Runtime.java
old mode 100644
new mode 100755
index 11c2e69..bfd8377
--- a/plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/internal/Runtime.java
+++ b/plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/internal/Runtime.java
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2003, 2011 IBM Corporation and others.
+ * Copyright (c) 2003, 2021 IBM Corporation and others.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License 2.0
  * which accompanies this distribution, and is available at
@@ -66,7 +66,7 @@
 			return getDelegate(monitor).validate();
 		} catch (Exception e) {
 			ServerPlugin.logExtensionFailure(toString(), e);
-			return null;
+			return new Status(IStatus.ERROR, getClass(), "Exception validating runtime");
 		}
 	}
 
@@ -211,4 +211,4 @@
 	public String toString() {
 		return "Runtime[" + getId() + ", " + getName() + ", " + getLocation() + ", " + getRuntimeType() + "]";
 	}
-}
\ No newline at end of file
+}