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

An unhandled exception has occurred : Telerik.ReportViewer.WebForms.StreamManager.GetHtmlPage(Int32 pageIndex)

5 Answers 207 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Louis
Top achievements
Rank 1
Iron
Iron
Iron
Louis asked on 17 Oct 2017, 01:43 PM

Hello.

 

I have a normal report and when I click to see the next page this error occurs :

 

Exception information:
    Exception type: NullReferenceException
    Exception message: Object reference not set to an instance of an object.
   at Telerik.ReportViewer.WebForms.StreamManager.GetHtmlPage(Int32 pageIndex)
   at Telerik.ReportViewer.WebForms.ReportPageOperation.WriteHtmlPage(StreamManager streamManager, Int32 pageIndex)
   at Telerik.ReportViewer.WebForms.BasicHandler.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 
 
Request information:
    Request URL: .... Telerik.ReportViewer.axd?instanceID=0cdcda6604764ba2a837581cedb1ae5f&optype=Report&PageIndex=1&RenderID=312cd5f978ca4b8baf48ad45439e270e&RenderingFormat=HTML5
    Request path: /Telerik.ReportViewer.axd

 

Any idea?

5 Answers, 1 is accepted

Sort by
0
Katia
Telerik team
answered on 20 Oct 2017, 09:32 AM
Hi Louis,

This is not a known issue. Unfortunately, the provided information is not sufficient for us to be able to identify the source of the problem and provide any specific suggestions. You can send a sample project that reproduces the problematic behavior in a support ticket so we can investigate it locally.

Check if all the steps provided How to: Add report viewer to a web page help article were implemented in the application. Alternatively you can test using the HTML5 Report Viewer in your application.


Regards,
Katia
Progress Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Mahesh
Top achievements
Rank 1
answered on 29 Sep 2020, 01:22 PM

Hey Louis / Katia

did you ever find solution for this problem?

today i started to get same problem after upgrading telerik to 14.2.20.916

I get attached error while navigating to next / previous page.

 

also after upgrading to 14.2.20.916 image on the report are not displayed (fails to load with error)

Thanks,

Mahesh

0
Matthew
Top achievements
Rank 1
answered on 30 Sep 2020, 02:53 PM
We are also seeing the error Mahesh outlines when going to next/previous page as well after the upgrade to 14.2.20.916.  Rolling back to the prior version eliminates the issue so there is definitely something awry with the current release
0
Mahesh
Top achievements
Rank 1
answered on 30 Sep 2020, 04:42 PM

Hey @Matthew,

 

I did create a support ticket for this issue and this is their reply:

"We are aware of the issue - PictureBox Images stopped being displayed by the legacy Web Forms Viewer in 14.2.20.916. It has been identified and will be fixed for the upcoming Internal Build. Hopefully, it will be released in the next week.

The problem is related to the HttpContext not being available in the rendering thread after a refactoring introduced with the latest version. It is specific to the legacy Web Forms Viewer.

On a side note, I strongly advise you to Migrate to the Html5 Report Viewer. The problem does not occur with this viewer type. The new web viewer is actively developed and improved and provides a lot of features not supported by the legacy viewer."

For now, we also decided to rollback to previous version.

Hope this helps.

Regards,

Mahesh

0
Matthew
Top achievements
Rank 1
answered on 30 Sep 2020, 05:13 PM
Thanks for the update!
Tags
General Discussions
Asked by
Louis
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Katia
Telerik team
Mahesh
Top achievements
Rank 1
Matthew
Top achievements
Rank 1
Share this question
or