Fixed null pointer exception that occurs on connection attempt made
from the server properties screen.