Null reference pointer was passed to the stub when not debugging with IE

I had this problem and it was caused by IE not being the default browser. You can correct this by following this answer

Visual Studio opens the default browser instead of Internet Explorer

Leave a Comment