NullReferenceException when recent SixLabors.ImageSharp is referenced

Stimulsoft Reports.WEB discussion
Post Reply
florian
Posts: 10
Joined: Fri Jan 13, 2017 4:05 pm

NullReferenceException when recent SixLabors.ImageSharp is referenced

Post by florian »

When a recent version of SixLabors.ImageSharp is referenced, a NullReferenceException is thrown when StiNetCoreReportResponse.ResponseAsPdf is called.

See attached sample 'FS.TimeTracking.ReportServer.7z', have a look to 'FS.TimeTracking.ReportServer.csproj' where several combinations are listed.

Referencing SixLabors.ImageSharp 2.1.3 isn't a good solution because it has a transitive dependency to .NET 5.0.0 which has known issues, e.g. CVE-2021-31957, https://devhub.checkmarx.com/cve-detail ... 021-31957/
Attachments
FS.TimeTracking.ReportServer.7z
(19.59 KiB) Downloaded 67 times
Max Shamanov
Posts: 768
Joined: Tue Sep 07, 2021 10:11 am

Re: NullReferenceException when recent SixLabors.ImageSharp is referenced

Post by Max Shamanov »

Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
#11354
florian
Posts: 10
Joined: Fri Jan 13, 2017 4:05 pm

Re: NullReferenceException when recent SixLabors.ImageSharp is referenced

Post by florian »

Any updates?
Max Shamanov
Posts: 768
Joined: Tue Sep 07, 2021 10:11 am

Re: NullReferenceException when recent SixLabors.ImageSharp is referenced

Post by Max Shamanov »

Hello,

We are still working on the problem. We will let you know when the solution is available.

Thank you.
florian
Posts: 10
Joined: Fri Jan 13, 2017 4:05 pm

Re: NullReferenceException when recent SixLabors.ImageSharp is referenced

Post by florian »

Any updates?
Max Shamanov
Posts: 768
Joined: Tue Sep 07, 2021 10:11 am

Re: NullReferenceException when recent SixLabors.ImageSharp is referenced

Post by Max Shamanov »

Hello,

We are still working on the problem. We will let you know when the solution is available.

Thank you.
florian
Posts: 10
Joined: Fri Jan 13, 2017 4:05 pm

Re: NullReferenceException when recent SixLabors.ImageSharp is referenced

Post by florian »

What have you found so far? What did you tired? Can you reproduce the problem? Do you need assistance?
Max Shamanov
Posts: 768
Joined: Tue Sep 07, 2021 10:11 am

Re: NullReferenceException when recent SixLabors.ImageSharp is referenced

Post by Max Shamanov »

Hello,

The issue is fixed. The fix will be available in the next release build.

Thank you.
Post Reply