"Parameter is invalid" in certain environments

I’m testing an application I made using Aspose.CAD, and when converting certain files to PDF (namely truetype.dwg from AutoDesk’s sample files), during the execution of “Image.save()”, the console will display the below message 123 times. Note that this error seems to occur when running the application in a Debian-based docker container, but not when running it through my debugger on my Windows machine.

com.aspose.cad.internal.Exceptions.ArgumentException: Parameter is invalid
com.aspose.cad.internal.V.S.b(Unknown Source)
com.aspose.cad.internal.n.k.a(Unknown Source)
com.aspose.cad.internal.s.f.a(Unknown Source)
com.aspose.cad.internal.s.f.visitPathEnd(Unknown Source)
com.aspose.cad.internal.p.M.a(Unknown Source)
com.aspose.cad.internal.p.n.a(Unknown Source)
com.aspose.cad.internal.p.k.a(Unknown Source)
com.aspose.cad.internal.p.n.a(Unknown Source)
com.aspose.cad.internal.p.k.a(Unknown Source)
com.aspose.cad.internal.p.n.a(Unknown Source)
com.aspose.cad.internal.p.k.a(Unknown Source)
com.aspose.cad.internal.p.n.a(Unknown Source)
com.aspose.cad.internal.p.k.a(Unknown Source)
com.aspose.cad.internal.p.n.a(Unknown Source)
com.aspose.cad.internal.p.J.a(Unknown Source)
com.aspose.cad.internal.s.f.a(Unknown Source)
com.aspose.cad.internal.s.f.a(Unknown Source)
com.aspose.cad.internal.fU.a.a(Unknown Source)
com.aspose.cad.internal.fU.a.a(Unknown Source)
com.aspose.cad.internal.fU.a.a(Unknown Source)
com.aspose.cad.internal.fU.c.a(Unknown Source)
com.aspose.cad.w.a(Unknown Source)
com.aspose.cad.internal.b.e.invoke(Unknown Source)
com.aspose.cad.system.Threading.j.invoke(Unknown Source)
com.aspose.cad.system.Threading.n.run(Unknown Source)
java.base/java.lang.Thread.run(Thread.java:829)

@GHDeveloper
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): CADJAVA-10948

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.

Update: I tested every file provided among AutoDesk’s sample files, and here’s the ones that produced “Parameter is invalid” error messages (and how many times they did).

architectural_-_annotation_scaling_and_multileaders.dwg: 8 "Parameter is invalid" errors
blocks_and_tables_-_imperial.dwg: 7 "Parameter is invalid" errors
blocks_and_tables_-_metric.dwg: 12 "Parameter is invalid" errors
mechanical_example-imperial.dwg: 9 "Parameter is invalid" errors
tablet.dwg: 51 "Parameter is invalid" errors
truetype.dwg: 123 "Parameter is invalid" errors

@GHDeveloper,
thank you, I have updated the task with this information.