Exception when converting XLSM to PNG in .NET

Converting the attached documents to PNG results in this exception:
‘Object reference not set to an instance of an object.’

I was using GroupDocs.Conversion 23.3.1 using this code:

 using (var conv = new Converter(documentPath))
 {
        string filePath = "outputConversion{0}.png";
        Func<int, Stream> getPageStream =  page => new FileStream(string.Format(filePath, page), FileMode.Create);
        var imgOptions = new ImageConvertOptions()
        {
              Format = ImageFileType.Png,
              //convert only the first page for thumbnail
              PageNumber = 1,
              PagesCount = 1
        };

        conv.Convert(getPageStream, imgOptions);
  }

Can you please take a look what’s causing this issue?
352503A0C0.zip (2.1 MB)
oztruorj.zip (2.8 MB)

1 Like

@Clemens_Pestuka
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): CONVERSIONNET-6000

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

1 Like

Hi @atir.tahir,

Our customer asked if it would be possible for you (or GroupDocs in general) to sign an NDA,
to confirm submitted documents are kept secret and not disclosed with anyone else?
Weastec Confidential Non-Disclosure Agreement.pdf (142.6 KB)

@Clemens_Pestuka

Please take a look at this blog - Sending data to Aspose, go to section File retention policy and nondisclosure terms. Also visit section 8 of EULA.

1 Like

@atir.tahir

Thank you, our customer was happy with that :slight_smile:

1 Like

@Clemens_Pestuka

You are welcome.

1 Like

The issues you have found earlier (filed as CONVERSIONNET-6000) have been fixed in this update. This message was posted using Bugs notification tool by nikola.yankov