Two Application Errors when closing the MES Screen

Hi there,

On Thursday, two Application Error screens popped up when I closed the MES. They seemed to have resolved themselves now but I’d like to know what they were in reference to if and when they pop up in the future for myself or other users.

The first one being:
Application Error
Error Detail
=============
Object reference not set to an instance of an object

Stack Trace
============
at Epicor.Mfg.UI.FrameWork.EpiBaseForm.EpiForm_Load(Object sender, EventArgs e)

And the second is:
Application Error
Error Detail
=============
Object reference not set to an instance of an object

Stack Trace
============
at Epicor.Mfg.UI.FrameWork.EpiBaseForm.EpiForm_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Control.CreateControl(Boolean flgnoreVisible)
at System.Windows.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at Epicor.Mfg.UI.FrameWork.EpiForm.WndProc(Message& message)

Paste the code from your customization in Form_Load

I’ve had a look and I can’t seem to find the code for Form_Load. As stated, it seems to have sorted itself out now.

My guess is if you clear cache it will do it the first time it loads. Disabling personalizations can help mitigate strange stuff like that if it happens again.