Hi Joe
I'm not sure if you'd count this as a bug, but it is an unhandled exception that has just occured to me on one of our mojoPortal sites... (and could happen to real site users). After rebooting the web server, I had a browser window sitting there with a page that I had loaded before the reboot. On clicking a link I was asked to log in (I had previously been logged in already). On entering the login details, the site bombed with your standard "...something wrong, you might like to click back or visit the home page..." page.
I then checked on the server, stopped and started the site and app pool etc and no change. Then I found that the site worked fine in a different browser. Then I found this in the server event log (specifics obscured):
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 04/01/2012 19:07:37
Event time (UTC): 04/01/2012 19:07:37
Event ID: 90dcc093b40e40a99bf76bfea29e4f13
Event sequence: 3
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/15/ROOT-2-129701776569993468
Trust level: Full
Application Virtual Path: /
Application Path: D:\Websites\mywebsite\
Machine name: ESDM-WEB-07
Process information:
Process ID: 8176
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an object.
at mojoPortal.Web.mojoRoleProvider.GetRolesFromCookie()
at mojoPortal.Web.mojoRoleProvider.GetRolesForUser(String userName)
at System.Web.Security.RolePrincipal.IsInRole(String role)
at mojoPortal.Business.WebHelpers.WebUser.IsInRole(String role)
at mojoPortal.Business.WebHelpers.WebUser.IsInRoles(String roles)
at mojoPortal.Web.SiteUtils.GetSkinName(Boolean allowPageOverride, Page page)
at mojoPortal.Web.mojoBasePage.SetupMasterPage()
at mojoPortal.Web.mojoBasePage.OnPreInit(EventArgs e)
at mojoPortal.Web.UI.CmsPage.OnPreInit(EventArgs e)
at System.Web.UI.Page.PerformPreInit()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Request information:
Request URL: http://www.mywebsite.co.uk/Default.aspx
Request path: /Default.aspx
User host address: 11.22.33.44
User: adfsdsdfsg
Is authenticated: True
Authentication Type: Forms
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 14
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at mojoPortal.Web.mojoRoleProvider.GetRolesFromCookie()
at mojoPortal.Web.mojoRoleProvider.GetRolesForUser(String userName)
at System.Web.Security.RolePrincipal.IsInRole(String role)
at mojoPortal.Business.WebHelpers.WebUser.IsInRole(String role)
at mojoPortal.Business.WebHelpers.WebUser.IsInRoles(String roles)
at mojoPortal.Web.SiteUtils.GetSkinName(Boolean allowPageOverride, Page page)
at mojoPortal.Web.mojoBasePage.SetupMasterPage()
at mojoPortal.Web.mojoBasePage.OnPreInit(EventArgs e)
at mojoPortal.Web.UI.CmsPage.OnPreInit(EventArgs e)
at System.Web.UI.Page.PerformPreInit()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I found that when I cleared the browser cache and cookies for the domain, the site loaded fine.
My installation details:
mojoPortal Version 2.3.7.5 MSSQL Operating System Microsoft Windows NT 6.0.6002 Service Pack 2
ASP.NET Info v4.0.30319 Running in Full Trust
Server Time Zone GMT Standard Time
Server Local Time (GMT 0) 04/01/2012 19:18:43
Greenwich Mean Time (GMT/UTC) 04/01/2012 19:18:43