Page 1 of 1

ApplyRenderedReport NullRefrerence Exception

Posted: Wed Jul 03, 2013 3:12 pm
by nodo
Hello,

I just updated the Report Dlls to the newest Pprerelease Version: SL_v5_2013.07.01 (from 2012)

Now I get an Exception when loading a new Report over WCF (ApplyRenderedReport(String xml))
But only AFTER I opened up the Editor Window.
bei Stimulsoft.Report.SL.RequestFromUser.Value.StiValueDateTimeItemControl..ctor(StiSLViewerControl viewerControl, StiVariable variable, StiReport report)
bei Stimulsoft.Report.Viewer.StiSLViewerControl.ShowDialogRequestFromUserVariables()
bei Stimulsoft.Report.Viewer.StiSLViewerControl.RefreshDialogs()
bei Stimulsoft.Report.Viewer.StiSLViewerControl.SetNewReport(StiReport value)
bei Stimulsoft.Report.Viewer.StiSLViewerControl.set_Report(StiReport value)
bei Stimulsoft.Report.Viewer.StiSLViewerControl.ApplyRenderedReport(String xml, Boolean isRequestFromUser)
bei Stimulsoft.Report.Viewer.StiSLViewerControl.ApplyRenderedReport(String xml)
bei WebVisuSLApplication.Reporting.ReportViewer.<>c__DisplayClass1.<Button_Click>b__0(Object o, EventArgs args)
bei System.Windows.Controls.ChildWindow.OnClosed(EventArgs e)
bei System.Windows.Controls.ChildWindow.Close()
bei System.Windows.Controls.ChildWindow.set_DialogResult(Nullable`1 value)
bei WebVisuSLApplication.Reporting.ReportChooser.<PcSysImageLink_LinkClicked>b__0(Object o, LoadReportCompletedEventArgs args)
bei WebVisuSLApplication.Common.WebVisuSLService.DataService.DataServiceClient.OnLoadReportCompleted(Object state)
One thing I noticed: the class Stimulsoft.Report.SL.RequestFromUser.Value.StiValueDateTimeItemControl is not available in my namespace.
Am I missing an assembly or something?

Thank you for your help.

Re: ApplyRenderedReport NullRefrerence Exception

Posted: Thu Jul 04, 2013 8:24 am
by Alex K.
Hello,

We couldn't reproduce this bug.
Can you please send us a sample project which reproduce the issue for analysis.

Thank you.

Re: ApplyRenderedReport NullRefrerence Exception

Posted: Tue Jul 09, 2013 2:43 pm
by nodo
Hello,

Here is a simple Sample.

I think its a common problem.

1. Open the TestReport.mrt file
2. Go to the Preview page -> everything works fine and you see the "From" and "To" date pickers and the reset and submit buttons
3. Go back to the design page
4. Again go to the Preview page -> NullRefrerence Exception in Debug and the area with "from", "to" and the reset/submit buttons is gone.

My guess is, there is a problem with parsing the Date in the correct format.

Thank you!

Re: ApplyRenderedReport NullRefrerence Exception

Posted: Wed Jul 10, 2013 12:05 pm
by Alex K.
Hello,

Please clarify which version of WCF do you use? On version 2.0.2.1 we colud not couldn't reproduce the issue.
Please check the last version of WCF.

Thank you.

Re: ApplyRenderedReport NullRefrerence Exception

Posted: Wed Jul 10, 2013 12:58 pm
by nodo
What do you mean by WCF Version 2.0.2.1?

I'm using WCF (System.ServiceModel.dll) from the latest .net Framework (4.0.30319.1) and the latest Silverlight 5 SDK

Why would the Sample project use WCF in any way?

Re: ApplyRenderedReport NullRefrerence Exception

Posted: Thu Jul 11, 2013 8:27 am
by Alex K.
Hello,

We made some improvements in that direction.
Please check the next prerelease build which will be available on this week.

Thank you.

Re: ApplyRenderedReport NullRefrerence Exception

Posted: Tue Jul 16, 2013 7:00 am
by nodo
Looks like the problem is solved in the latest prerelease build.

Thank you very much for the quick fix.

Re: ApplyRenderedReport NullRefrerence Exception

Posted: Tue Jul 16, 2013 9:23 am
by Alex K.
Hello,

We are always glad to help you!
Let us know if you need any additional help.