When trying to extract the OST file getting the below error. unfortunately, I can’t share more details because it is client data. Below is the code where it is failing and the error log.
int messageNumber = 0;
Iterator iterable = folder.enumerateMessagesEntryId().iterator();
class com.aspose.email.system.exceptions.EndOfStreamException: Attempted to read past the end of the stream. com.aspose.email.internal.n.zb.a(Unknown Source) com.aspose.email.internal.n.zb.h(Unknown Source) com.aspose.email.internal.n.zb.l(Unknown Source)
com.aspose.email.zfu.a(SourceFile:586) com.aspose.email.zfu.h(SourceFile:479) com.aspose.email.zfu.(SourceFile:85) com.aspose.email.zbfh.(SourceFile:119) com.aspose.email.zahx.i(SourceFile:1692) com.aspose.email.zahx.a(SourceFile:475) com.aspose.email.zawg.i(SourceFile:1038)