a Fix for unhandled error type that causes an stack over flow exception.

to re create error
ListFriendIdsOf(new ListFriendIdsOfOptions { UserId = 161975382, Count = 5000 });
command can be used. User id is a random protected user id.