Aspose HTML To TIFF Conversion throws Object reference not set to instance in 23.7.0 Linux Env

Hi Team

I am trying to convert HTML content into Tiff image with help of latest Aspose.Html 23.7 library.
It is throwing an exception in container environment. In my local(windos) it’s working fine.

This is my docker file and sample code.

FROM repo.mitchell.com/dotnet/sdk:6.0.400-bullseye-slim

USER root 

RUN apt-get update \
    && apt-get install -y --allow-unauthenticated \
        libfontconfig1 \
        libfreetype6 \
        libexpat1 \
        libpng16-16 \
        libc6-dev \
        libgdiplus \
        libx11-dev \
     && rm -rf /var/lib/apt/lists/*
     ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false

RUN sed -i'.bak' 's/$/ contrib/' /etc/apt/sources.list
RUN apt-get update; apt-get install -y ttf-mscorefonts-installer fontconfig
RUN fc-cache -f -v
Html Sample Code For Conversion.
using Aspose.Html;
using Aspose.Html.Converters;
using Aspose.Html.Saving;

    using var document = new HTMLDocument("sample.html");
    var options = new ImageSaveOptions(ImageFormat.Tiff);
    Converter.ConvertHTML(document, options, "output.tiff");

In sample html contains just this line of code.

 "<html><body><div>Hello, world!</div><div>Goodbye, World!</div></body></html>"

Please help on this, how to resolve the issue.

@Chenchu

Can you please share complete error stack trace for our reference so that we can investigate the issue accordingly?

Please find the below snippet, Some how I was able to get this from logs.
image.png (40.0 KB)

@Chenchu

We need to investigate this issue in details. For the purpose, 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): HTMLNET-4769

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.

3 posts were merged into an existing topic: Getting Out of memory exception with 23.6 version and object reference error in 23.7 version when trying to convert HTML to tiff image in Linux environment

@Chenchu

In version 23.8.0, we have fixed a similar bug. Could you please check if the exception is reproduced in it.