This is a migrated thread and some comments may be shown as answers.

Problem going from version Q3 2009 to Q1 SP1 2011

1 Answer 95 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nikolay Paraskov
Top achievements
Rank 1
Nikolay Paraskov asked on 14 Jun 2011, 10:28 AM
Hello, 


I'm trying the transition from TelerikReporting Q3 2009 to Q1 SP1 2011 version. In my code I'm creating a Table Dynamically and Databinding it. 

Which results in the following exception:

[NullReferenceException: Object reference not set to an instance of an object.]
   Telerik.Reporting.Processing.Table.MeasureColumns(Graphics graphics) +299
   Telerik.Reporting.Processing.Table.Measure(MeasureDirection dir, Graphics graphics) +58
   Telerik.Reporting.Processing.ProcessingElement.MeasureElement(MeasureDirection dir, Graphics graphics) +136
   Telerik.Reporting.Processing.ProcessingElement.Measure(MeasureDirection dir, Graphics graphics) +1467
   Telerik.Reporting.Processing.ReportSectionBase.Measure(MeasureDirection dir, Graphics graphics) +40
   Telerik.Reporting.Processing.ProcessingElement.MeasureElement(MeasureDirection dir, Graphics graphics) +136
   Telerik.Reporting.Processing.Group.MeasureElement(MeasureDirection dir, Graphics graphics) +248
   Telerik.Reporting.Processing.Report.MeasureElement(MeasureDirection dir, Graphics graphics) +377
   Telerik.Reporting.Processing.Report.MeasureElement(ProcessingElement elementToMeasure) +204
   Telerik.Reporting.Processing.Report.OnItemProcessed() +56
   Telerik.Reporting.Processing.ReportItemBase.Process(DataMember data) +653
   Telerik.Reporting.Processing.Report.Process(DataMember data, DataItemState state, Boolean interactivityEnabled, Boolean documentMapEnabled) +123
   Telerik.Reporting.Processing.ReportProcessor.ProcessReport(IReportDocument reportDocument, IDictionary processingContext) +1195
   Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, IReportDocument reportDocument, Hashtable deviceInfo, Hashtable renderingContext, CreateStream createStreamCallback) +486
   Telerik.ReportViewer.WebForms.ServerReport.Render(HttpResponse response, String format, Int32 pageIndex) +900
   Telerik.ReportViewer.WebForms.ReportPageOperation.PerformOperationOverride() +261
   Telerik.ReportViewer.WebForms.HandlerOperation.PerformOperation(NameValueCollection urlQuery, HttpContext context) +77
   Telerik.ReportViewer.WebForms.HttpHandler.ProcessRequest(HttpContext context) +202
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
 

Any help would be Greatly Appreciated.


Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Accepted
Steve
Telerik team
answered on 15 Jun 2011, 02:32 PM
Hello Nikolay,

Such an error can occur if you have a textbox which has zero set for Size which is no longer correct since Q2 2010 due to changes we introduced to the Table item. Changing the size to a smaller value would resolve the problem. Note that setting row/column groups to zero size sets them Visible=false, which is not supported. Due to the data driven nature of the CrossTab/Table, when you want to hide some data, you need to filter the CrossTab groups instead of hiding them.

All the best,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Nikolay Paraskov
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or