The exception is telling you that there's a NullReferenceException in MessageClientServerBase.OnConnectionAccepted. What line is it thrown on and what reference on that line is Nothing?