We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

how to handle java.null pointer exception in XF using SfRotator

Thread ID:





124188 May 24,2016 06:10 AM UTC May 25,2016 07:16 AM UTC Xamarin.Forms 1
Tags: SfRotator
uday kumar
Asked On May 24, 2016 06:10 AM UTC


i have binded images to the Sf rotator . its working fine. 
here is my code in C#:

  for (int i = 1; i < 6; i++)
                SfRotatorItem sliderItem = new SfRotatorItem();
                sliderItem.Image = "Movie" + i + ".jpg";

my code in Xaml:

 <rotator:SfRotator  SelectedIndex="0" EnableAutoPlay="False"  EnableLooping="False" HeightRequest="200" x:Name="rotator" NavigationStripMode="Dots"  NavigationStripPosition="Top" NavigationDirection="Horizontal" NavigationDelay="1000" >

everything is fine but when i tried to scroll on the last image horizontally... i am getting this "Unhandled Exception Java.Lang.NullPointerException: "  error ..

Can anyone suggest how to overcome this??

Hemalatha Marikumar [Syncfusion]
Replied On May 25, 2016 07:16 AM UTC

Hi Uday kumar,

We could see that you have raised the same query in forum 124084 and an incident has been created under your account. Please follow up that incident for further updates.

Support website: https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents/

Hemalatha M.R


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon