Exception on RadListBox

0 Answers 132 Views
ListBox
Aman
Top achievements
Rank 1
Aman asked on 10 Nov 2022, 08:48 PM

We are using Telerik.Web.UI (version - 2012.2.607.40) in Asp.net application (.Net framework 4.6).

The application sometimes throws an exception and upon an investigation of IIS logs, we find that it is related to some Telerik issue.

please see attached log for details.

---------------------------------------

Exception 
   147.1999969482422 is not a valid value for Int32. at System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) at System.Web.Script.Serialization.ObjectConverter.ConvertObjectToTypeInternal(Object o, Type type, JavaScriptSerializer serializer, Boolean throwOnError, Object& convertedObject) at System.Web.Script.Serialization.ObjectConverter.AssignToPropertyOrField(Object propertyValue, Object o, String memberName, JavaScriptSerializer serializer, Boolean throwOnError) at System.Web.Script.Serialization.ObjectConverter.ConvertDictionaryToObject(IDictionary`2 dictionary, Type type, JavaScriptSerializer serializer, Boolean throwOnError, Object& convertedObject) at System.Web.Script.Serialization.ObjectConverter.ConvertObjectToTypeInternal(Object o, Type type, JavaScriptSerializer serializer, Boolean throwOnError, Object& convertedObject) at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit) at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize[T](String input) at Telerik.Web.UI.RadListBox.LoadPostData(String postDataKey, NameValueCollection postCollection) at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at System.ComponentModel.Int32Converter.FromString(String value, NumberFormatInfo formatInfo) at System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)  
   https://canon.mcf.gov.bc.ca:443/Adoptandfoster/ManageFamilyRegistrationsTab.aspx?Action=ManageFamilyRegistration&CaseID=73906 
   /Adoptandfoster/ManageFamilyRegistrationsTab.aspx 
Rumen
Telerik team
commented on 15 Nov 2022, 10:04 AM

Can you please try to reproduce the reported problem with the latest version of RadListBox?

Please also note that version 2012.2.607.40 is vulnerable to the .NET JavaScriptSerializer Deserialization (CVE-2019-18935) and some other critical issues. That is why we strongly recommend upgrading to the latest one 2022.3.1109, which is free from known vulnerabilities and provides support for the latest browsers, WCAG 2.1 AAA accessibility, stability, and many new UI controls like the PdfViewer and useful features.

No answers yet. Maybe you can help?

Tags
ListBox
Asked by
Aman
Top achievements
Rank 1
Share this question
or