Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

OutlookMessage.getClientSubmitTime produces NullPointerException #243

Closed
Faelean opened this issue Jan 24, 2020 · 2 comments
Closed

OutlookMessage.getClientSubmitTime produces NullPointerException #243

Faelean opened this issue Jan 24, 2020 · 2 comments
Assignees
Milestone

Comments

@Faelean
Copy link

Faelean commented Jan 24, 2020

While investigating bbottema/outlook-message-parser#23 we found an issue with the OutlookMessage.getClientSubmitTime() method.

java.lang.NullPointerException
	at org.simplejavamail.outlookmessageparser.model.OutlookMessage.getClientSubmitTime(OutlookMessage.java:849)
	at org.simplejavamail.internal.outlooksupport.converter.OutlookEmailConverter.buildEmailFromOutlookMessage(OutlookEmailConverter.java:73)
	at org.simplejavamail.internal.outlooksupport.converter.OutlookEmailConverter.outlookMsgToEmailBuilder(OutlookEmailConverter.java:60)
	at org.simplejavamail.converter.EmailConverter.outlookMsgToEmailBuilder(EmailConverter.java:226)
	at org.simplejavamail.converter.EmailConverter.outlookMsgToEmail(EmailConverter.java:209)
	at org.simplejavamail.converter.EmailConverter.outlookMsgToEmail(EmailConverter.java:201)

The issue is present with the following test emails from the outlook-message-parser.

  • tst_unicode.msg
  • unsent draft.msg
  • chinese message.msg
  • forward with attachments and embedded images.msg
  • the nested mail from 'nested simple mail.msg'
@bbottema
Copy link
Owner

bbottema commented Jan 24, 2020

Resolved in bbottema/outlook-message-parser#25. Will update Simple Java Mail with a newer dependency version.

@bbottema bbottema added this to the 6.0.0 milestone Jan 24, 2020
@bbottema bbottema self-assigned this Jan 24, 2020
bbottema added a commit that referenced this issue Jan 24, 2020
…invalid/garbled HTML body if only RTF is present
@bbottema
Copy link
Owner

Released in 6.0.0

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants