I’m currently evaluating GroupDocs.Editor module for integration with our project and I came to this issue with corrupted document. I have downloaded your example from github (https://github.com/groupdocs-editor/GroupDocs.Editor-for-Java) and when I call saveToWordsDocument method this exception accasionally happens (like every 3th, 4th time) for the same document (source.docx from github example):
class com.groupdocs.editor.internal.c.a.ms.System.ArgumentException: Input WordProcessing document is corrupted
on this line
InputHtmlDocument htmlDoc = EditorHandler.toHtml(inputStream);
My environment: Windows 10 64 bit, Eclipse Oxygen, Java 1.8_241
Could you please help me with resolving this exception since it’s blocker for us. I even succeed to reproduce it when it’s integrated with our project. It works only few times then suddenly throws exception couple of times and then again works two, three times, and so on (for the same document).