I have a site recently migrated to 10.3 and am using a custom auth module. The module appears to work...I can edit pages, get into /administration area, edit widgets, etc. However when I navigate to a blog I get the following exception - if I hit it as the anonymous user, there is no error.
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] Telligent.Evolution.Components.RoleService.GetAllRolesForUser(User user, Int32 pageIndex, Int32 pageSize) +0 Telligent.Evolution.Components.RoleServiceAdapter.GetRoles(String userName) +68 Telligent.Evolution.Components.Roles.GetRoles(String userName) +68 Telligent.Evolution.Components.SectionQuery.get_RoleSet() +208 Telligent.Evolution.Components.SectionQuery.<GetComponents>b__125_0(Object x, ResolveValueArgs`1 y) +12 Telligent.Common.QueryModel.DynamicProperty`1.OnResolveKey() +78 Telligent.Common.QueryModel.DynamicProperty`1.GetKey() +20 Telligent.Common.QueryModel.Query.GetKey() +240 Telligent.Evolution.Blogs.Components.WeblogDataService.(SectionQuery ) +34 Telligent.Evolution.Blogs.Components.WeblogDataService.(SectionQuery ) +15 Telligent.Evolution.Blogs.Components.WeblogDataService.GetWeblogs(SectionQuery query) +23 Telligent.Evolution.Blogs.Plugins.BlogApplicationType.(PageContext ) +527 Telligent.Evolution.Urls.Routing.UrlManager.ParseContext(RouteValueDictionary values) +2368 Telligent.Evolution.Urls.Routing.SiteUrlRouteHandler.GetHttpHandler(RequestContext requestContext) +816 System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +215 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +222 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +212 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +90 |