Update JMSServerConnector.java

avoids a null pointer bug