UI error while in customization mode

I’ve run into something I’ve never seen before. While trying to add a control to a customized version of the Customer Display form, I get the following error

Application Error

Exception caught in: Ice.Lib.EpiClientLib

Error Detail 
============
Message: Unable to create an instance of the target.
Program: Ice.Lib.EpiClientLib.dll
Method: CreateInstance

After clicking OK the warning goes away. But the instant my mouse goes over the form, I get an new error. Watch the GIF below, and the instant the mouse “leaves” the Customization Tools Dialog, and is over the form, the error pops up.

The details of the new error are:

Application Error

Exception caught in: Ice.Lib.EpiClientLib

Error Detail 
============
Message: Object reference not set to an instance of an object.
Program: Ice.Lib.EpiClientLib.dll
Method: ControlCreateMouseMoveHandler

Client Stack Trace 
==================
   at Ice.Lib.Customization.ControlEditManager.ControlCreateMouseMoveHandler(Object sender, MouseEventArgs e)
   at System.Windows.Forms.MouseEventHandler.Invoke(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
   at Infragistics.Win.UltraControlBase.OnMouseMove(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseMove(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Do you have the tracing screen open by chance?
Also does this happen on a new (base) customization?

Tracing is not turned on, and it does happen when trying to make a new customization of the base.

1 Like

only on this form or on all forms?
Have you tried clearing your cache (completely IE delete the folder)?

Correction… The problem does not appear on the base. ( I was selecting the base node, instead of the “Base Only” checkbox… :man_facepalming: )

Looks like I’m going to have to rebuild it from scratch.

1 Like

Try exporting / re-importing. see if that makes a difference

1 Like

Seems to be working now - after a HARD cache clearing (deleting folders, instead of relying on the “Clear Client Cache” from the client program.

1 Like

I’m pretty sure all that does is reset your hotkey :wink: (this is a sarcastic comment for those of you not so well versed in snark)