This is a migrated thread and some comments may be shown as answers.

I am getting the following error when i spell checking with RadSpell with large word (you enter more data without any spaces then only you can reproduce that error)?

1 Answer 52 Views
Spell
This is a migrated thread and some comments may be shown as answers.
Burepalli V S Rao
Top achievements
Rank 1
Burepalli V S Rao asked on 28 Aug 2010, 01:49 PM
Hi,
 i am using Rad Spell in my application. when i spell checking with the Rad spell i am getting the following error as:
'Sys.ArgumentException: Cannot deserialize. The data does not correspond to valid JSON.'

but in the exception it was written as 
 Exception of type 'System.OutOfMemoryException' was thrown.

steps to reproduce:
1) take one textarea enter a data without any spaces i.e., i had given a word which contain around 50000 char`s(without having any spaces)  then click on spelling then you will get the above error message(if you don`t get the error then increase the no.of characters in the given word, you repeat this process until you get this error message), screen shot also i am attaching please look into it. how can i fix this issue. but that much big word won`t exist i agree.but issue is logged on it. so, i have to fix it. moreover you should not throw that kind of error messages to the end user.
so, how can we fix the above issue.

thanks,
BVSRao.

1 Answer, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 30 Aug 2010, 04:09 PM
Hi BVSRao,

The current spellchecking algorithm allows for words with length up to about 19000. I will ask the respective developer to change the behavior so misspelled words over that limit will not cause this problem.

Kind regards,
Lini
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Spell
Asked by
Burepalli V S Rao
Top achievements
Rank 1
Answers by
Lini
Telerik team
Share this question
or