Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

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

$
0
0
Hi,
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?
Thanks,
Sadhana

Viewing all articles
Browse latest Browse all 1367

Trending Articles