PopupLayout is not working after update

hi all,
popup is not working on android after last service pack.
the layout is strange and i have this error 
**System.NotSupportedException:** 'Unable to activate instance of type Syncfusion.XForms.Android.PopupLayout.PopupFooter from native handle 0x7ffc6034c4 (key_handle 0xaab93da).'

thanks

5 Replies 1 reply marked as answer

CS Chandrasekar Sampathkumar Syncfusion Team January 29, 2021 01:37 PM UTC

Hi Luca, 
Thank you for using Syncfusion products. 
We have checked the reported query “Popup is not working after 2020 Vol 4 SP release” from our end. We have checked a simple sample with latest SP release and we regret to let you know that we are not able to replicate the reported issue. 
Could you please share the following details which would be helpful for us to check on it and provide you solution at the earliest, 
  • Xamarin forms version used in your application
  • Popup control related code snippets
  • Page or View the Popup is loaded
  • Issue replicating sample (if possible)
  • Stack trace
You can also download and check the tested sample for your reference from the following link, 
Sample Link: Sample 
Regards, 
Chandrasekar Sampathkumar 



LU Luca January 30, 2021 06:12 PM UTC

are you using Xforms 5?
after same test i found that the problem is SfComboBox that i have inside a grid.
with previous version was working fine, now i must set HeightRequest to SfComboBox  in order to fix.
this just on android, on ios still working without fix.
thanks!



SS Suganya Sethuraman Syncfusion Team February 1, 2021 11:11 AM UTC

Hi Luca,

We have analyzed the reported issue in SfComboBox with Xamarin.Forms version above 5. We have tried to replicate the reported issue at our end, we are afraid that we are not able to reproduce the issue at our end. We have attached sample for your reference.

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

Since we are not aware of your exact application scenario, we were not able to reproduce this issue at our end, so can you please provide complete runnable sample. This will be helpful for us to investigate further and provide you a better solution at the earliest.

Regards,
Suganya Sethuraman.
 



GV Georgi Velikov February 2, 2021 12:18 PM UTC

Hi, I am experiencing the exact same issue

it happens a bit after popping a page with a SfPopupLayout which prompts that pop

i.e.

PopupLayout.IsOpen = false;
await Navigation.PopToRootAsync();

AndroidEnvironment.UnhandledExceptionRaiser: System.NotSupportedException: Unable to activate instance of type Syncfusion.XForms.Android.PopupLayout.PopupFooter from native handle 0xff80b23c (key_handle 0xd1bdae5). ---> System.MissingMethodException: No constructor found for Syncfusion.XForms.Android.PopupLayout.PopupFooter::.ctor(System.IntPtr, Android.Runtime.JniHandleOwnership) ---> Java.Interop.JavaLocationException: Exception of type 'Java.Interop.JavaLocationException' was thrown.


CS Chandrasekar Sampathkumar Syncfusion Team February 3, 2021 11:52 AM UTC

Hi Georgi, 
Thank you for using Syncfusion products. 
We have prepared simple sample based on your requirement. In the sample, we have navigated to the root page on PopupView Footer button is clicked. We would like to let you know that we are not able to replicate the reported issue from our side. Could you please run the attached sample and check whether the issue replicated from your side.  
We have attached the tested sample and output video for your reference, you can download the same using the following link, 
Sample Link: Sample 
We have tested the sample in Xamarin.Forms 4.5.0.617 and 5.0.0.1931, PopupLayout 18.4.0.39. If the versions differs from your package version please let us know. 
Regards, 
Chandrasekar Sampathkumar 


Marked as answer
Loader.
Up arrow icon