NullPointerException in at com.aspose.email.MapiAttachment.a(SourceFile:665)

Hi All,
Has anyone seen this issue and know the reason/how to fix it?

Caused by: java.lang.NullPointerException
at com.aspose.email.MapiAttachment.a(SourceFile:665)
at com.aspose.email.MapiAttachment.b(SourceFile:579)
at com.aspose.email.zahx.a(SourceFile:2103)
at com.aspose.email.zahx.a(SourceFile:680)
at com.aspose.email.zawg.a(SourceFile:1132)
at com.aspose.email.FolderInfo.addMessage(SourceFile:758)
at com.aspose.email.FolderInfo.addMapiMessageItem(SourceFile:871)

Version: 21.6 (Java)

Thanks

Hello @echevreuil.

Welcome to our support forum!

Can you provide a sample code and message file that causes the exception?
Also, please test the sample with the latest version of Aspose.Email.

Thanks.

Hi Margarita,

Thank you for your reply.
This is not something I can reproduce locally so wouldn’t be able to validate with the latest version, and it’s hard for me to debug since I don’t have access to the message itself.
That’s why I wanted to know if there is a particular attribute (which one) that is causing it, so I can try to mitigate that during the conversion of the mapi message.

@echevreuil
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): EMAILJAVA-35276

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.

Hello @echevreuil,

The issue has been resolved and will be available in the next release 24.4.
Unfortunately, there is no API workaround to ignore the error.

Thank you, Sergey.
Do you know when the next release will be available?

@echevreuil,

The next release, 24.4, is scheduled for early May.