This project has moved. For the latest updates, please go here.
1

Closed

NullReferenceExcepetion

description

Hi, I'm getting the following exception when I try to debug my application:
[ArgumentNullException: Value cannot be null.
Parameter name: stringToUnescape]
   System.Uri.UnescapeDataString(String stringToUnescape) +8892258
   FiftyOne.Foundation.Mobile.Detection.WebProvider.GetRequiredHeaders(HttpRequest request) +48
   FiftyOne.Foundation.Mobile.Detection.WebProvider.GetResults(HttpRequest request) +440
   FiftyOne.Foundation.Mobile.Detection.MobileCapabilitiesProvider.GetBrowserCapabilities(HttpRequest request) +36
   System.Web.Configuration.HttpCapabilitiesBase.GetBrowserCapabilities(HttpRequest request) +12662482
   System.Web.HttpRequest.get_Browser() +380
   System.Web.HttpCookie.GetSetCookieHeader(HttpContext context) +337
   System.Web.HttpResponse.GenerateResponseHeadersForCookies() +136
   System.Web.HttpResponse.UpdateNativeResponse(Boolean sendHeaders) +779
   System.Web.HttpRuntime.FinishRequestNotification(IIS7WorkerRequest wr, HttpContext context, RequestNotificationStatus& status) +336
It has only started happening once I upgraded 51 dregrees from v2 to v3.1.8.2. Any help would be greatly appreciated.
Closed Jun 4, 2015 at 3:16 PM by iftikhar51
We believe this bug relates to an empty or null user agents. This has been addressed in later releases.

comments