I am unable able to open the formula on any rollup field, new or existing. It has been awhile since we last used one and have multiple changes since then so I am not sure what could be causing this and I am having a hard time figuring it out. All I am seeing is an unhandled exception error. I have the error from the server trace and also the event log.
I saw that online had a similar issue but it was patched and we are On Prem 8.2.2.112. If anyone has any advice it would be helpful and really appreciated.
Server Trace Error
>Request <our url for rollup request> failed with exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object.>Request <our url for rollup request> failed with exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Crm.Application.InlineEdit.JsonWrapperFactory.CreateForEnumAttribute(EnumAttributeMetadata metadata) at Microsoft.Crm.Application.InlineEdit.JsonWrapperFactory.Create(AttributeMetadata attributeMetadata, String entityLogicalName) at Microsoft.Crm.Web.Tools.SystemCustomization.BusinessRules.OneToManyRelationBuilder.AddFirstValidAttributeMetadata(CommonRuleAdapter rollupFieldAdapter, EntityMetadata referencingEntity, List`1 attributeList) at Microsoft.Crm.Web.Tools.SystemCustomization.BusinessRules.OneToManyRelationBuilder.GetRelationshipEntityMetadata(CommonRuleAdapter rollupFieldAdapter, RelatedAttributeVisitor visitor, EntityMetadata referencingEntity) at Microsoft.Crm.Web.Tools.SystemCustomization.BusinessRules.OneToManyRelationBuilder.Build(Int32 entityTypeCode, WorkflowStep step) at Microsoft.Crm.Web.Tools.SystemCustomization.RollupFields.RollupFieldEditorClientDataBuilder.BuildRollupFieldEditorData(Int32 entityTypeCode, Guid rollupFieldId, WorkflowStep step) at Microsoft.Crm.Web.Tools.SystemCustomization.RollupFields.Views.ManageRollupFieldView.BuildEditorClientData() at Microsoft.Crm.Web.Tools.SystemCustomization.Common.ManageRulesView.InitializeAppPageHeader() at Microsoft.Crm.Web.Tools.SystemCustomization.Common.ManageRulesView.Initialize() at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e) at Microsoft.Crm.Application.Controls.AppPage.OnPreRender(EventArgs e) at Microsoft.Crm.Application.Controls.PageManager.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)[2018-10-24 09:57:24.355] Process: w3wp |Organization:17975a48-c0bd-e711-90f4-005056894711 |Thread: 23 |Category: Application |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: fa5866f1-38aa-488f-8ecb-b909d134fd7d |ActivityId: fa5866f1-38aa-488f-8ecb-b909d134fd7d | MainApplication.Application_Error ilOffset = 0xB5 at MainApplication.Application_Error(Object sender, EventArgs eventArguments) ilOffset = 0xB5 at HttpApplication.RaiseOnError() ilOffset = 0x0 at HttpApplication.RecordError(Exception error) ilOffset = 0x41 at PipelineStepManager.ResumeSteps(Exception error) ilOffset = 0xEE at HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) ilOffset = 0x31 at HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) ilOffset = 0xB0 at PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x131 at PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x0 at UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) ilOffset = 0xFFFFFFFF at UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) ilOffset = 0xFFFFFFFF at PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x1E7 at PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x0>MSCRM Error Report:--------------------------------------------------------------------------------------------------------Error: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Error Message: 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.
Error Details: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Source File: Not available
Line Number: Not available
Request URL: <our url for rollup request>
Stack Trace Info: [NullReferenceException: Object reference not set to an instance of an object.] at Microsoft.Crm.Application.InlineEdit.JsonWrapperFactory.CreateForEnumAttribute(EnumAttributeMetadata metadata) at Microsoft.Crm.Application.InlineEdit.JsonWrapperFactory.Create(AttributeMetadata attributeMetadata, String entityLogicalName) at Microsoft.Crm.Web.Tools.SystemCustomization.BusinessRules.OneToManyRelationBuilder.AddFirstValidAttributeMetadata(CommonRuleAdapter rollupFieldAdapter, EntityMetadata referencingEntity, List`1 attributeList) at Microsoft.Crm.Web.Tools.SystemCustomization.BusinessRules.OneToManyRelationBuilder.GetRelationshipEntityMetadata(CommonRuleAdapter rollupFieldAdapter, RelatedAttributeVisitor visitor, EntityMetadata referencingEntity) at Microsoft.Crm.Web.Tools.SystemCustomization.BusinessRules.OneToManyRelationBuilder.Build(Int32 entityTypeCode, WorkflowStep step) at Microsoft.Crm.Web.Tools.SystemCustomization.RollupFields.RollupFieldEditorClientDataBuilder.BuildRollupFieldEditorData(Int32 entityTypeCode, Guid rollupFieldId, WorkflowStep step) at Microsoft.Crm.Web.Tools.SystemCustomization.RollupFields.Views.ManageRollupFieldView.BuildEditorClientData() at Microsoft.Crm.Web.Tools.SystemCustomization.Common.ManageRulesView.InitializeAppPageHeader() at Microsoft.Crm.Web.Tools.SystemCustomization.Common.ManageRulesView.Initialize() at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e) at Microsoft.Crm.Application.Controls.AppPage.OnPreRender(EventArgs e) at Microsoft.Crm.Application.Controls.PageManager.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
[HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown.] at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
[2018-10-24 09:57:24.355] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread: 23 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Info |ReqId: fa5866f1-38aa-488f-8ecb-b909d134fd7d |ActivityId: fa5866f1-38aa-488f-8ecb-b909d134fd7d | FaultHelper.ConvertToFault ilOffset = 0x0 at FaultHelper.ConvertToFault(Exception exception) ilOffset = 0x0 at ErrorInformation..ctor(Exception exception, Uri requestUrl, Boolean logError, IOrganizationContext context) ilOffset = 0x238 at MainApplication.Application_Error(Object sender, EventArgs eventArguments) ilOffset = 0xB5 at HttpApplication.RaiseOnError() ilOffset = 0x0 at HttpApplication.RecordError(Exception error) ilOffset = 0x41 at PipelineStepManager.ResumeSteps(Exception error) ilOffset = 0xEE at HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) ilOffset = 0x31 at HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) ilOffset = 0xB0 at PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x131 at PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x0 at UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) ilOffset = 0xFFFFFFFF at UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) ilOffset = 0xFFFFFFFF at PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x1E7 at PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x0
*This post is locked for comments