PivotGrid: Error when dragging pivot fields

Good day,
I am having an issue with the Pivot grid when trying to drag a field into any of the pivot field boxes (row, column, and Value fields - Filter field works for some reason), in which an application exception appears at "Application.Run(New Form1())" in the Program.cs, so that doesn't actually give any information. The stack trace gives:
at Syncfusion.Windows.Forms.PivotAnalysis.DragDropHelper.LoadDropinPivotCalculations(GridStyleInfo style, Int32 dragIndex, Int32 dropIndex, GridControlBase sourceControl)
at Syncfusion.Windows.Forms.PivotAnalysis.DragDropHelper.DropinPivotCalculations(GridStyleInfo style, Int32 dragIndex, Int32 dropIndex, GridControlBase sourceControl)
at Syncfusion.Windows.Forms.PivotAnalysis.DragDropHelper.DropinPivotCalculations(GridStyleInfo style, GridControlBase sourceControl)
at Syncfusion.Windows.Forms.PivotAnalysis.GridList.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at Syncfusion.Windows.Forms.ScrollControl.WndProc(Message& msg)
at Syncfusion.Windows.Forms.Grid.GridControlBase.WndProc(Message& msg)
at Syncfusion.Windows.Forms.Grid.GridControl.WndProc(Message& msg)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
Do you have any ideas as to what may be causing this?
Thank you!

5 Replies

RN Renuka N Syncfusion Team October 11, 2018 07:37 AM UTC

Hi Travis, 

We have checked the mentioned issue – “Exception was thrown while drag and drop the fields into the Rows, Columns and Values section of schema designer” in your version 16.2.0.41. But we are unable to reproduce the reported issue in our side. We could not face any exception while drag and drop the fields within the schema designer. 

Refer the attached videos from the following location: 

Please find our working sample from the following location: 

Could you please share your working sample or modify the attached sample in order to reproduce the reported issue, it could be helpful to provide the solution at the earliest. 

Regards, 
Renuka N. 



TC Travis Chambers October 26, 2018 10:33 PM UTC

I'm actually having the same issue even with the samples included with essential studio, do it is not unique to my code.


SU Suriya Syncfusion Team October 29, 2018 12:17 PM UTC

Hi Travis, 

Sorry for the inconvenience caused. We are able to reproduce the reported issue, “NullReference exception was thrown while drag and drop the fields into the values section in schema designer” as per your direction and we will deliver the patch file for the reported issue on or before November 1, 2018. 
 
Regards, 
Suriya 



TC Travis Chambers October 29, 2018 12:34 PM UTC

Excellent news! Thank you very much! 


SU Suriya Syncfusion Team October 31, 2018 11:27 AM UTC

Hi Travis, 
 
Thanks for your patience. 
  
We have fixed the reported issue, “Null Reference exception was thrown while drag and drop the fields into the values section in schema designer” and please find the patch file from the following location: 
  
V16.2.0.41 
Recommended approach – exe will perform automatic configuration    
Please find the patch setup here:                          
  
Advanced approach – use only if you have specific needs and can directly replace existing assemblies for your build environment                     
Please find the patch assemblies alone from:     
  
Please find the Nugets from the below location:    
  
    
NOTE
You can change how you receive bug fixes by navigating to the following link and updating your preferences.
https://www.syncfusion.com/support/directtrac/patches 
  
Disclaimer:                   
Please note that we have created this patch for the version 16.2.0.41 specifically to resolve the issues reported in this forum #140318. If you have received other patches for the same version for other products, please apply all patches in the order received. This fix already included in our main release Volume 3, 2018. 
 
Regards, 
Suriya 


Loader.
Up arrow icon