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

Null Pointer Exception thrown at com.aspose.email.internal.b.ap.b

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

The following exception is thrown while processing SMIME email:

com.aspose.email.system.exceptions.NullReferenceException: Object reference not set to an instance of an object.
at com.aspose.email.internal.b.ap.b(Unknown Source)
at com.aspose.email.qk.b(Unknown Source)
at com.aspose.email.qk.a(Unknown Source)
at com.aspose.email.qk.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:34)
at com.aspose.email.client.impl.AsposeApis.extractMsgFromFile(AsposeApis.java:199)

I have attached two such emails as example which are throwing the exception.
Could you please look into it?

Thanks,
Ankita

Viewing all articles
Browse latest Browse all 1367

Trending Articles