Null exception on loaded

I have a page with chart and rotator. Chart can be enlarged so I need to hide rotator. 
I do this by controlling height of rows, setting chart row to Auto and rotator to 0. This works if both are shown on start, and switching views work fine. 
If start page has no rotator, row height is 0, I get 

System.NullReferenceException: Object reference not set to an instance of an object.
   at Syncfusion.UI.Xaml.Rotator.SfRotator.SfRotator_Loaded(Object sender, RoutedEventArgs e)

Any way around this?

8 Replies 1 reply marked as answer

SS Suganya Sethuraman Syncfusion Team June 9, 2021 07:35 AM UTC

Hi Milos,

Greetings from Syncfusion.

We have analyzed the reported issue. 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. But we have fixed the issue based on the stack trace provided. We suspect the issue has been fixed. Please find the assembly for this below.

Assembly Version: 19.1.0.67

Assembly:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/Rotator_Assembly-553706754

Note: Please refer the below link to apply the custom assembly

https://www.syncfusion.com/kb/8279/how-to-apply-the-custom-assemblies-when-configured-the-project-with-syncfusion-nuget

Could you please check this fix with your application and let us know, whether the issue is resolved or not.

Regards,
Suganya Sethuraman.
 



MK Milos Kajtez June 9, 2021 09:49 AM UTC

Hello,
Still getting exception this time on showing page with rotator. Same error.
Not sure if it helps but this rotator is shown inside a rotator item. Error happen when inside rotator item I load a view that has a rotator inside


SS Suganya Sethuraman Syncfusion Team June 10, 2021 08:49 AM UTC

Hi Milos,

Greetings from Syncfusion.

We have analyzed your query and checked the reported issue based on your provided information, but we were unable to reproduce the same. Sample we tried that can be download from below.

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/BusyDispose-1442276460

Since we are not aware of your exact application scenario, so we request you to check the issue with the attached sample and let us know whether it is reproduced or not? If the issue was not reproduced in this sample, please revert us by modifying the sample based on your application along with replication procedure or provide the sample. It will help us to provide better solution at the earliest.

Regards,
Suganya Sethuraman.
 



MK Milos Kajtez June 11, 2021 05:52 AM UTC

Hello,
Here is modified sample. Crash happen on UWP.

Attachment: BusyDisposeuwp_rotator_8b7c42cc.zip


SS Suganya Sethuraman Syncfusion Team June 14, 2021 10:49 AM UTC

Hi Milos,

We have analyzed the reported issue. We could be able to reproduce the issue. We have fixed the reported issue. Please find the assembly for this below.

Assembly Version: 19.1.0.67

Assembly:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/RotatorAssembly1814373849

Please have a sample with custom assembly

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/RotatorBusy-1994564681

We can generate patch only for Main release and SP1 release versions, so we have provided the custom assemblies in 19.1.0.67.

Disclaimer:
Please note that we have created this for version 19.1.0.67 specifically to resolve the issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received.

Note: Please refer the below link to apply the custom assembly


https://www.syncfusion.com/kb/8279/how-to-apply-the-custom-assemblies-when-configured-the-project-with-syncfusion-nuget

This fix will be include in our weekly NuGet release which will be available on June 22, 2021. We appreciate your patience until then.

Regards,
Suganya Sethuraman.
 



SS Suganya Sethuraman Syncfusion Team June 22, 2021 07:17 AM UTC

Hi Milos,

Sorry for the inconvenience.

We don't have a weekly NuGet release this week due to the Volume 2 main release. The fix will be included in our next weekly NuGet release, which will be released on June 29, 2021. We appreciate your patience until then.

Regards,
Suganya Sethuraman.
 



SS Suganya Sethuraman Syncfusion Team June 29, 2021 12:21 PM UTC

Hi Milos,

Sorry for the inconvenience.

We couldn’t be able to include the fix in the volume 2 release and we will add the fix in the first weekly patch release after the volume release which is expected to be released on July 6th, 2021 without any further delay.

Regards,
Suganya Sethuraman.
 



SS Suganya Sethuraman Syncfusion Team July 6, 2021 12:02 PM UTC

Hi Milos,

Thanks for your patience.

We have included the fix in our latest Weekly NuGet release v19.2.0.46 which is available for download (https://www.nuget.org/ ). We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.

Regards,
Suganya Sethuraman.
 


Marked as answer
Loader.
Up arrow icon