Index out of range exception

8 posts, 0 answers
  1. Doug
    Doug avatar
    49 posts
    Member since:
    May 2012

    Posted 25 Sep 2013 Link to this post

    I'm getting this exception, it is kind of hard to reproduce but ill try to explain.

    I could'nt reproduce this on an emulator, so i suggesst using a phone. type in some string in the autocomplete box and delete it fast, it doesn't always crash so u may repeat this a few times.

    Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index

       at System.Text.StringBuilder.Remove(Int32 startIndex, Int32 length)
       at Telerik.Windows.Controls.AutoCompleteProvider.Delete(Int32 start, Int32 selectionLength)
       at Telerik.Windows.Controls.RadAutoCompleteBox.RefreshSuggestionOnTextDelete()
       at Telerik.Windows.Controls.RadAutoCompleteBox.OnKeyDown(KeyEventArgs e)
       at System.Windows.Controls.Control.OnKeyDown(Control ctrl, EventArgs e)
       at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)

    Best Regards Doug
  2. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 25 Sep 2013 Link to this post

    Hello Doug,

    Thanks for writing and for reporting this.

    I would like to inform you that we have addressed a very similar issue with AutoCompleteBox recently. We haven't had the chance to release an Internal Build containing the fix yet but we will be able to do this next week.

    Just to make sure the scenario is the same: do you have the FilterDelay property set to a value different than TimeSpan.Zero in your project?

    Regards,
    Deyan
    Telerik
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  3. DevCraft banner
  4. Doug
    Doug avatar
    49 posts
    Member since:
    May 2012

    Posted 25 Sep 2013 Link to this post

    Hi Deyan

    I didn't set neither of those properties, so i guess they have their default values.
    I hope we are talking about the same issue. Ill check out the internal build next week for fix.

    Regards Doug
  5. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 30 Sep 2013 Link to this post

    Hello Doug,

    Please, check out the Internal Build and let me know if the issue persists.

    Can you please tell me if the issue is reproducible in our Demos Application so that we continue investigating using the demos there?

    Regards,
    Deyan
    Telerik
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  6. Doug
    Doug avatar
    49 posts
    Member since:
    May 2012

    Posted 01 Oct 2013 Link to this post

    Hi

    I checked the internal build, and the problem still exists.

    I also tried with the examples and i could reproduce. 

    Steps to reproduce:

    1) Open Autocomplete 
    2) select web service example
    3) write in "don"
    4) don't wait for loading, delete all with delete button on keyboard (fast)
    5) write in "john"
    6) dont wait for loading, delete all with delete button keyboard (fast)
    7)Repeat steps 3-6 untill error occurs

    Unfortunately i dont know which version of example im using but i think it doesn't even matter.

    Best Regards Doug
  7. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 01 Oct 2013 Link to this post

    Hello Doug,

    Thanks for writing.

    I have been able to reproduce the issue. We will start looking into it and will try our best to provide a fix for Q3 2013 scheduled for mid October.

    I have added 1000 Telerik points to your account for bringing our attention to this.

    Regards,
    Deyan
    Telerik
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  8. Tim
    Tim avatar
    19 posts
    Member since:
    Dec 2011

    Posted 17 Jan 2014 Link to this post

    Is there an update to this? I am seeing bug reports with the exact same stack trace in version 2013.3.1016.3040

    Are there any workarounds if a fix has not been published?
  9. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 20 Jan 2014 Link to this post

    Hello Tim,

    This issue should be addressed. To make sure that this is not something else, we would like to learn some more details about the scenario. We will try to reproduce the glitch on our side and see how to fix it.



    Thanks for your time.



    Regards,

    Deyan
    Telerik
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Back to Top
DevCraft banner