In o.a.tomcat.websocket.server.WsHttpUpgradeHandler.init(WebConnection) if the endpoint is NULL the connection will not be initialized.
Then in o.a.tomcat.websocket.server.WsHttpUpgradeHandler.destroy() the connection should be tested for NULL.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1549909 13f79535-47bb-0310-9956-ffa450edef68