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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

NullReferenceException: PDF Viewer on Horizontal Scroll

Thread ID:





141109 Nov 24,2018 03:24 AM UTC Nov 26,2018 12:01 PM UTC Xamarin.Android 1
Tags: PdfViewer
Rohan Bomle
Asked On November 24, 2018 03:24 AM UTC


I am getting this exception in Android (Samsung-A600G - OS 8.0). Is anyone facing the same issue ?

Fatal Exception: md50a04f2d274d292b5eb20e3c98dadc0c6.MonoExceptionHelper: (NullReferenceException) Object reference not set to an instance of an object
       at Syncfusion.SfPdfViewer.Android.ScrollViewEx.AddContextMenu()[0x000da](ScrollViewEx0x000da.cs:1)
       at Syncfusion.SfPdfViewer.Android.HorizontalScrollViewEx.OnTouchEvent(Android.Views.MotionEvent e)[0x00122](HorizontalScrollViewEx0x00122.cs:1)
       at Android.Views.View.n_OnTouchEvent_Landroid_view_MotionEvent_(System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_e)[0x0000f](View0x0000f.cs:1)
       at   at (wrapper dynamic-method) System.Object:04397515-8466-4497-b5b7-9fc726b86ada (intptr,intptr,intptr).(unknown.cs:1)

Karthik Krishnaraj [Syncfusion]
Replied On November 26, 2018 12:01 PM UTC

Hi Rohan, 
Greeting from Syncfusion, 
We were unable to reproduce the issue with “Null reference exception occurs while performing touch interactions on scrolling horizontally”. I have attached a simple sample which we tried in our side. Can you please modify the sample to replicate the issue? It will be helpful for us to analyze further and provide better solution. 
Sample Link: 


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon