Group: Forum Members
Last Active: 10 Years Ago
Posts: 1,
Visits: 6
|
Hi there , We captured a bug report from one of our customers using a Windows 10 PC recently . The trapped exception an associated stack trace was : EXCEPTION DATA - ASSOCIATED GENERAL EXCEPTION : The type initializer for & amp ;# 39 ; Nevron . UI . WinForm . Controls . NFontHelper & amp ;# 39 ; threw an exception . & nbsp ; at Nevron . UI . WinForm . Controls . NFontHelper . PopulateList ( NListBoxItemCollection collection , FontDisplayStyle style , Font font , Int32 itemHeight , Int32 & amp ; amp ; maxHeight , Int32 & amp ; amp ; prefferedWidth ) & nbsp ; at Nevron . UI . WinForm . Controls . NFontComboBox . Initialize () & nbsp ; at Ciiva . Client . PresentationLayer . CiivaNFontComboBox . Initialize () EXCEPTION DATA - ASSOCIATED INNER EXCEPTION : Item has already been added . Key in dictionary : & amp ;# 39 ; CasablancaAntique & amp ;# 39 ; Key being added : & amp ;# 39 ; CasablancaAntique & amp ;# 39 ; & nbsp ; at System . Collections . Hashtable . Insert ( Object key , Object nvalue , Boolean add ) & nbsp ; at Nevron . UI . WinForm . Controls . NFontHelper . l1lIlIl111 () & nbsp ; at Nevron . UI . WinForm . Controls . NFontHelper .. cctor () So , it looks like this particular user has a font called " CasablancaAntique " installed on their PC , perhaps appearing in the list of installed fonts twice , which is causing the control to throw an exception when adding it for the second time . Just thought we would make you aware in case any other users report this problem . We had never seen it before this event occurred .
|