Easy Crash to cause using scrollToIndex

4 posts, 0 answers
  1. NathanaelA
    NathanaelA avatar
    4 posts
    Member since:
    Apr 2015

    Posted 09 Nov Link to this post

    I see this crash frequently (started wrapping it in a try/catch); but if you do RLV.scrollToIndex(x) it can frequently crash when the component is still being internally setup.  (From my point of view and NS's point of view the ._android exists; but apparently internally you aren't fully configured and this should get fixed so that it doesn't crash...

     

    W/System.err( 7454): Error: java.lang.Exception: Failed resolving method scrollToPosition on class com.telerik.widget.list.RadListView
    W/System.err( 7454):     com.tns.Runtime.resolveMethodOverload(Runtime.java:983)
    W/System.err( 7454):     com.tns.Runtime.callJSMethodNative(Native Method)
    W/System.err( 7454):     com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1022)
    W/System.err( 7454):     com.tns.Runtime.callJSMethodImpl(Runtime.java:907)
    W/System.err( 7454):     com.tns.Runtime.callJSMethod(Runtime.java:895)
    W/System.err( 7454):     com.tns.Runtime.callJSMethod(Runtime.java:879)
    W/System.err( 7454):     com.tns.Runtime.callJSMethod(Runtime.java:871)

     

  2. Nikolay Iliev
    Admin
    Nikolay Iliev avatar
    95 posts

    Posted 10 Nov Link to this post

    Hi Nathanael,

    Thank you for your reports regarding RadListView - we will investigate the described behavior.
    Meanwhile, can you provide us with a real life example which can reproduce this case?

    Regards,
    Nikolay Iliev
    Telerik by Progress
    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 Feedback Portal and vote to affect the priority of the items
  3. NathanaelA
    NathanaelA avatar
    4 posts
    Member since:
    Apr 2015

    Posted 10 Nov in reply to Nikolay Iliev Link to this post

    I have two places that I can normally see it; it seems to be _timing_ related.   Because it doesn't always crash.

    1. On orientation change, was the report from yesterday -- I used my last saved location and attempted to reset it back.

    2. On NavigatedTo event, shortly after doing a listview.refresh (I believe the refresh is the cause).    

  4. Nikolay Iliev
    Admin
    Nikolay Iliev avatar
    95 posts

    Posted 11 Nov Link to this post

    Hi Nathanael,

    Once again thank you for your report and information - I have logged this issue here where you can track it and discuss it with the developer team. Meanwhile, I will update you on any new information regarding this behavior.

    Regards,
    Nikolay Iliev
    Telerik by Progress
    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 Feedback Portal and vote to affect the priority of the items
Back to Top