if (curOldValue != curNewValue) {
if (/NEW/ curNewValue == null /NEW/ || !!! curNewValue instanceof IServerType) {
if (isSupportedServerType((IServerType)curNewValue)) {
// Disable the host name field
if (controlListener != null) {
Chunk of code between /NEW/ has been added to account for null values that can be selected (folders)
See the following STS JIRA for details: https://issuetracker.springsource.com/browse/STS-4024
The fix that worked for me:
Chunk of code between /NEW/ has been added to account for null values that can be selected (folders)