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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Top Summary - Exception

Thread ID:





133057 Oct 6,2017 09:00 AM UTC Oct 10,2017 12:11 PM UTC WPF 3
Tags: PivotGridControl
Asked On October 6, 2017 09:00 AM UTC

PivotGridControl when used in TopSummary Scenario produces an exception :
Exception thrown: 'System.NullReferenceException' in Syncfusion.PivotAnalysis.Base.dll
Object reference not set to an instance of an object. (Method Name : ProcessRowSums Class: PivotEngine)

Architecture used in my application:

1. get Data from server in the form of a list and Bind item source of pivotgrid to the list on click of a button
2. Refresh the data (here the error occurs in the topsummary scenario)
3. Collapse rows and columns in the data_refreshed event.

 8 rows hierarchical level and 2 in column hierarchical level


Sabaridass Ramamoorthy [Syncfusion]
Replied On October 6, 2017 12:29 PM UTC

Hi Chaitanya, 

Thank you for contacting Syncfusion Support. 

We are unable to reproduce the reported issue – “Exception thrown when using the layout as TopSummary”. We have tested the reported scenario in our working sample which was prepared based on the architecture shared in your previous update. 

We have prepared the sample with the below aspects. 
  1. Binding a list of data to items source of PivotGrid when clicking the button (Refresh).
  2. Changing the layout as TopSummary through Combo-Box.
  3. 8 items used in PivotRows and 2 items in PivotColumns.

Please find our working sample from the following location. 
1. Can you please provide your working sample or modify the shared sample to reproduce the reported issue?   

2. Also please let us know your product version along with the sample, so that it would be helpful for us to proceed further. 

Sabaridass R. 

Replied On October 9, 2017 02:42 PM UTC

In the example you've provided, please add the following line

this.Pivot.PivotEngine.EnableOnDemandCalculations = true; to the constructor of the MainWindow.

It will generate the specified exception.

Thirupathi Bala Krishnan [Syncfusion]
Replied On October 10, 2017 12:11 PM UTC

Hi Chaitanya, 
Thanks for your interest in Syncfusion components.   
We could reproduce the reported issue at our end. A support incident has been created under your account and we request you to login into our Direct Trac support system for further updates on this issue. Our Direct Trac support system can be accessed from the following link:   
Thirupathi B. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon