zhaorong 发表于 2021-8-19 15:00:07

AR后端渲染报错

方法:GrapeCity.ActiveReports.Core.Rendering.I.`1.Write(Utf8JsonWriter writer,  value, JsonSerializerOptions options)
异常:
System.AggregateException: One or more errors occurred. (A possible object cycle was detected. This can either be due to a cycle or if the object depth is larger than the maximum allowed depth of 64. Consider using ReferenceHandler.Preserve on JsonSerializerOptions to support cycles.) (A possible object cycle was detected. This can either be due to a cycle or if the object depth is larger than the maximum allowed depth of 64. Consider using ReferenceHandler.Preserve on JsonSerializerOptions to support cycles.)
请尽快排查。

James.Lv 发表于 2021-8-19 15:17:11

您好,您这个异常是在什么情况下出现的?是每个报表渲染都有问题还是个别报表?方便的话发一下出现异常的报表模板

zhaorong 发表于 2021-8-19 15:37:37

导出/打印报表的时候出现异常。
没有记录具体的报表名称,看异常消息是因为使用Json序列化对象的时候出现循环引用或者是层级太深引起的。

James.Lv 发表于 2021-8-19 17:11:43

zhaorong 发表于 2021-8-19 15:37
导出/打印报表的时候出现异常。
没有记录具体的报表名称,看异常消息是因为使用Json序列化对象的时候出现 ...

这个是所有报表都会出现还是只有个别报表,能不能麻烦您帮忙把确定一下,如果是个别报表的话,烦请您把报表文件上传一下,我们这边好本地进行复现
页: [1]
查看完整版本: AR后端渲染报错