Completed
Last Updated: 24 Jun 2020 12:00 by ADMIN
Release R2 2020 SP
Nadya
Created on: 15 May 2020 05:02
Category: UI for Xamarin
Type: Bug Report
0
Telerik UI for Xamarin App crash on Android with R2 2020

Hi,

I was checking your updates on my mobile and the app crashed.

Steps:

1. Go to Calendar & Scheduling

2. Agenda View Configuration

3. Scroll to 2022 for example

4. Press Today button - app crashes

It is easily reproducuble.

Here is the log from logcat:

05-15 07:52:09.267  5756  5756 E AndroidRuntime: FATAL EXCEPTION: main
05-15 07:52:09.267  5756  5756 E AndroidRuntime: Process: com.telerik.xamarin, PID: 5756
05-15 07:52:09.267  5756  5756 E AndroidRuntime: java.lang.ArrayIndexOutOfBoundsException: length=109; index=-1
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at java.util.ArrayList.get(ArrayList.java:439)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at com.telerik.widget.calendar.agendaview.CalendarAgendaView$1.onScrolled(CalendarAgendaView.java:78)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.support.v7.widget.RecyclerView.dispatchOnScrolled(RecyclerView.java:4961)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.support.v7.widget.RecyclerView.dispatchLayoutStep3(RecyclerView.java:4021)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3652)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:4194)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.View.layout(View.java:22419)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6584)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.View.layout(View.java:22419)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6584)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at com.telerik.widget.calendar.agendaview.CalendarAgendaLayout.arrange(CalendarAgendaLayout.java:102)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at com.telerik.widget.calendar.RadCalendarView.onLayout(RadCalendarView.java:1132)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.View.layout(View.java:22419)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6584)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at md51558244f76c53b6aeda52c8a337f2c37.ViewRenderer_2.n_onLayout(Native Method)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at md51558244f76c53b6aeda52c8a337f2c37.ViewRenderer_2.onLayout(ViewRenderer_2.java:47)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.View.layout(View.java:22419)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6584)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at com.xamarin.forms.platform.android.FormsViewGroup.measureAndLayout(FormsViewGroup.java:37)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at md51558244f76c53b6aeda52c8a337f2c37.VisualElementRenderer_1.n_onLayout(Native Method)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at md51558244f76c53b6aeda52c8a337f2c37.VisualElementRenderer_1.onLayout(VisualElementRenderer_1.java:81)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.View.layout(View.java:22419)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6584)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at com.xamarin.forms.platform.android.FormsViewGroup.measureAndLayout(FormsViewGroup.java:37)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at md51558244f76c53b6aeda52c8a337f2c37.VisualElementRenderer_1.n_onLayout(Native Method)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at md51558244f76c53b6aeda52c8a337f2c37.VisualElementRenderer_1.onLayout(VisualElementRenderer_1.java:81)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.View.layout(View.java:22419)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6584)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at com.xamarin.forms.platform.android.FormsViewGroup.measureAndLayout(FormsViewGroup.java:37)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at md51558244f76c53b6aeda52c8a337f2c37.VisualElementRenderer_1.n_onLayout(Native Method)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at md51558244f76c53b6aeda52c8a337f2c37.VisualElementRenderer_1.onLayout(VisualElementRenderer_1.java:81)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.View.layout(View.java:22419)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6584)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at com.xamarin.forms.platform.android.FormsViewGroup.measureAndLayout(FormsViewGroup.java:37)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at md51558244f76c53b6aeda52c8a337f2c37.VisualElementRenderer_1.n_onLayout(Native Method)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at md51558244f76c53b6aeda52c8a337f2c37.VisualElementRenderer_1.onLayout(VisualElementRenderer_1.java:81)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.View.layout(View.java:22419)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6584)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at com.xamarin.forms.platform.android.FormsViewGroup.measureAndLayout(FormsViewGroup.java:37)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at md51558244f76c53b6aeda52c8a337f2c37.VisualElementRenderer_1.n_onLayout(Native Method)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at md51558244f76c53b6aeda52c8a337f2c37.VisualElementRenderer_1.onLayout(VisualElementRenderer_1.java:81)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.View.layout(View.java:22419)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6584)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at com.xamarin.forms.platform.android.FormsViewGroup.measureAndLayout(FormsViewGroup.java:37)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at md59ee76e6e58d2e8d37e01f503ba67c2ac.RadViewContainerBase.n_onLayout(Native Method)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at md59ee76e6e58d2e8d37e01f503ba67c2ac.RadViewContainerBase.onLayout(RadViewContainerBase.java:46)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.View.layout(View.java:22419)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6584)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.View.layout(View.java:22419)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6584)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.View.layout(View.java:22419)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6584)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at md51558244f76c53b6aeda52c8a337f2c37.ViewRenderer_2.n_onLayout(Native Method)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at md51558244f76c53b6aeda52c8a337f2c37.ViewRenderer_2.onLayout(ViewRenderer_2.java:47)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.View.layout(View.java:22419)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6584)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at com.xamarin.forms.platform.android.FormsViewGroup.measureAndLayout(FormsViewGroup.java:37)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at md51558244f76c53b6aeda52c8a337f2c37.PageRenderer.n_onLayout(Native Method)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at md51558244f76c53b6aeda52c8a337f2c37.PageRenderer.onLayout(PageRenderer.java:72)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.View.layout(View.java:22419)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6584)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at com.xamarin.forms.platform.android.FormsViewGroup.measureAndLayout(FormsViewGroup.java:37)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at md58432a647068b097f9637064b8985a5e0.NavigationPageRenderer.n_onLayout(Native Method)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at md58432a647068b097f9637064b8985a5e0.NavigationPageRenderer.onLayout(NavigationPageRenderer.java:65)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.View.layout(View.java:22419)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6584)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at com.xamarin.forms.platform.android.FormsViewGroup.measureAndLayout(FormsViewGroup.java:37)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at md51558244f76c53b6aeda52c8a337f2c37.PlatformRenderer.n_onLayout(Native Method)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at md51558244f76c53b6aeda52c8a337f2c37.PlatformRenderer.onLayout(PlatformRenderer.java:55)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.View.layout(View.java:22419)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6584)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1083)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.View.layout(View.java:22419)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6584)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.View.layout(View.java:22419)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6584)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.View.layout(View.java:22419)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6584)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.View.layout(View.java:22419)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6584)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.View.layout(View.java:22419)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6584)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at com.android.internal.policy.DecorView.onLayout(DecorView.java:1041)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.View.layout(View.java:22419)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6584)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:3378)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2842)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1888)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8511)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.Choreographer$CallbackRecord.run(Choreographer.java:949)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.Choreographer.doCallbacks(Choreographer.java:761)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.Choreographer.doFrame(Choreographer.java:696)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:935)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:873)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:99)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:214)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:7050)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
05-15 07:52:09.267  5756  5756 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)

1 comment
ADMIN
Didi
Posted on: 15 May 2020 05:58

Hello Nadya,

Thank you for the provided details.

We have reproduced the issue on our side. I have changed the feedback item status to "Unplaned". Please follow it in order to receive an email notification when its status changes. 

I can assure you that this issue is escalated to the development team and they will research it further. 

I have updated your Telerik points as a small sign of gratitude for bringing this ti our attention. 

Regards,
Didi
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.