1

Resolved

NullReferenceException on XmlReader.Create

description

This bug was introduced with version 3.1.6.6 forcing me to return back to version 3.1.4.5.

When calling the method System.Xml.XmlReader.Create from inside a page that requires authentication, the setver returns "500 Internal server error"

Looking at the server logs, that's tha error call stack

Exception information:
Exception type: NullReferenceException 
Exception message: Riferimento a un oggetto non impostato su un'istanza di oggetto.
in FiftyOne.Foundation.Mobile.Detection.WebProvider.GetResults(HttpContext context, HttpRequest request)
in FiftyOne.Foundation.Mobile.Detection.MobileCapabilitiesProvider.GetBrowserCapabilities(HttpRequest request)
in System.Web.Configuration.HttpCapabilitiesBase.GetBrowserCapabilities(HttpRequest request)
in System.Web.HttpRequest.get_Browser()
in System.Web.Security.CookielessHelperClass.UseCookieless(HttpContext context, Boolean doRedirect, HttpCookieMode cookieMode)
in System.Web.Security.FormsAuthenticationModule.ExtractTicketFromCookie(HttpContext context, String name, Boolean& cookielessTicket)
in System.Web.Security.FormsAuthenticationModule.OnAuthenticate(FormsAuthenticationEventArgs e)
in System.Web.Security.FormsAuthenticationModule.OnEnter(Object source, EventArgs eventArgs)
in System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
in System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

comments

iftikhar51 wrote Jun 8, 2015 at 4:17 PM

This issue was resolve in later versions.

iftikhar51 wrote Jun 8, 2015 at 4:20 PM

We are now on version 3.1.12.6. This was resolved in previous releases. However, please let me know if anyone is still having it. Remember to raise ticket at https://51degrees.com.