Completed
Last Updated: 30 Mar 2021 12:39 by ADMIN
Release R1 2021 SP2
Steve
Created on: 05 Mar 2021 13:32
Type: Bug Report
1
The Reporting JSON configuration cannot be loaded in a single-file .NET Core application on Linux

The application is published as a single-file application on Linux. Here is the stack trace of the error:

[21:52:53 ERR] Value cannot be null. (Parameter 'path1')
System.ArgumentNullException: Value cannot be null. (Parameter 'path1')
   at System.IO.Path.Combine(String path1, String path2)
   at Telerik.Reporting.Configuration.JsonConfigurationProvider.LoadConfiguration()
   at Telerik.Reporting.Configuration.JsonConfigurationProvider.InstantiateProvider()
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
   at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.get_Value()
   at Telerik.Reporting.Configuration.JsonConfigurationProvider.get_Instance()
   at Telerik.Reporting.Configuration.TelerikConfigurationManager.GetConfigurationProvider()
   at Telerik.Reporting.Configuration.TelerikConfigurationManager.get_ConfigurationProvider()
   at Telerik.Reporting.Configuration.TelerikConfigurationManager.GetReportingSection()
   at Telerik.Reporting.Configuration.ReportingConfiguration.get_Default()
   at Telerik.Reporting.Processing.RenderingExtensionManager.get_RenderingExtensions()
   at Telerik.Reporting.Processing.ReportProcessor.GetExtensionInfoCore(String name)
   at Telerik.Reporting.Processing.ReportProcessor.GetExtensionInfo(String format)
   at Telerik.Reporting.Processing.ReportProcessor.ProcessAndRender(String format, ReportSource reportSource, Hashtable deviceInfo, IRenderingContext renderingContext, CreateStream createStreamCallback)
   at Telerik.Reporting.Processing.ReportProcessor.ProcessAndRenderStateless(String format, ReportSource reportSource, Hashtable deviceInfo, IRenderingContext renderingContext, CreateStream createStreamCallback)
   at Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, ReportSource reportSource, Hashtable deviceInfo, CancellationToken cancellationToken)
   at Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, ReportSource reportSource, Hashtable deviceInfo)
   at HaliburtonSoftware.Reporting.Generation.GenerationProcessor.CreateReport(InstanceReportSource reportSource, String fileName, ReportFormat reportFormat)
   at HaliburtonSoftware.Reporting.Generation.GenerationProcessor.ProcessReport(String culture, String reportName, ReportFormat reportFormat, String fileName, IList`1 parameters, Hashtable deviceInfo)

I also had lots of issues trying to get the application version information of a single-file application and had to revert to using an environmental variable in the container.

0 comments