Welcome to the Xamarin.Forms feedback portal. We’re happy you’re here! If you have feedback on how to improve the Xamarin.Forms, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

RootPage of Navigation Page I have and Rotator control with

EnableAutoPlay="True" EnableLooping="True"

,  I created ItemTapped event handler to open up a Modal Page then I received this exception

07-23 11:30:01.550 I/MonoDroid( 4465): Java.Lang.RuntimeException: index=2 count=1 07-23 11:30:01.550 I/MonoDroid( 4465): at Java.Interop.JniEnvironment+InstanceMethods.CallNonvirtualVoidMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) [0x00089] in :0 07-23 11:30:01.550 I/MonoDroid( 4465): at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualVoidMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x0005d] in :0 07-23 11:30:01.550 I/MonoDroid( 4465): at Android.Views.ViewGroup.AddView (Android.Views.View child, System.Int32 index) [0x00044] in <0c2e7b808ce04b468b32ed73711fe28b>:0 07-23 11:30:01.550 I/MonoDroid( 4465): at Com.Syncfusion.Rotator.SfRotator.OnIndexChanged (System.Int32 currentIndex) [0x0029b] in <6722aadc02404199bd7533ff06113e10>:0 07-23 11:30:01.550 I/MonoDroid( 4465): at Com.Syncfusion.Rotator.SfRotator.set_SelectedIndex (System.Int32 value) [0x00158] in <6722aadc02404199bd7533ff06113e10>:0 07-23 11:30:01.550 I/MonoDroid( 4465): at Com.Syncfusion.Rotator.SfRotator.Next () [0x00035] in <6722aadc02404199bd7533ff06113e10>:0 07-23 11:30:01.550 I/MonoDroid( 4465): at Com.Syncfusion.Rotator.ProTimer.Runnablerun () [0x00028] in <6722aadc02404199bd7533ff06113e10>:0 07-23 11:30:01.550 I/MonoDroid( 4465): at Java.Lang.Runnable.Run () [0x00000] in <0c2e7b808ce04b468b32ed73711fe28b>:0 07-23 11:30:01.550 I/MonoDroid( 4465): at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00009] in <0c2e7b808ce04b468b32ed73711fe28b>:0 07-23 11:30:01.550 I/MonoDroid( 4465): at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.40(intptr,intptr) 07-23 11:30:01.550 I/MonoDroid( 4465): --- End of managed Java.Lang.RuntimeException stack trace --- 07-23 11:30:01.550 I/MonoDroid( 4465): java.lang.IndexOutOfBoundsException: index=2 count=1 07-23 11:30:01.550 I/MonoDroid( 4465): at android.view.ViewGroup.addInArray(ViewGroup.java:5163) 07-23 11:30:01.550 I/MonoDroid( 4465): at android.view.ViewGroup.addViewInner(ViewGroup.java:5056) 07-23 11:30:01.550 I/MonoDroid( 4465): at android.view.ViewGroup.addView(ViewGroup.java:4865) 07-23 11:30:01.550 I/MonoDroid( 4465): at android.view.ViewGroup.addView(ViewGroup.java:4805) 07-23 11:30:01.550 I/MonoDroid( 4465): at mono.java.lang.Runnable.n_run(Native Method) 07-23 11:30:01.550 I/MonoDroid( 4465): at mono.java.lang.Runnable.run(Runnable.java:30) 07-23 11:30:01.550 I/MonoDroid( 4465): at android.os.Handler.handleCallback(Handler.java:873) 07-23 11:30:01.550 I/MonoDroid( 4465): at android.os.Handler.dispatchMessage(Handler.java:99) 07-23 11:30:01.550 I/MonoDroid( 4465): at android.os.Looper.loop(Looper.java:193) 07-23 11:30:01.550 I/MonoDroid( 4465): at android.app.ActivityThread.main(ActivityThread.java:6680) 07-23 11:30:01.550 I/MonoDroid( 4465): at java.lang.reflect.Method.invoke(Native Method) 07-23 11:30:01.550 I/MonoDroid( 4465): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) 07-23 11:30:01.550 I/MonoDroid( 4465): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)