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

Placing sfTabView inside scrollview causes runtime exception

I'm trying to put the SfTabView control inside ScrollView. I have tried with both i.e. adding tab item and without adding tab item and each time exception occurs as below :

Java.Lang.ClassNotFoundException
mono.android.view.View_OnScrollChangeListenerImplementor

Any explanation on this i.e. is it bug of Syncfusion or it is by design.

Regards

17 Replies

HM Hemalatha Marikumar Syncfusion Team January 3, 2020 01:19 PM UTC

Hi Krunal, 
 
Greetings from Syncfusion.  
  
We would like to let you know that we have checked the reported crash issue by preparing the sample with latest Nuget of TabView in latest Visual Studio version (16.4.2). But we were unable to reproduce the reported issue at our end. Please find the tested sample in below  
    
  
Please find the captured video while testing the above sample   
  
   
Since we are not aware of your exact application scenario, could you please share the following details to check it further and provide a possible solution at earlier.  
  
·       Modifying the above provided sample to replicate the issue  
  
·       If possible, can you please share the issue reproducing sample along with replication procedure  
  
·       Used Xamarin.Forms version and ensure whether you have installed same version for all projects in your application  
  
·       Please mention the other controls which are used along with the SfTabView control.  
   
Regards, 
Hemalatha M. 



KR Krunal January 6, 2020 10:13 AM UTC

I used the sample provided by you only and in that also I'm getting same problem. I'm also using Microsoft Visual Studio 16.4.2 and .net framework version is 4.8.03752. I'm using Syncfusion's latest nuget i.e. 17.4.0.40. Xamarin Form's version is latest 4.4.0.991265. Kindly check attached image for the exception. It looks like this issue is not related to scrollview but I see this problem whenever I use SfTabView.

Can you pls check and revert back about the issue. This issue is bit urgent so looking forward to your prompt response as I cannot move ahead with page design due to this issue.


Attachment: Image_e8b20cc4.zip


KR Krunal January 6, 2020 10:59 AM UTC

I have more information about this issue. I'm using device which has Andorid 5.0 API 21 installed. On this device, I see the exception. However, I run your project on emulator having Android Pie installed and on that I didn't see exception. Can you pls check, off the late what has been changed with SfTabView which has caused SfTabview to work on previous version of Andorid?


KR Krunal January 6, 2020 11:21 AM UTC

I can confirm that SfTabView works (with Android 5.0 API21) till version 17.3.0.34 nuget version but once I upgrade to 17.3.0.39 I start getting exception. I used the same project which you sent me to replicate problem on 17.4.0.39. I hope now the concrete information provided by me should be good enough for you to investigate the issue. 

Looking forward to your prompt resolution/update on this issue.


HM Hemalatha Marikumar Syncfusion Team January 7, 2020 02:06 PM UTC

Hi Krunal,

Thanks for your update. 
  
We have checked the reported issue “TabView inside ScrollView causes runtime exception” with (Android 5.0 API 21) and we could able to reproduce the issue. Currently we are analyzing root cause of an issue we will update the complete details on 9th January 2020. 
 
Regards, 
Hemalatha M. 



HM Hemalatha Marikumar Syncfusion Team January 9, 2020 01:39 PM UTC

Hi Krunal,

Thanks for your patience.

We have fixed the reported issue of “SfTabView inside scrollview causes runtime exception” and please find the patch for this from below location.

Assemblies:
http://syncfusion.com/Installs/support/patch/17.4.0.39/458007/F150325/SyncfusionPatch_17.4.0.39_458007_1092020070656286_F150325.zip

(OR)

Nuget:
http://syncfusion.com/Installs/support/patch/17.4.0.39/458007/F150325/SyncfusionNuget_17.4.0.39_458007_1092020070656286_F150325.zip

Assembly Version: 17.4.0.39

Guidelines to use this patch:
 
Before applying this, please clear the cache
https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache

Please do as per in below link when configured with Nuget in your application
https://www.syncfusion.com/kb/8279/how-to-apply-the-custom-assemblies-when-configured-the-project-with-syncfusion-nuget 
 
This fix will be included in our weekly Nuget release which is expected to be rolled out on 14th January 2020.

Regards,
 
Hemalatha M. 



KN King Nguyen replied to Hemalatha Marikumar January 11, 2020 10:47 AM UTC

Hi Krunal,

Thanks for your patience.

We have fixed the reported issue of “SfTabView inside scrollview causes runtime exception” and please find the patch for this from below location.

Assemblies:
http://syncfusion.com/Installs/support/patch/17.4.0.39/458007/F150325/SyncfusionPatch_17.4.0.39_458007_1092020070656286_F150325.zip

(OR)

Nuget:
http://syncfusion.com/Installs/support/patch/17.4.0.39/458007/F150325/SyncfusionNuget_17.4.0.39_458007_1092020070656286_F150325.zip

Assembly Version: 17.4.0.39

Guidelines to use this patch:
 
Before applying this, please clear the cache
https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache

Please do as per in below link when configured with Nuget in your application
https://www.syncfusion.com/kb/8279/how-to-apply-the-custom-assemblies-when-configured-the-project-with-syncfusion-nuget 
 
This fix will be included in our weekly Nuget release which is expected to be rolled out on 14th January 2020.

Regards,
 
Hemalatha M. 


I Can't Download this path. It show "You are not authorized" even i logged in.


HM Hemalatha Marikumar Syncfusion Team January 13, 2020 09:21 AM UTC

Hi Krunal, 
 
Sorry for the inconvenience caused. 
 
We would like to let you know that this fix was included in the release of Weekly Nuget which will be rolled out on tomorrow (January 14,2020). 
 
Please check with that and let us know if you have any other concern. 
 
Regards, 
Hemalatha M. 



KN King Nguyen January 14, 2020 04:52 PM UTC

I updated to v17.4.0.43 but the issue still happend.
**Java.Lang.ClassNotFoundException:** 'mono.android.view.View_OnScrollChangeListenerImplementor'
I ran on Android 5.0


KR Krunal January 15, 2020 12:40 PM UTC

I Agree with King's observation. Latest nuget version 43 is working on Andorid pie 9.0  - API 28 but facing same issue on Andorid 5.0 - API 21. Fix should be applied for older version as well, if possible.


PK Praveen Koildasan Syncfusion Team January 15, 2020 01:50 PM UTC

Hi King Nguyen,

Thanks for your update.

We have ensured the reported issue of “Java.Lang.ClassNotFoundException:mono.android.view.View_OnScrollChangedListenerImplementor” from our side and we are unable to reproduce the same from our latest version 17.4.0.43. We have also attached the sample we prepared. Please find the sample from the below link.

Sample : https://www.syncfusion.com/downloads/support/directtrac/general/ze/SfTabView2114646022.zip

Video: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Video672252305.zip

Regards,
Praveen K. 



KR Krunal January 15, 2020 01:55 PM UTC

Praveen,

Kindly note the response properly i.e. issue is reproducible only in previous version of Android i.e. I have reproduced this problem in Android 5.0.

Another problem I have noticed with latest version that if I have multiple tabs in Tabview, I'm not able to switch between tabs. This is very serious issue. Pls note that I'm able to switch between tabs in 17.3.0.34 version.

Kindly investigate and fix this issue.


PK Praveen Koildasan Syncfusion Team January 17, 2020 12:24 PM UTC

Hi King Nguyen,

Thanks for your update.

Query 1: "issue is reproducible only in previous version of Android "

We have ensured the reported issue of "Java.Lang.ClassNotFoundException:mono.android.view.View_OnScrollChangedListenerImplementor” in lower version devices and it seems working from our side. 

Query 2: "I'm not able to switch between tabs"

We have already fixed the reported issue from our side and it is also included in our latest Nuget version 17.4.0.43. We have also attached sample for the same. Please find the sample from the below link.

Sample Link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/TabViewSample-1108037170.zip

Note: Please clear the NuGet cache, before using the latest one.
https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache

Please update us if you have any other concerns on this.

Regards,
Praveen K.



KN King Nguyen January 19, 2020 03:12 PM UTC

What version of XF did you use? I use 4.4.0.991477.


HM Hemalatha Marikumar Syncfusion Team January 20, 2020 12:31 PM UTC

Hi King Nguyen, 
 
Thanks for your update. 
 
We have created a new support incident to have further follow-ups regarding this. We will assist you through incident under your Direct Trac account.     
     
Our Direct Trac support system can be accessed from the following link:     
                                   
Regards, 
Hemalatha M. 



PT phan tran le bao replied to Hemalatha Marikumar January 31, 2020 03:19 AM UTC

Hi King Nguyen, 
 
Thanks for your update. 
 
We have created a new support incident to have further follow-ups regarding this. We will assist you through incident under your Direct Trac account.     
     
Our Direct Trac support system can be accessed from the following link:     
                                   
Regards, 
Hemalatha M. 


Hi all,

So, this issue was resolve ?


HM Hemalatha Marikumar Syncfusion Team January 31, 2020 06:12 AM UTC

Hi Phan tran le bao,  
  
We are glad to announce that our Essential Studio 2019 Volume 4 Release SP 1 v 17.4.0.46 is rolled out and fix of the reported issue has been included in it.   
  
 
Please let us know if you need any further assistance. 
 
Regards, 
Hemalatha M. 
 


Loader.
Up arrow icon