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

Spreadsheet right-click on cells, click action - crashes app

We have an app that uses SfSpreadsheet.WPF. The spreadsheet has been opened in read-only mode, and the following causes reproducible crashes:
  • Right click on a cell
  • From menu, select "Format Cells" or "Insert" or "Define Name" (pretty much everything except copy/paste)
  • App crashes
Exception: 
Initialization of 'Syncfusion.UI.Xaml.Spreadsheet.Commands.FormatCellsWindow' threw an exception.
The app crashes and we are not able to get a stack trace from this unfortunately.


If the app does not crash immediately (mostly it does), but when we run with non-debug build it seems to sometimes get further:
  • Same steps as before, but choose Format Cells
  • If the dialog box opens for formatting, then change something
  • Click OK to accept
  • App crashes (this time with a good stacktrace)
Stack trace shows - Exception (System.NullReferenceException)
[Syncfusion.SfSpreadsheet.WPF] Syncfusion.UI.Xaml.Spreadsheet.Commands.FormatCellsWindow : void OnApplySettings()
[PresentationCore] ...
...
[Syncfusion.SfSpreadsheet.WPF] Syncfusion.UI.Xaml.Spreadsheet.Commands.FormatCellsCommand : void OnExecute(object)
[Syncfusion.SfSpreadsheet.WPF] Syncfusion.UI.Xaml.Spreadsheet.Commands.CommandBase : void Execute(object)
...


1 Reply

KB Kanimozhi Bharathi Syncfusion Team June 7, 2016 11:27 AM UTC

Hi Matt Diehl,  

We were able to reproduce this issue and this issue has been fixed already. A support incident has been created under your account to track the status of this fix. Please log on to our support website to check for further updates.

https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents 
  
   
Regards   
Kanimozhi B  

Loader.
Up arrow icon