Sitecore NullReferenceException in GetBrowserClassString

It was a beautiful day, and I came to work, and Sitecore accidentally gave me this:

[NullReferenceException: Object reference not set to an instance of an object.]
   Sitecore.UIUtil.GetBrowserClassString() +491
   Sitecore.sitecore.login.LoginPage.AddBrowserAttributes() +134
   Sitecore.sitecore.login.LoginPage.OnPreRender(EventArgs e) +434
   System.Web.UI.Control.PreRenderRecursiveInternal() +112
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4296

It was not only a break on this day, but also a way out of nowhere. It seems that I or someone from my team did not affect the changes, and it works fine.

Any ideas?

+1
source share
2 answers

MultiSite Sitecore Sitecore 6.5. , , @WeekendWarrior, Capabitilities null. Sitecore; , , , Sitecore :

/sitecore/layout/Devices/Default Capabilities Type - Type, Assembly :

Sitecore.Web.Configuration.InternetExplorerCapabilities, Sitecore.Kernel

, .

+2

GetBrowserClassString() (Sitecore.Kernel.dll), LOC, , :

Client.Device.Capabilities.Browser.MajorVersion // in the Sitecore namespace

? . , ( sitecore, , .

0

All Articles