-
Bug
-
Resolution: Fixed
-
Medium
-
2.3.5
NOTE: This bug report is for JIRA Service Desk Server. Using JIRA Service Desk Cloud? See the corresponding bug report.
Summary:
An e-mail that is send to the JIRA Service Desk e-mail channel will fail if the e-mail has another e-mail attached to it in the .msg format. This occurs on windows with Service Desk 2.3.5.
Steps to Reproduce:
- Save an e-mail and attach it to another e-mail
- Send this message with the attached e-mail to the e-mail channel
Expected Results:
Issue is created from e-mail
Actual Results:
Error is thrown in atlassian-jira-incoming-mail.log:
2015-04-17 21:31:39,416 ERROR [] atlassian-scheduler-quartz1.clustered_Worker-3 anonymous    Exception when MailHandlerWorker handles message: java.lang.NullPointerException at javax.mail.internet.MimeUtility.decodeText(MimeUtility.java:573) at com.atlassian.servicedesk.squalor.email.ServiceDeskMailUtils.addAttachments(ServiceDeskMailUtils.java:310) at com.atlassian.servicedesk.squalor.email.ServiceDeskMailUtils.getAttachments(ServiceDeskMailUtils.java:260)
Notes:
- The message we have tested it with had a nested attachment (xls format) within the attached e-mail .msg file.
- The same error also happens with .eml as attached files
- The problem seems to be more related with the email client being used than the message attached. From the tests, the problem happens only with Outlook and does not happen with Gmail and the Mac OS X Mail client.
- The same error will happens as well for Email that is coming from Open Technology Real Service(OTRS). OTRS Email Settings
- The same behaviour also occurs when using Novel Groupwise and both e-mails are from the same domain and this can be avoided using POP instead of IMAP.
- Another one confirmed for an email that is coming from IBM Notes 9.
- Airmail is also confirmed having the same error.
- Zarafa is confirmed having the same error.
- duplicates
-
JSDSERVER-1865 System is unable to create ticket for email that includes inline image attachment
-
- Closed
-
- is duplicated by
-
JSDSERVER-1863 Null pointer when agent replying to Issue Notifications via gmail
-
- Closed
-
- is related to
-
JSDSERVER-3314 Emails Carrying .msg file as attachment from Outlook, will be created without .msg file
-
- Closed
-
-
JSDSERVER-2264 Attempting to create a mail that is missing a subject throws a NullPointerException in the JIRA Service Desk Mail Handler
-
- Closed
-
- relates to
-
JSDCLOUD-1792 Having a .msg attachment or Content-Type: multipart/alternative will not create mail issue, NullPointerException in log file.
-
- Closed
-
- was cloned as
-
DESK-4048 Loading...
Form Name |
---|
We have created a workaround until we switch to the latest version.
For that it runs an outlook client in a virtual machine in which a rule is running with the following script.
Maybe it will help someone.
Sub ConvertToPlain(MyMail As MailItem)
Dim strID As String
Dim objMail As Outlook.MailItem
Dim objMail2 As Outlook.MailItem
Dim myRecipient As Outlook.Recipient
strID = MyMail.EntryID
Set objMail = Application.Session.GetItemFromID(strID)
Set myattachments = objMail.Attachments
While myattachments.Count > 0
myattachments.Remove 1
Wend
objMail.BodyFormat = olFormatPlain
objMail.Save
Set objMail2 = objMail.Forward
With objMail2
.To = "maxmuster@mustermann.de"
.Send
End With
End Sub