Bug Report T295310
Visible to All Users

ArgumentOutOfRangeException fires on spellchecking some words with the fr-FR dictionary

created 9 years ago

Hi,

I am using spellcheker control with Richedit control. When i do spellcheck and press change i am getting this error, can you help me.

I am using attached Dictionaryy.

at DevExpress.XtraSpellChecker.SpellCheckerBase.GetSuggestions(String word)
   at DevExpress.XtraSpellChecker.Rules.NotInDictionaryWordError.get_Suggestions()
   at DevExpress.XtraSpellChecker.Forms.SpellingOutlookStyleFormHelper.OnNewNotInDictionaryWordError(SpellCheckErrorBase error)
   at DevExpress.XtraSpellChecker.Forms.SpellingOutlookStyleFormHelper.OnNewErrorFound(SpellCheckErrorBase error)
   at DevExpress.XtraSpellChecker.FoundErrorStateHandler.OnClientHandlingError(SpellCheckErrorBase error)
   at DevExpress.XtraSpellChecker.FoundErrorStateHandler.HandleState()
   at DevExpress.XtraSpellChecker.SpellCheckClientRouterBase.HandleStateVisually(StrategyState state)
   at DevExpress.XtraSpellChecker.SpellCheckClientRouterBase.OnStrategyStateChanging(StrategyStateChangedEventArgs e)
   at DevExpress.XtraSpellChecker.SpellCheckClientRouterBase.OnStrategyStateChanging(Object sender, StrategyStateChangedEventArgs e)
   at DevExpress.XtraSpellChecker.Strategies.SearchStrategy.RaiseStrategyStateChanged()
   at DevExpress.XtraSpellChecker.Strategies.SearchStrategy.OnStrategyStateChanged()
   at DevExpress.XtraSpellChecker.Strategies.SearchStrategy.SetStateCore(StrategyState newState)
   at DevExpress.XtraSpellChecker.Strategies.SearchStrategy.ProcessState(StrategyState startState)
   at DevExpress.XtraSpellChecker.FoundErrorStateHandler.OnSpellCheckFormResultChanged(SpellingFormResultChangedEventArgs e)
   at DevExpress.XtraSpellChecker.FoundErrorStateHandler.SpellCheckForm_SpellCheckFormResultChanged(Object sender, SpellingFormResultChangedEventArgs e)
   at DevExpress.XtraSpellChecker.Forms.SpellingFormBase.RaiseSpellCheckFormResultChanged(SpellingFormResultChangedEventArgs e)
   at DevExpress.XtraSpellChecker.Forms.SpellingFormBase.set_SpellingFormResult(SpellCheckOperation value)
   at DevExpress.XtraSpellChecker.Forms.SpellingOutlookStyleForm.DoChange()
   at DevExpress.XtraSpellChecker.Forms.SpellingOutlookStyleForm.btnChange_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at DevExpress.XtraEditors.BaseButton.OnClick(EventArgs e)
   at DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
   at DevExpress.XtraEditors.BaseControl.WndProc(Message& msg)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.RunDialog(Form form)
   at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
   at DevExpress.XtraSpellChecker.Forms.SpellingFormsManager.ShowSpellCheckFormCore()
   at DevExpress.XtraSpellChecker.FoundErrorStateHandler.OnClientHandlingError(SpellCheckErrorBase error)
   at DevExpress.XtraSpellChecker.FoundErrorStateHandler.HandleState()
   at DevExpress.XtraSpellChecker.SpellCheckClientRouterBase.HandleStateVisually(StrategyState state)
   at DevExpress.XtraSpellChecker.SpellCheckClientRouterBase.OnStrategyStateChanging(StrategyStateChangedEventArgs e)
   at DevExpress.XtraSpellChecker.SpellCheckClientRouterBase.OnStrategyStateChanging(Object sender, StrategyStateChangedEventArgs e)
   at DevExpress.XtraSpellChecker.Strategies.SearchStrategy.RaiseStrategyStateChanged()
   at DevExpress.XtraSpellChecker.Strategies.SearchStrategy.OnStrategyStateChanged()
   at DevExpress.XtraSpellChecker.Strategies.SearchStrategy.SetStateCore(StrategyState newState)
   at DevExpress.XtraSpellChecker.Strategies.SearchStrategy.ProcessState(StrategyState startState)
   at DevExpress.XtraSpellChecker.Strategies.SearchStrategy.Check()
   at DevExpress.XtraSpellChecker.SpellChecker.Check(Control editControl)
   at DevExpress.XtraSpellChecker.SpellChecker.DevExpress.XtraSpellChecker.ISpellChecker.Check(Object obj)
   at DevExpress.XtraRichEdit.Commands.CheckSpellingCommand.ExecuteCore(ISpellChecker spellChecker)
   at DevExpress.XtraRichEdit.Commands.SpellCheckerCommandBase.ExecuteCore()
   at DevExpress.XtraRichEdit.Commands.RichEditMenuItemSimpleCommand.ForceExecute(ICommandUIState state)
   at DevExpress.Utils.Commands.Command.Execute()
   at DevExpress.XtraBars.Commands.ControlCommandBarButtonItem`2.InvokeCommand()
   at DevExpress.XtraBars.Commands.CommandBasedBarButtonItem.DevExpress.XtraBars.Commands.ICommandBarItem.InvokeCommand()
   at DevExpress.XtraBars.Commands.CommandBarController.InvokeItemCommand(ICommandBarItem item)
   at DevExpress.XtraBars.Commands.CommandBarController.HandleButtonBarItemClick(Object sender, ItemClickEventArgs e)
   at DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)
   at DevExpress.XtraBars.BarBaseButtonItem.OnClick(BarItemLink link)
   at DevExpress.XtraBars.BarButtonItem.OnClick(BarItemLink link)
   at DevExpress.XtraBars.BarItemLink.OnLinkClick()
   at DevExpress.XtraBars.BarButtonItemLink.OnLinkClick()
   at DevExpress.XtraBars.BarItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
   at DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
   at DevExpress.XtraBars.BarItemLink.OnLinkActionCore(BarLinkAction action, Object actionArgs)
   at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.ClickLink(BarItemLink link)
   at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(BarItemLink link)
   at DevExpress.XtraBars.Controls.CustomLinksControl.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at DevExpress.XtraBars.Controls.DockedBarControl.WndProc(Message& msg)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run()

Thanks in advance

Comments (1)
DevExpress Support Team 9 years ago

    Hello,
    I have reproduced the behavior and passed this ticket to our developers for further research. Please bear with us.
    We will notify you as soon as we make any progress.

    Answers approved by DevExpress Support

    created 9 years ago

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      Show previous comments (3)
      DevExpress Support Team 9 years ago

        Hello,
        The hotfix will be ready for downloading in a few days. The 'Hotfix requested' line will be changed to 'Download hotfix'.
        Download the file and start the installation.

          Hello,
          I downloaded the hotfix v2014 vol 2.11 (DevExpressComponents-14.2.10.15281) but i am getting "Internal error - Installation corrupted". I downloaded it twice. Can you please help?
          Is there any compatibility issue i am installing it on Windows 7  64bit PC.

          DevExpress Support Team 9 years ago

            Hello,
            There was some technical issue on publishing the hotfix, but we have already resolved it.
            Please download the hotfix again and let me know if the issue persists.

            Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

            Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.