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

Free Support Forum - aspose.com

java.lang.AssertionError: TnefPropertyType.TypeError

Hi, we are getting a strange error while trying to extract mime messages from pst file.

Exception that we are getting:
java.lang.AssertionError: TnefPropertyType.TypeError
at com.aspose.email.internal.g.a.a(Unknown Source) ~[email-5.3.0.jar:]
at com.aspose.email.akt.(Unknown Source) ~[email-5.3.0.jar:]
at com.aspose.email.wl.a(Unknown Source) ~[email-5.3.0.jar:]
at com.aspose.email.MapiCalendarAttendees.(Unknown Source) ~[email-5.3.0.jar:]
at com.aspose.email.MapiCalendar.(Unknown Source) ~[email-5.3.0.jar:]
at com.aspose.email.MapiMessage.toMapiMessageItem(Unknown Source) ~[email-5.3.0.jar:]
at com.aspose.email.AppointmentMailMessageInterpretor.interpret(Unknown Source) ~[email-5.3.0.jar:]

bits of our code:

final MapiMessage message = state.getPstFile().extractMessage( messageInfo );
final MailMessageInterpretor mailMessageInterpretor = MailMessageInterpretorFactory.getInstance()
.getIntepretor( message.getMessageClass() );
final MailMessage mimeMessage = mailMessageInterpretor.interpret( message );

we are using
5.6.1 version of the email library

Hi Marko,

Thank you for writing to Aspose Support team.

Please share your sample PST file with us so that we can investigate the issue at our end and assist you further in this regard.