Error: Collection cannot be null. (Parameter 'c')

Stimulsoft Reports.WEB discussion
Post Reply
buzallen
Posts: 11
Joined: Mon Jan 21, 2019 7:36 pm

Error: Collection cannot be null. (Parameter 'c')

Post by buzallen »

Although I can't be sure of the timing, I suspect upgrading from 2021.1.2.0 to 2022.1.5.0 is when things broke. The application was also moved to .net 6 from .net 5. The error we get when we load any report in the designer that was created before these changes gives the error: Collection cannot be null. (Parameter 'c'). You can create a new report and the designer is fine.

You can see it in the attached image. There is nothing in the forums showing any errors close to 'Collection cannot be null' so if you have any ideas please let me know. This appears to be across the all reports. Downgrading to to 2021.1.2.0 does not fix the issue (even with reports that have not been opened with 2022.1.5.0). Also tries 2022.1.6.0 and same results.

Thanks
Brian
Attachments
Capture.JPG
Capture.JPG (18.57 KiB) Viewed 1208 times
Max Shamanov
Posts: 990
Joined: Tue Sep 07, 2021 10:11 am

Re: Error: Collection cannot be null. (Parameter 'c')

Post by Max Shamanov »

Hello,

Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.
buzallen
Posts: 11
Joined: Mon Jan 21, 2019 7:36 pm

Re: Error: Collection cannot be null. (Parameter 'c')

Post by buzallen »

I was incorrect that downgrading didn't work. For some reason the downgrade must not have taken yesterday. Today we downgraded to 2021.1.2.0 and we can access the reports. Still can not view them in 2022.1.6. I took a chance with 2021.4.4 and the reports also did not load. I can get you the json for the reports but since the designer will not load we can't save the MRT files. The data set is more complex and I'd have to build a demo project since a lot of the data in these particular reports are objects with calculations pulled from data in the database.

For now we are sticking to 2021.1.2.0 but when before we upgrade I'll get something reproducible for you in a project.

I've attached two json files if that helps at all. One created in 2022.1.6 that runs and one that was created in 2021.1.2.0 that does not in more current version of the designer.

Thanks,
Brian
Attachments
works - created in 2022.1.6.json
(118.13 KiB) Downloaded 286 times
dos not work in 2022.1.6.0 -created in 2021.1.2.0.json
(264.76 KiB) Downloaded 244 times
Lech Kulikowski
Posts: 7334
Joined: Tue Mar 20, 2018 5:34 am

Re: Error: Collection cannot be null. (Parameter 'c')

Post by Lech Kulikowski »

Hello,

Please send us a sample project with test data that reproduces the issue for analysis.

Thank you.
Post Reply