We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Null Pointer Exception thrown at at com.aspose.email.Appointment.a


My code is as follows:
MailMessage message;
message = MailMessage.load(inputFile, MessageFormat.getMsg());
return message;

The following exception is thrown:
Exception in thread “main” java.lang.NullPointerException
at com.aspose.email.Appointment.a(Unknown Source)
at com.aspose.email.Appointment.b(Unknown Source)
at com.aspose.email.AppointmentMailMessageInterpretor.interpret(Unknown Source)
at com.aspose.email.MailMessage.b(Unknown Source)
at com.aspose.email.MailMessage.a(Unknown Source)
at com.aspose.email.MailMessage.load(Unknown Source)
at com.aspose.email.client.impl.AsposeApis.getMailMessageFromFile(AsposeApis.java:38)

I have attached the email giving the error.
Could you please look into it?
Hi Sadhana,

Thank you for sharing your concern with us.

I was able to reproduce this issue at my end using the latest version of Aspose.Email for Java 4.3.0 and have logged it as NETWRKJAVA-33396 in our issue tracking system for further investigation by our development team. Once there is any information available in this regard, we'll update you here via this thread.

We are sorry for the inconvenience caused to you.

The issues you have found earlier (filed as NETWRKJAVA-33396) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.