Null Ref Error IOrderedTraversalController.UpdateTraversalOrder

4 posts, 0 answers
  1. IanV
    IanV avatar
    33 posts
    Member since:
    Dec 2008

    Posted 11 Jul Link to this post

    We are unable to reproduce this crash, but our App.Center Analytics is reporting this error from some, but not all, of our customers

    Version 2019.2.708

    Crash::

     

    System.NullReferenceException: Object reference not set to an instance of an object

     

    IOrderedTraversalController.UpdateTraversalOrder ()
    VisualElementRenderer`1[TElement].UpdateParentPageTraversalOrder ()
    VisualElementRenderer`1[TElement].OnElementPropertyChanged (System.Object sender, System.ComponentModel.PropertyChangedEventArgs e)
    (wrapper delegate-invoke) <Module>.invoke_void_object_PropertyChangedEventArgs(object,System.ComponentModel.PropertyChangedEventArgs)
    BindableObject.OnPropertyChanged (System.String propertyName)
    Element.OnPropertyChanged (System.String propertyName)
    Element.set_Parent (Xamarin.Forms.Element value)
    RadViewContainer.DetachInnerView ()
    RadViewContainer.set_View (Xamarin.Forms.View value)
    SideDrawerRenderer.RetireViewContainer (Telerik.XamarinForms.Common.Android.RadViewContainer viewContainer)
    SideDrawerRenderer.RetireMainContent ()
    SideDrawerRenderer.RetireViewContainers ()
    SideDrawerRenderer.OnElementDetached (Telerik.XamarinForms.Primitives.RadSideDrawer oldElement)
    AndroidRendererBase`2[S,T].Dispose (System.Boolean disposing)
    Object.Dispose ()
    VisualElementRenderer`1[TElement].Dispose (System.Boolean disposing)
    Platform+DefaultRenderer.Dispose (System.Boolean disposing)
    Object.Dispose ()
    VisualElementRenderer`1[TElement].Dispose (System.Boolean disposing)
    Platform+DefaultRenderer.Dispose (System.Boolean disposing)
    Object.Dispose ()
    VisualElementRenderer`1[TElement].Dispose (System.Boolean disposing)
    Platform+DefaultRenderer.Dispose (System.Boolean disposing)
    Object.Dispose ()
    VisualElementRenderer`1[TElement].Dispose (System.Boolean disposing)
    Platform+DefaultRenderer.Dispose (System.Boolean disposing)
    Object.Dispose ()
    VisualElementRenderer`1[TElement].Dispose (System.Boolean disposing)
    Platform+DefaultRenderer.Dispose (System.Boolean disposing)
    Object.Dispose ()
    VisualElementRenderer`1[TElement].Dispose (System.Boolean disposing)
    Platform+DefaultRenderer.Dispose (System.Boolean disposing)
    Object.Dispose ()
    VisualElementRenderer`1[TElement].Dispose (System.Boolean disposing)
    Platform+DefaultRenderer.Dispose (System.Boolean disposing)
    Object.Dispose ()
    VisualElementRenderer`1[TElement].Dispose (System.Boolean disposing)
    PageRenderer.Dispose (System.Boolean disposing)
    Object.Dispose ()
    FragmentContainer.OnDestroyView ()
    Fragment.n_OnDestroyView (System.IntPtr jnienv, System.IntPtr native__this)
    (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.74(intptr,intptr)

     

  2. Didi
    Admin
    Didi avatar
    243 posts

    Posted 16 Jul Link to this post

    Hi Ian,

    Thank you for the provided details.

    It seems that the fix for the issue Crash when upgrading to Xamarin.Forms 4.0 does not cover all scenarios. Could you please elaborate more when the exception observes - for example, while navigating back from page that contains the RadSideDrawer control. 
     
    We have similar crash with the RadListView control here is the link: 

    https://feedback.telerik.com/xamarin/1418464-listview-android-nullreferenceexception-is-thrown-when-navigating-back-and-using-xamarin-forms-4-0-or-higher

    I am looking forward to your reply.

    Regards,
    Didi
    Progress Telerik
    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. IanV
    IanV avatar
    33 posts
    Member since:
    Dec 2008

    Posted 16 Jul in reply to Didi Link to this post

    As we mentioned in the original post we can't reproduce it, but we just get a lot of Microsoft App Center reports of this crash from our Android users.
  4. Didi
    Admin
    Didi avatar
    243 posts

    Posted 17 Jul Link to this post

    Hello Ian,

    I have tried different scenarios to reproduce the issue but on my side the SideDrawer works as expected. 

    Next steps:

    As I could not reproduce the issue I will need more information on the exact setup you have.

    - How the SideDrawer is defined? Is it positioned inside a navigation page?
    - is there a RadListView control inside the Drawer content or main content?
    - the full stack trace of the exception.
    - the project where the issue could be reproduced. I would like to ask you to open a support ticket and attach the project there because in the forum only image attachments are allowed.

    Thank you in advance. 

    Regards,
    Didi
    Progress Telerik
    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