NullPointerExceptions fixed. Request message ids were being used to retrieve messages when it should have been the stored message id.  This was causing nullpointer exceptions.