Aspose Email Java com.aspose.email.internal.hv.zb: JSONObject["address"] not found

Hi folks,

This exception begin to raise, sometimes, since start of december 2024. It’s realy paine because we must handle the emails manually :frowning: :

com.aspose.email.internal.hv.zb: JSONObject[“address”] not found.
at com.aspose.email.internal.hv.zc.a(SourceFile:572) ~[aspose-email-23.3-jdk16.jar:23.3]
at com.aspose.email.internal.hv.zc.g(SourceFile:859) ~[aspose-email-23.3-jdk16.jar:23.3]
at com.aspose.email.GraphMessageInfo.a(SourceFile:342) ~[aspose-email-23.3-jdk16.jar:23.3]
at com.aspose.email.GraphMessageInfo.a(SourceFile:34) ~[aspose-email-23.3-jdk16.jar:23.3]
at com.aspose.email.GraphMessageInfoCollection.a(SourceFile:32) ~[aspose-email-23.3-jdk16.jar:23.3]
at com.aspose.email.zze.b(SourceFile:89) ~[aspose-email-23.3-jdk16.jar:23.3]
at com.aspose.email.zzf.o(SourceFile:144) ~[aspose-email-23.3-jdk16.jar:23.3]
at com.aspose.email.zyk.listMessages(SourceFile:190) ~[aspose-email-23.3-jdk16.jar:23.3]

This is occur when we get the list of emails. I updated our Aspose library with the latest version ( aspose-email-24.10-jdk16.jar ) and I have the same beaviour:

This is a quick snippet of the context of our call / issue:


Integer maxItems = 100;
com.aspose.email.IGraphClient client; //(The client initialisation is good and successfull connected to the mailbox).

// The exception raise on the listMessages function call.
GraphMessagePageInfo messagePageInfo = client.listMessages(com.aspose.email.GraphKnownFolders.Inbox,new com.aspose.email.PageInfo(maxItems),new com.aspose.email.MailQuery(“”,“(‘SentDate’ OrderBy ‘ASC’)”));

I can’t debug more deeply into your librarie with my IDE. In the email I don’t see anything wrong about the “address” JSON property from the response of MS Graph API.

We use the latest API MS Graph API: https://graph.microsoft.com/.default

I waiting for your advices to investigate what append.

Happy new year!

Hello @frjo,

Thank you for contacting our support. We understand your concern and will try to solve the problem asap.

We have opened the following new investigation ticket in our internal issue tracking system and will deliver its fix according to the terms mentioned in Free Support Policies.

Issue ID(s): EMAILJAVA-35334

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.

1 Like

Hello, I saw Issues Status EMAILJAVA-35334 Status: Resolved… but I don’t retreive any details about when a new release will fix the issue.

Thank you to guide me where I can see this kind of information in your web site.

Regards,

@frjo

Hello @frjo,

It seems the fix is available in the latest release, version 24.12. Please check with the latest release.

Hi, I try to test you latest version but it’s not possible with our licence.

We have a licence for the Total Familly (all libs for all language you support).

I update my maven dependance to use:

com.aspose
aspose-total
24.12
pom

But the version of the artefact of com.aspose:aspose-email included in this aspose-total bundle is version 24.11 :frowning:

I tried to exclude the artefact com.aspose:aspose-email:24.11 of the total aspose-total bundle and get the latest com.aspose:aspose-email:24.12 but I have a licence product exception.

Unfortunately, if the v24.12 of aspose-email is not be part of the total v23.12 version… it is impossible for me to test it :frowning:

helps :wink:

Hello,
We will consider the situation and get back to you shortly.

1 Like

Hello @frjo ,

We have released a hotfix 24.11.0.2.

1 Like

Good news folks!

Your fix working well! All is fine on our side.

Your support is great, good feedback. Really good job Aspose team !

Thank you so much for the kind words and positive feedback! :tada:
Your feedback means a lot to us!
If you ever have more questions or need assistance in the future, don’t hesitate to reach out.