i’m just going through the task of regression testing some customizations for an upgrade from 10.1.6.18 to 10.2.400.5.
I am hitting the following error whenever I invoke a form based on UD21.
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: <EventSetup>b__143_0
Client Stack Trace
==================
at Ice.Lib.Framework.EpiNumericEditor.<EventSetup>b__143_0(NumericType defaultType)
at Ice.Lib.Framework.EpiNumericEditor.EventSetup()
at Ice.Lib.Framework.EpiNumericEditor.set_EpiTransaction(IEpiTransaction value)
at Ice.Lib.Framework.EpiUIUtils.BindNConfigureControls()
The form then continues to function properly.
I have tried to debug this in VS to try and catch the error, but cannot find anything.
I have also checked the data model and everything is OK.
i spent over 6 hours and then a light bulb moment. open the customization in customization maintenance and actions>customdata , look each epinumerieditor control and properties.
one of the epinumerieditor control inputmask properties was blank. set inputmask -11111111 and the error gone away.