Exception: [ChangeEngineParamsByKeep] Object reference not set to an instance of an object.
Exception: [ChangeEngineParamsByKeep] Object reference not set to an instance of an object.
In one of my reports I set:
Stimulsoft.Report.StiOptions.Engine.ReportCache.LimitForStartUsingCache = 50;
Stimulsoft.Report.StiOptions.Engine.ReportCache.AmountOfQuickAccessPages = 30;
report.ReportCacheMode = Stimulsoft.Report.StiReportCacheMode.Auto;
Then when running the report on page 50 an exception occurs with this error message:
Method : [ChangeEngineParamsByKeep]
Object reference not set to an instance of an object.
If I set LimitForStartUsingCache to 53 the exception occurs on page 53.
Thanks,
Patrick
Stimulsoft 2009.1.338 on VS 2008; .NET 3.5; SQL Server 2005; C#
Stimulsoft.Report.StiOptions.Engine.ReportCache.LimitForStartUsingCache = 50;
Stimulsoft.Report.StiOptions.Engine.ReportCache.AmountOfQuickAccessPages = 30;
report.ReportCacheMode = Stimulsoft.Report.StiReportCacheMode.Auto;
Then when running the report on page 50 an exception occurs with this error message:
Method : [ChangeEngineParamsByKeep]
Object reference not set to an instance of an object.
If I set LimitForStartUsingCache to 53 the exception occurs on page 53.
Thanks,
Patrick
Stimulsoft 2009.1.338 on VS 2008; .NET 3.5; SQL Server 2005; C#
Exception: [ChangeEngineParamsByKeep] Object reference not set to an instance of an object.
Hi Patrick,
Please set report.ReportCacheMode = Stimulsoft.Report.StiReportCacheMode.On
If the error persists, please send a test project to support[at]stimulsoft.com.
Thank you.
Please set report.ReportCacheMode = Stimulsoft.Report.StiReportCacheMode.On
If the error persists, please send a test project to support[at]stimulsoft.com.
Thank you.
Exception: [ChangeEngineParamsByKeep] Object reference not set to an instance of an object.
What is the difference between Auto and On please?Edward wrote: set report.ReportCacheMode = Stimulsoft.Report.StiReportCacheMode.On
Thanks,
Patrick
Exception: [ChangeEngineParamsByKeep] Object reference not set to an instance of an object.
Hi Patrick.
The difference here is very simple.
The report will put the very first page into the cache when report.ReportCacheMode = Stimulsoft.Report.StiReportCacheMode.On.
And setting report.ReportCacheMode = Stimulsoft.Report.StiReportCacheMode.Auto tells to the report engine that the first rendered page which will be placed into the cache would have a number from the following static property:
Stimulsoft.Report.StiOptions.Engine.ReportCache.LimitForStartUsingCache
The Stimulsoft.Report.StiOptions.Engine.ReportCache.AmountOfQuickAccessPages parameter must be greater than 5 and sets the number of pages which will be loaded from cache during the navigation through the rendered pages.
Thank you.
The difference here is very simple.
The report will put the very first page into the cache when report.ReportCacheMode = Stimulsoft.Report.StiReportCacheMode.On.
And setting report.ReportCacheMode = Stimulsoft.Report.StiReportCacheMode.Auto tells to the report engine that the first rendered page which will be placed into the cache would have a number from the following static property:
Stimulsoft.Report.StiOptions.Engine.ReportCache.LimitForStartUsingCache
The Stimulsoft.Report.StiOptions.Engine.ReportCache.AmountOfQuickAccessPages parameter must be greater than 5 and sets the number of pages which will be loaded from cache during the navigation through the rendered pages.
Thank you.
Exception: [ChangeEngineParamsByKeep] Object reference not set to an instance of an object.
I upgraded to the latest version 2/16 and the error is still happening..
I also tried CacheAllReportData but it didn't help either.
Thanks,
Patrick
Since I can't send you the whole database how would it work please? Is just sending the report enough?Edward wrote:If the error persists, please send a test project to support[at]stimulsoft.com.
I also tried CacheAllReportData but it didn't help either.
Thanks,
Patrick
Exception: [ChangeEngineParamsByKeep] Object reference not set to an instance of an object.
Hi Patrick,
In that case please show the full stack of the error though.
Thank you.
In that case please show the full stack of the error though.
Thank you.
Exception: [ChangeEngineParamsByKeep] Object reference not set to an instance of an object.
I would love to know the stack trace myself...
As the exception happens in the designer only a message box comes up with the error message i gave above...
Any idea on how I can get the stack trace from that?
thanks,
Patrick
As the exception happens in the designer only a message box comes up with the error message i gave above...
Any idea on how I can get the stack trace from that?
thanks,
Patrick
Exception: [ChangeEngineParamsByKeep] Object reference not set to an instance of an object.
Hi,
this exception happens in so many reports it's very important that we find a solution for it:
Method : [ChangeEngineParamsByKeep]
Object reference not set to an instance of an object.
Thanks,
patrick
this exception happens in so many reports it's very important that we find a solution for it:
Method : [ChangeEngineParamsByKeep]
Object reference not set to an instance of an object.
Thanks,
patrick
Exception: [ChangeEngineParamsByKeep] Object reference not set to an instance of an object.
Hi Patrick.
The issue must be fixed in the build from the next Monday. We are going to add all necessary changes into this build. Please check it when it is available.
Thank you.
The issue must be fixed in the build from the next Monday. We are going to add all necessary changes into this build. Please check it when it is available.
Thank you.
Exception: [ChangeEngineParamsByKeep] Object reference not set to an instance of an object.
Hello Patrick,
Problem with cache solved. Patch will be available in next prerelease build.
Thank you.
Problem with cache solved. Patch will be available in next prerelease build.
Thank you.