Aspose.PDF Can't initialize stream System.ArgumentNullException : Value cannot be null. (Parameter 'key')

Aspose.PDF 22.2
SkiaSharp 2.88.3
SkiaSharp.NativeAssets.Linux.NoDependencies 2.88.3
Above Packages added

var fs = new List()
{
concat1,
concat2
};
var res = _service.AppendPDF(fs); // res just has PDF STream

        Assert.That(res, Is.Not.Null);
        //Below is failing in jules 
        //Document pdf = new Document(res);
        //Assert.AreEqual(pdf.Pages.Count, 4);

Stack Trace:
12:08:33 at #=zc_Iw$jN6VZ3CeoK8_qFF2K2nTSMuEG5H7w==.#=z7ttHaydFiHiz()
12:08:33 at #=zc_Iw$jN6VZ3CeoK8_qFF2K2nTSMuEG5H7w==…ctor(Stream #=zczkUVwg=, String #=zVqXGCUg=, Boolean #=z7Y3DWIU6Qnzq)
12:08:33 at Aspose.Pdf.Document.#=zmEASFSs=(Stream #=z9OwVsxU=, String #=zVqXGCUg=)
12:08:33 at Aspose.Pdf.Document…ctor(Stream input)
12:08:33 at InfrastructureTest.Services.DocumentServices.PDFServiceTest.Concat_pdf_to_pdf_success() in /jenkins/workspace/rvices_f-1178/test/InfrastructureTest/Services/DocumentServices/PDFServiceTest.cs:line 44
12:08:33 Failed ConvertTxtToPDF_success [236 ms]
12:08:33 Error Message:
12:08:33 System.ArgumentNullException : Value cannot be null. (Parameter ‘key’)
12:08:33 Stack Trace:
12:08:33 at System.Collections.Generic.Dictionary2.FindValue(TKey key) 12:08:33 at System.Collections.Generic.Dictionary2.TryGetValue(TKey key, TValue& value)

@vinayakbaddi6

Could you please attach your input PDF file here for testing? It seems that you are using Aspose.PDF for .NET with .NET 6.0. Please share the .NET version that you are using.

Its .net 6; and this error is generic for all PDFS; the issues occurs on jules build server

@vinayakbaddi6

We already logged an issue to test Aspose.PDF functionality under .NET 6.0 in non-Windows environments as PDFNET-50918. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.