This exception begin to raise, sometimes, since start of december 2024. It’s realy paine because we must handle the emails manually :
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.
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.
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
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
Thank you so much for the kind words and positive feedback!
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.