Hi
com.aspose.note.system.exceptions.InvalidOperationException: Operation is not valid due to the current state of the object.
at com.aspose.note.internal.o.c(Unknown Source) ~[:?]
at com.aspose.note.internal.eB.a(Unknown Source) ~[:?]
at com.aspose.note.internal.eL.a(Unknown Source) ~[:?]
at com.aspose.note.internal.eL.b(Unknown Source) ~[:?]
at com.aspose.note.internal.eL.a(Unknown Source) ~[:?]
at com.aspose.note.internal.F.a(Unknown Source) ~[:?]
at com.aspose.note.k.a(Unknown Source) ~[:?]
at com.aspose.note.Document.a(Unknown Source) ~[:?]
at com.aspose.note.Document.(Unknown Source) ~[:?]
at com.aspose.note.Document.(Unknown Source) ~[:?]
at com.aspose.note.Document.(Unknown Source) ~[:?]
Do you know under what circumstances this error is generated?
Update:
We are also seeing things like these .... Please find a sample file attached that is causing the issue on Text Extraction.
The way am doing the extraction:
if(!AsposeLicenseConfig.getInstance().licensed()) {
logger.info("Aspose license is not active");
} else {
logger.info("Aspose license is active");
}
Document doc = new Document(tis);
fos.write(doc.getText().getBytes());
fos.flush();
com.aspose.note.system.exceptions.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. at com.aspose.note.system.collections.BitArray.get(Unknown Source) ~[office365-1.0-SNAPSHOT.jar:?] at com.aspose.note.internal.g.a(Unknown Source) ~[?] at com.aspose.note.internal.g.e(Unknown Source) ~[:?] at com.aspose.note.internal.aD.g(Unknown Source) ~[:?] at com.aspose.note.internal.et.h(Unknown Source) ~[:?] at com.aspose.note.internal.et.c(Unknown Source) ~[:?] at com.aspose.note.internal.et.b(Unknown Source) ~[:?] at com.aspose.note.internal.fl.a(Unknown Source) ~[?] at com.aspose.note.internal.dK.a(Unknown Source) ~[?] at
Thanks,
Keshi87