Fixed bug where ApplicationServer would crash if no Connector was added and getUri was called