ArgumentException in Word to HTML conversion (2)

I have next exception when trying to convert word to html:

Callstack
System.ArgumentException : Parameter is not valid.
at System.Drawing.Bitmap…ctor(Stream stream)
at \u0005 …ctor(Byte[] \u0002)
at \u000f .\u000e(Byte[] \u0002)
at \u000f .\u0006(Byte[] \u0002)
at \u000f .\u0005(Byte[] \u0002)
at \u0008 .\u0003(ShapeBase \u0002, \u0006 \u0003, Boolean \u0005)
at \u0002 .\u000e(ShapeBase \u0002)
at \u0002 .VisitShapeStart(Shape \u0002)
at Aspose.Words.Drawing.Shape.r3ka8zscesabkstb24kjjv9sml9wq7pw \u0002(DocumentVisitor \u0002)
at Aspose.Words.CompositeNode.AcceptCore(DocumentVisitor visitor)
at Aspose.Words.Drawing.Shape.Accept(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.AcceptChildren(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.AcceptCore(DocumentVisitor visitor)
at Aspose.Words.Paragraph.Accept(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.AcceptChildren(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.AcceptCore(DocumentVisitor visitor)
at Aspose.Words.Body.Accept(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.AcceptChildren(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.AcceptCore(DocumentVisitor visitor)
at Aspose.Words.Section.Accept(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.AcceptChildren(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.AcceptCore(DocumentVisitor visitor)
at Aspose.Words.Document.Accept(DocumentVisitor visitor)
at \u0002 .\u0002(\u0006 \u0002)
at Aspose.Words.Document.\u0002(Stream \u0002, String \u0003, SaveOptions \u0005)
at Aspose.Words.Document.Save(Stream stream, SaveOptions saveOptions)
Code
var loadOptions = new LoadOptions
{
LoadFormat = LoadFormat.Docx
};
var document = new Document(documentPath, loadOptions);
document.Save(“result.html”, new HtmlSaveOptions());
Document in attachment
Aspose version 16.2.0.0

I have next exception when trying to convert word to html:

Callstack
System.ArgumentException : Parameter is not valid.
at System.Drawing.Bitmap…ctor(Stream stream)
at \u0005 …ctor(Byte[] \u0002)
at \u000f .\u000e(Byte[] \u0002)
at \u000f .\u0006(Byte[] \u0002)
at \u000f .\u0005(Byte[] \u0002)
at \u0008 .\u0003(ShapeBase \u0002, \u0006 \u0003, Boolean \u0005)
at \u0002 .\u000e(ShapeBase \u0002)
at \u0002 .VisitShapeStart(Shape \u0002)
at Aspose.Words.Drawing.Shape.r3ka8zscesabkstb24kjjv9sml9wq7pw \u0002(DocumentVisitor \u0002)
at Aspose.Words.CompositeNode.AcceptCore(DocumentVisitor visitor)
at Aspose.Words.Drawing.Shape.Accept(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.AcceptChildren(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.AcceptCore(DocumentVisitor visitor)
at Aspose.Words.Paragraph.Accept(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.AcceptChildren(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.AcceptCore(DocumentVisitor visitor)
at Aspose.Words.Body.Accept(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.AcceptChildren(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.AcceptCore(DocumentVisitor visitor)
at Aspose.Words.Section.Accept(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.AcceptChildren(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.AcceptCore(DocumentVisitor visitor)
at Aspose.Words.Document.Accept(DocumentVisitor visitor)
at \u0002 .\u0002(\u0006 \u0002)
at Aspose.Words.Document.\u0002(Stream \u0002, String \u0003, SaveOptions \u0005)
at Aspose.Words.Document.Save(Stream stream, SaveOptions saveOptions)
Code
var loadOptions = new LoadOptions
{
LoadFormat = LoadFormat.Docx
};
var document = new Document(documentPath, loadOptions);
document.Save(“result.html”, new HtmlSaveOptions());
Document in attachment
Aspose version 16.2.0.0

Hi Alexander,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-13314. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Ok. Thank you.

The issues you have found earlier (filed as WORDSNET-13314) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.

The issues you have found earlier (filed as WORDSNET-13314) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(8)