NullReferenceException on DevExpress 16.2.1 XtraReport generation via ReportService on WebForms : <p>When using <code>ReportService</code> as report provider for <code>AspxDocumentViewer</code> in <em>DevExpress 2016 ver.1.2</em> <code>"Object reference not set to an instance of an object"</code> is shown as JS alert in browser when trying to show report.</p>

<p>Caught internal exception has next info:</p>

<pre><code>Object reference not set to an instance of an object.
    at DevExpress.XtraReports.Web.Native.ReportRenderHelper.GetPreparedOptions() 
    at DevExpress.XtraReports.Web.Native.DocumentViewer.RemoteReportRenderHelper.CreatePageWebControl(IImageRepository imageRepository, Int32 pageIndex)
    at DevExpress.XtraReports.Web.Native.ReportRenderHelper.WritePage(Int32 pageIndex)
    at DevExpress.XtraReports.Web.Native.DocumentViewer.DocumentViewerReportWebRemoteMediator.&lt;&gt;c__DisplayClass2.b__1(PrintingSystemBase printingSystem)
    at DevExpress.XtraReports.Web.Native.DocumentViewer.DocumentViewerRemoteHelper.DoWithRemoteDocument[T](Byte[] bytes, Int32 pageIndex, Int32 pageCount, Func`2 func)
    at DevExpress.XtraReports.Web.Native.DocumentViewer.DocumentViewerReportWebRemoteMediator.GetPage(ReportViewer viewer, RemoteDocumentInformation documentInformation, Int32 pageIndex)
    at DevExpress.XtraReports.Web.Native.DocumentViewer.DocumentViewerReportViewer.CallbackRemotePage()\r\n   at DevExpress.XtraReports.Web.ReportViewer.GetCallbackResult()
    at DevExpress.XtraReports.Web.ASPxDocumentViewer.GetCallbackResult()
    at DevExpress.Web.ASPxWebControl.System.Web.UI.ICallbackEventHandler.GetCallbackResult()
</code></pre>

<p>During small investigation 've noticed that report generation crashes after request to <code>ReportService.GetPages</code> method somewhere in inner DevExpress code. </p>

<p>Pay attention, that same solution works ok using <em>DevExpress 15.2.7</em> so it's some kind of breaking changes between two versions.</p>

<p>Same solution also works in current version when report is set directly to <code>AspxDocumentViewer.Report</code> (not using <code>ReportServiceClientFactory</code> and <code>ReportService</code>), so it seems to be a <code>ReportService</code> issue.</p>

<p>ASP.Net WebForms application, report is as simple as possible (empty, no data usage).</p>

<p>Was created <a href="https://www.devexpress.com/Support/Center/Question/Details/T418299" rel="nofollow" title="Ticket">ticket</a> on DevExpress site and it has in attach sample application to reproduce problem.</p>
