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)?

2 posts, 0 answers
  1. Burepalli V S Rao
    Burepalli V S Rao avatar
    23 posts
    Member since:
    Oct 2009

    Posted 28 Aug 2010 Link to this post

     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.


  2. Lini
    Lini avatar
    2146 posts

    Posted 30 Aug 2010 Link to this post

    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,
    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
Back to Top