Rank: Advanced Member Groups: Member
Joined: 2/27/2010 Posts: 69
|
I'm getting an 'Index out of bounds' error using the spell checker. This does not happen all the time, but I am getting it consistently in one case, and have had it occur before so it appears to depend on the copy getting checked. But I wouldn't think the spellchecker should error out based on the text block.
Using the English dictionary. Please advise how to handle this....
Index was outside the bounds of the array.
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
IndexOutOfRangeException: Index was outside the bounds of the array.] EO.Web.Internal.i9.a(String A_0, String A_1) +685 EO.Web.Internal.i9..ctor(String A_0, Hashtable A_1) +532 EO.Web.Internal.d2.a(String A_0, Boolean A_1, StringCollection A_2) +1803 EO.Web.Internal.d2.c(String A_0, Boolean A_1) +82 EO.Web.Internal.h9.a() +429 EO.Web.Internal.hp.a(String A_0, Int32[] A_1, d2 A_2, Boolean A_3, Boolean A_4, Boolean A_5, Boolean A_6, Int32 A_7) +630 EO.Web.Internal.hp.a(dz A_0, String A_1) +1617 EO.Web.Internal.b6.a(Object A_0, CallbackEventArgs A_1) +82 EO.Web.Callback.a(CallbackEventArgs A_0) +63 EO.Web.Internal.mg.a() +637 EO.Web.Internal.ca.a(EventHandler A_0, Boolean A_1) +66 EO.Web.Control.OnPreRender(EventArgs e) +129 System.Web.UI.Control.PreRenderRecursiveInternal() +80 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We would not know how unless we can reproduce it and debug into it. Anyway you can isolate it into a test project and reproduce it consistently?
Thanks!
|
Rank: Advanced Member Groups: Member
Joined: 2/27/2010 Posts: 69
|
Well, this is making me crazy. I've isolated it to this: Tx
Yep, every time. Nothing else has done it. Texas... ... just Tx Not TX or Ga, or Ok, or Fl... Just Tx. When I plug this into your demo, it sees it as a misspelling., but causes an exception on mine.
Now, you explain that... please?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
That is strange. We do not exactly why, we can only think of a number of possiblities:
1. You may have an older version than what our demo page has;
2. The SpellChecker allows user to define custom words. You may have some user defined custom words (which we do not have) thus causing a different outcome than our demo site;
3. You may have some other controls in the page that interfere with our SpellChecker control;
I would recommend you to try to update to the current version and see if that resolves the problem first. If that does not solve the problem, check the custom words and try the same code in an blank project on an empty page. That may produce a test project that can demonstrate the problem. As soon as you have that, you can send it to us and we will look into to see what we can find.
Thanks!
|
Rank: Advanced Member Groups: Member
Joined: 2/27/2010 Posts: 69
|
I downloaded the dictionary again and that fixed it. I should have tired that first, but thanks for your time and ideas.
|