What Would Cause an Uh-Oh Error When Accessing the Inbox?
Who is this article for?
All Ideagen Quality Management Users with workflow instances in Inboxes.Ideagen Quality Management site accessis needed.
To make answering this question easier, this article is split into three sections so that you can either walk through the steps in sequence or you can jump to the section relevant to what you are looking for:
1. Question
What could cause on unexpected (uh-oh) error when trying to access the Inbox?
2. Answer
The most common cause for the uh-oh error is if the user recently edited a workflow instance and manually entered a date in the date field for the instance. It's also possible a "bad" date was accidentally entered like 01/01/0022. There will be an entry in the Ideagen Quality Management error logs similar to the following:
3/21/2022 9:57:59 AM Exception type: System.Exception Exception message: An unhandled exception occurred! Exception type: System.Web.HttpUnhandledException Exception message: Exception of type 'System.Web.HttpUnhandledException' was thrown. Exception stack trace: 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.<>c__DisplayClass285_0.<ExecuteStepImpl>b__0() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) Exception type: System.ArgumentOutOfRangeException Exception message: The added or subtracted value results in an un-representable DateTime. Parameter name: value Exception stack trace: at System.DateTime.AddTicks(Int64 value) at Ideagen Quality Management.InboxItems.Interfaces.DueDate.Calculate(DateTime baseDate, Int32 offset, String offsetUnits) at Ideagen Quality Management.InboxItems.Domain.InboxItemStatusFactory.Create(DateTime dateAdded, Int32 objectId, IEmailReminder emailReminder) at Ideagen Quality Management.Web.Inbox.InboxItemStatus.GetStatusIconValue(IEnumerable`1 emailReminders, Int32 objectId, DateTime dateAdded, String lateDeterminedBy) at Ideagen Quality Management.Web.Inbox.InboxItemStatus.GetStatusIcon(IEnumerable`1 emailReminders, Int32 objectId, DateTime dateAdded) at Ideagen Quality Management.Web.Controls.Inbox.WorkflowInbox.CreateInboxItemNode(WorkflowInboxItem inboxItem) at Ideagen Quality Management.Web.Controls.Inbox.WorkflowInbox.CreateInboxItemsNodes(TreeViewNode parentNode, IEnumerable`1 inboxItems, String nodeIdPostfix) at Ideagen Quality Management.Web.Controls.Inbox.WorkflowInbox.GetInboxItems() at Ideagen Quality Management.Web.Controls.Inbox.WorkflowInbox.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
The customer will usually be aware of what potential date field was edited if they were just working in the Ideagen Quality Management site. If they are not certain we can use the Inbox Report Common Script to see what workflow instances are in the Inbox for them. If necessary, we can get a database backup to try and determine the instance where the date was manually entered.
3. Further Reading
This section will provide important links to further troubleshooting and resources.
- Aha! Defect - 2598, related to the issue.