javax.mail.MessagingException: Unable to load BODYSTRUCTURE

JIRA | rupert rufus | 5 years ago
  1. 0

    I am using JIRA 4.4.4 and JEMH .9.9 and IMAP About 5% of the time the emails just get rejected {code} 2012-04-04 10:43:07,132 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] Issue Processing Summary: Created 0 [], Updated 0 [], Commented 0 []. Rejections required: 1 {code} There does not seem to be any reason why, the hint email reports: {code} Some of the fields provided were not valid. Please review the following 1 hints for future reference. Hint #1: -------- Message : An unexpected error occurred during issue creation, type=com.atlassian.jira.exception.CreateException, message=Error occurred while storing issue. {code} Then after a few rejections the plugin stops processing mail with error: {code} Caused by: javax.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 554 5.7.1 <user@email.com>: Relay access denied at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1835) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1098) at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:156) ... 11 more Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 554 5.7.1 <user@email.com>: Relay access denied at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1733) ... 13 more javax.mail.MessagingException: Unable to load BODYSTRUCTURE at com.sun.mail.imap.IMAPMessage.loadBODYSTRUCTURE(IMAPMessage.java:1297) at com.sun.mail.imap.IMAPMessage.getDataHandler(IMAPMessage.java:623) at javax.mail.internet.MimeMessage.getContent(MimeMessage.java:1419) at com.javahollic.jira.emh.service.AbstractMessageHandler.canHandleMessage(AbstractMessageHandler.java:198) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:74) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:216) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) .... 2012-04-04 10:49:03,861 QuartzWorker-0 WARN ServiceRunner PDS IMAP JEMH Service [com.atlassian.mail.MailUtils] Unable to extract text from MIME part with Content-Type 'multipart/mixed; boundary="=_mixed 93FB307EDE0E9927802579D400594507_=" 2012-04-04 10:49:03,861 QuartzWorker-0 WARN ServiceRunner PDS IMAP JEMH Service [com.atlassian.mail.MailUtils] Unable to extract text from MIME part with Content-Type 'multipart/related; boundary="=_related 93FB307EDE0E9927802579D400594507_=" 2012-04-04 10:49:03,861 QuartzWorker-0 WARN ServiceRunner PDS IMAP JEMH Service [com.atlassian.mail.MailUtils] Unable to extract text from MIME part with Content-Type 'multipart/alternative; boundary="=_alternative 93FB307EDE0E9927802579D400594507_=" 2012-04-04 10:49:03,911 QuartzWorker-0 WARN ServiceRunner PDS IMAP JEMH Service [com.atlassian.mail.MailUtils] Unable to extract text from MIME part with Content-Type 'image/gif; name=ecblank.gif 2012-04-04 10:49:03,911 QuartzWorker-0 WARN ServiceRunner PDS IMAP JEMH Service [com.atlassian.mail.MailUtils] Unable to extract text from MIME part with Content-Type 'image/gif; name=pic18007.gif 2012-04-04 10:49:03,912 QuartzWorker-0 WARN ServiceRunner PDS IMAP JEMH Service [com.atlassian.mail.MailUtils] Unable to extract text from MIME part with Content-Type 'multipart/mixed; boundary="=_mixed 93FB307EDE0E9927802579D400594507_=" .... java.io.IOException: Malformed CSV stream. Missing quote at start of field on line 1 at com.mindprod.csv.CSVReader.get(CSVReader.java:404) at com.mindprod.csv.CSVReader.getAllFieldsInLine(CSVReader.java:305) at com.javahollic.jira.emh.processor.CSVFieldProcessor.getFieldMap(CSVFieldProcessor.java:68) at com.javahollic.jira.emh.processor.CSVFieldProcessor.extractFieldsAndBody(CSVFieldProcessor.java:176) at com.javahollic.jira.emh.processor.CSVFieldProcessor.getDirectiveCount(CSVFieldProcessor.java:218) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:115) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:111) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:216) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) javax.mail.MessagingException: CSV Parser unable to get body from email: Malformed CSV stream. Missing quote at start of field on line 1; nested exception is: java.io.IOException: Malformed CSV stream. Missing quote at start of field on line 1 at com.javahollic.jira.emh.processor.CSVFieldProcessor.getFieldMap(CSVFieldProcessor.java:124) at com.javahollic.jira.emh.processor.CSVFieldProcessor.extractFieldsAndBody(CSVFieldProcessor.java:176) at com.javahollic.jira.emh.processor.CSVFieldProcessor.getDirectiveCount(CSVFieldProcessor.java:218) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:115) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:111) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:216) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: java.io.IOException: Malformed CSV stream. Missing quote at start of field on line 1 at com.mindprod.csv.CSVReader.get(CSVReader.java:404) at com.mindprod.csv.CSVReader.getAllFieldsInLine(CSVReader.java:305) at com.javahollic.jira.emh.processor.CSVFieldProcessor.getFieldMap(CSVFieldProcessor.java:68) ... 10 more javax.mail.MessagingException: Unable to load BODYSTRUCTURE at com.sun.mail.imap.IMAPMessage.loadBODYSTRUCTURE(IMAPMessage.java:1297) at com.sun.mail.imap.IMAPMessage.getDataHandler(IMAPMessage.java:623) at javax.mail.internet.MimeMessage.getContent(MimeMessage.java:1419) at com.javahollic.jira.emh.service.AbstractMessageHandler.canHandleMessage(AbstractMessageHandler.java:198) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:74) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:216) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) ... xception in thread "QuartzWorker-1" java.lang.StackOverflowError at java.lang.Character.codePointAt(Unknown Source) at java.util.regex.Pattern$CharProperty.match(Unknown Source) at java.util.regex.Pattern$Curly.match0(Unknown Source) at java.util.regex.Pattern$Curly.match(Unknown Source) at java.util.regex.Pattern$CharProperty.match(Unknown Source) at java.util.regex.Pattern$GroupHead.match(Unknown Source) at java.util.regex.Pattern$Loop.match(Unknown Source) at java.util.regex.Pattern$GroupTail.match(Unknown Source) at java.util.regex.Pattern$Curly.match0(Unknown Source) at java.util.regex.Pattern$Curly.match(Unknown Source) at java.util.regex.Pattern$CharProperty.match(Unknown Source) at java.util.regex.Pattern$GroupHead.match(Unknown Source) at java.util.regex.Pattern$Loop.match(Unknown Source) at java.util.regex.Pattern$GroupTail.match(Unknown Source) at java.util.regex.Pattern$Curly.match0(Unknown Source) .... {code} I know the relaying is disabled, this is intentional The EMH log goes: {code} 2012-04-04 10:43:21,506 QuartzWorker-0 DEBUG [jira.emh.service.CreateOrCommentHandler] com.javahollic.jira.emh.service.WhiteGreyBlackListingHelper$FilterResult@13de05e 2012-04-04 10:43:21,506 QuartzWorker-0 DEBUG [jira.emh.service.CreateOrCommentHandler] Got mail from: A User <user@email.com>, subject: RE: Spanish user Request 2012-04-04 10:43:21,507 QuartzWorker-0 DEBUG [jira.emh.service.EMHConfigImpl] EMH property file loaded through standard getClass.getClassloader: true 2012-04-04 10:43:21,508 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] Message: To: B_User@email.com 2012-04-04 10:43:21,508 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] Message: From: A User <user@email.com> 2012-04-04 10:43:21,508 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] Message: Subject: RE: Spanish user Request 2012-04-04 10:43:21,508 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] Message: Sent: Tue Aug 10 07:53:47 BST 2010 2012-04-04 10:43:21,508 QuartzWorker-0 INFO [jira.emh.service.AbstractMessageHandler] No value set for defaultDirectiveProcessingBehaviour, normal create and comment processing 2012-04-04 10:43:21,508 QuartzWorker-0 DEBUG [jira.emh.service.AbstractMessageHandler] Attempting to find FieldProcessors in package: com.javahollic.jira.emh.processor 2012-04-04 10:43:21,523 QuartzWorker-0 INFO [jira.emh.engine.EMHMailUtils] body ready 2012-04-04 10:43:21,532 QuartzWorker-0 INFO [jira.emh.engine.EMHMailUtils] body ready 2012-04-04 10:43:22,054 QuartzWorker-0 INFO [jira.emh.engine.EMHMailUtils] body ready 2012-04-04 10:43:22,054 QuartzWorker-0 DEBUG [jira.emh.processor.SubjectBasedFieldProcessor] Subject line: RE: Spanish user Request 2012-04-04 10:43:22,072 QuartzWorker-0 DEBUG [jira.emh.processor.CSVFieldProcessor] CSV Parser didnt find enough (> 3 known Jira field names on the first CSV line 2012-04-04 10:43:22,072 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] Tested processor: Basic Mail Processor is new best candidate 2012-04-04 10:43:22,072 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] Running best match (1) FieldProcessor: Basic Mail Processor 2012-04-04 10:43:22,072 QuartzWorker-0 INFO [jira.emh.processor.BasicMailProcessor] Setting up basic 2012-04-04 10:43:22,082 QuartzWorker-0 INFO [jira.emh.engine.EMHMailUtils] body ready 2012-04-04 10:43:22,082 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] getPossibleDefaultProjectBySenderAddress() sender=user@email.com 2012-04-04 10:43:22,082 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] Default project found for domain : none found 2012-04-04 10:43:22,082 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] No project found by directive or projectAutoAssign, falling back to default project 2012-04-04 10:43:22,083 QuartzWorker-0 DEBUG [jira.emh.engine.EMHUserUtils] createUserFromEmail, inetAddr=[user@email.com] 2012-04-04 10:43:22,083 QuartzWorker-0 DEBUG [jira.emh.engine.DefaultEmailUserLookup] default id lookup impl created 2012-04-04 10:43:22,083 QuartzWorker-0 DEBUG [jira.emh.engine.EmailAliasHelper] setting email address [A User <user@email.com>] on provider com.javahollic.jira.emh.engine.DefaultEmailUserLookup 2012-04-04 10:43:22,083 QuartzWorker-0 DEBUG [jira.emh.engine.EmailAliasHelper] calling getAlternateUserIDForEmail() 2012-04-04 10:43:22,083 QuartzWorker-0 DEBUG [jira.emh.engine.EmailAliasHelper] user@email.com 2012-04-04 10:43:22,083 QuartzWorker-0 DEBUG [jira.emh.engine.EMHUserUtils] finding a USERID based on FULL email address 2012-04-04 10:43:22,083 QuartzWorker-0 DEBUG [jira.emh.engine.EMHUserUtils] No createUsersIDFromEmailDomainRestrictions property set, just creating from: user@email.com 2012-04-04 10:43:22,083 QuartzWorker-0 DEBUG [jira.emh.engine.EMHUserUtils] UserID will be: user@email.com 2012-04-04 10:43:22,198 QuartzWorker-0 DEBUG [jira.emh.engine.EMHUserUtils] Auto-joining user to group: user Application Requester 2012-04-04 10:43:22,199 QuartzWorker-0 DEBUG [jira.emh.engine.EMHUserUtils] Created userID=user@email.com, email=user@email.com, fullName=A User, as a member of group: user Application Requester 2012-04-04 10:43:22,199 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] User [user@email.com] has permission [11] : true 2012-04-04 10:43:22,199 QuartzWorker-0 INFO [jira.emh.engine.AbstractFieldProcessorHelper] Fixing up ParentIssueKey 2012-04-04 10:43:22,199 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] Using email subject line as summary 2012-04-04 10:43:22,199 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupComment 2012-04-04 10:43:22,199 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] Using email body as initial description/comment 2012-04-04 10:43:22,199 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupAttachments... 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] Atlassian Mail Utils says there are: 1 attachments. 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupWatchers 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupCustomFieldsAndOperations 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupWorklogParams1 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupWorklogParams2 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupWorklogParams3 - project 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupWorklogParams3 - attachments 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupWorklogParams3 - comment 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupWorklogParams3 - emailSenderAsUser 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupWorklogParams3 - _jemhFallbackSummary 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupWorklogParams3 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupWorkflowParams1 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupWorkflowParams2 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupWorkflowParams3 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] Checking for notifyOnEdit 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] Building issue object from map 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.IssueCreationHelper] setting up project 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.IssueCreationHelper] Looking up project by all possibles :PDS 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.IssueCreationHelper] Using project: PDS - Project: PDS 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.IssueCreationHelper] setting up issueType 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.EMHIssueUtils] Setting global default issue type: user Application Ticket 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.IssueCreationHelper] setting up summary 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.IssueCreationHelper] setting up reporter 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.EMHIssueUtils] during create, no overriding reporter set, using email sender id: user@email.com 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.EMHIssueUtils] during comment, found reporterIdVal: user@email.com 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.EMHIssueUtils] User [user@email.com] has projectPermission [11] : true 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.EMHIssueUtils] User user@email.com can create issues: true 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessor] Got successful event: com.javahollic.jira.emh.engine.EMHEventWrapper@48172 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.IssueCreationHelper] setting up comments 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.EMHIssueUtils] Configuring components. 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.IssueCreationHelper] setting up assignee 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.IssueCreationHelper] setting up labels 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.IssueCreationHelper] setting up security level 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.IssueCreationHelper] setting up priority 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.EMHIssueUtils] setupPriority 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.EMHIssueUtils] Looking for priority: major 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.EMHIssueUtils] Checking priority: id=1, name=Blocker 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.EMHIssueUtils] Checking priority: id=2, name=Critical 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.EMHIssueUtils] Checking priority: id=3, name=Major 2012-04-04 10:43:22,314 QuartzWorker-0 INFO [jira.emh.engine.EMHMailUtils] **** HEADER: [Created via e-mail from: A User <user@email.com>] 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.engine.EMHMailUtils] Body match for delimiter regexp [[_]{32}] : false 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.engine.EMHMailUtils] Body match for delimiter regexp [From: .*[ ]Sent: .*[ ]To: .*[ ]Subject: .*[ ]] : false 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.engine.EMHMailUtils] Body match for delimiter regexp [---------- Forwarded message ----------] : false 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessor] FieldProcessor: Basic Mail Processor object details: 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessor] - issueObject created: true 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessor] - projectObject set: true 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessor] - reporter set: true 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessor] - issueTypeObject set: true 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessor] - priorityObject set: true 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessor] A MutableIssue has been successfully created from the configured FieldProcessor. 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] RelatedIssue exists? false, directive defined issueKey set? false == null 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] isCreating: true, parentIssue=false, directiveDefinedIssue=false 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] Saving issue, ready for post-create actions 2012-04-04 10:43:22,321 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] Issue Processing Summary: Created 0 [], Updated 0 [], Commented 0 []. Rejections required: 1 2012-04-04 10:43:22,321 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] No override Recipient for hintOgrams found, using default From: for recipient 2012-04-04 10:43:22,321 QuartzWorker-0 DEBUG [jira.emh.service.AbstractMessageHandler] Rejecting 1 email(s). Returning hints for 0 email(s). 2012-04-04 10:43:22,321 QuartzWorker-0 DEBUG [jira.emh.engine.EmailAliasHelper] findUserByEmail: user@email.com 2012-04-04 10:43:22,321 QuartzWorker-0 DEBUG [jira.emh.engine.DefaultEmailUserLookup] default id lookup impl created 2012-04-04 10:43:22,321 QuartzWorker-0 DEBUG [jira.emh.engine.EmailAliasHelper] setting email address [user@email.com] on provider com.javahollic.jira.emh.engine.DefaultEmailUserLookup 2012-04-04 10:43:22,321 QuartzWorker-0 DEBUG [jira.emh.engine.EmailAliasHelper] calling getAlternateUserIDForEmail() for user@email.com 2012-04-04 10:43:22,321 QuartzWorker-0 DEBUG [jira.emh.engine.EmailAliasHelper] user@email.com 2012-04-04 10:43:22,324 QuartzWorker-0 DEBUG [jira.emh.engine.EmailAliasHelper] Inbound email from user@email.com (associated through exact EMAIL match) with user: name=user@email.com, fullName=user@email.com, primaryEmail: user@email.com 2012-04-04 10:43:22,324 QuartzWorker-0 DEBUG [jira.emh.engine.EmailAliasHelper] User was found (user@email.com)for emailAddress: user@email.com 2012-04-04 10:43:22,335 QuartzWorker-0 DEBUG [jira.emh.service.EMHConfigImpl] Creating i18nBean for user@email.com 2012-04-04 10:43:22,335 QuartzWorker-0 DEBUG [jira.emh.service.EMHConfigImpl] com.atlassian.jira.web.bean.I18nBean@879ec6 2012-04-04 10:43:22,336 QuartzWorker-0 DEBUG [jira.emh.service.EMHConfigImpl] Creating i18nBean for user@email.com 2012-04-04 10:43:22,336 QuartzWorker-0 DEBUG [jira.emh.service.EMHConfigImpl] com.atlassian.jira.web.bean.I18nBean@1c9037e 2012-04-04 10:43:22,340 QuartzWorker-0 DEBUG [jira.emh.service.AbstractMessageHandler] Sending email in plaintext to user@email.com 2012-04-04 10:43:22,427 QuartzWorker-0 ERROR [jira.emh.service.AbstractMessageHandler] Unable to send hint email, configuration problem? : javax.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 554 5.7.1 <user@email.com>: Relay access denied {code}

    JIRA | 5 years ago | rupert rufus
    javax.mail.MessagingException: Unable to load BODYSTRUCTURE
  2. 0

    I am using JIRA 4.4.4 and JEMH .9.9 and IMAP About 5% of the time the emails just get rejected {code} 2012-04-04 10:43:07,132 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] Issue Processing Summary: Created 0 [], Updated 0 [], Commented 0 []. Rejections required: 1 {code} There does not seem to be any reason why, the hint email reports: {code} Some of the fields provided were not valid. Please review the following 1 hints for future reference. Hint #1: -------- Message : An unexpected error occurred during issue creation, type=com.atlassian.jira.exception.CreateException, message=Error occurred while storing issue. {code} Then after a few rejections the plugin stops processing mail with error: {code} Caused by: javax.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 554 5.7.1 <user@email.com>: Relay access denied at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1835) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1098) at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:156) ... 11 more Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 554 5.7.1 <user@email.com>: Relay access denied at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1733) ... 13 more javax.mail.MessagingException: Unable to load BODYSTRUCTURE at com.sun.mail.imap.IMAPMessage.loadBODYSTRUCTURE(IMAPMessage.java:1297) at com.sun.mail.imap.IMAPMessage.getDataHandler(IMAPMessage.java:623) at javax.mail.internet.MimeMessage.getContent(MimeMessage.java:1419) at com.javahollic.jira.emh.service.AbstractMessageHandler.canHandleMessage(AbstractMessageHandler.java:198) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:74) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:216) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) .... 2012-04-04 10:49:03,861 QuartzWorker-0 WARN ServiceRunner PDS IMAP JEMH Service [com.atlassian.mail.MailUtils] Unable to extract text from MIME part with Content-Type 'multipart/mixed; boundary="=_mixed 93FB307EDE0E9927802579D400594507_=" 2012-04-04 10:49:03,861 QuartzWorker-0 WARN ServiceRunner PDS IMAP JEMH Service [com.atlassian.mail.MailUtils] Unable to extract text from MIME part with Content-Type 'multipart/related; boundary="=_related 93FB307EDE0E9927802579D400594507_=" 2012-04-04 10:49:03,861 QuartzWorker-0 WARN ServiceRunner PDS IMAP JEMH Service [com.atlassian.mail.MailUtils] Unable to extract text from MIME part with Content-Type 'multipart/alternative; boundary="=_alternative 93FB307EDE0E9927802579D400594507_=" 2012-04-04 10:49:03,911 QuartzWorker-0 WARN ServiceRunner PDS IMAP JEMH Service [com.atlassian.mail.MailUtils] Unable to extract text from MIME part with Content-Type 'image/gif; name=ecblank.gif 2012-04-04 10:49:03,911 QuartzWorker-0 WARN ServiceRunner PDS IMAP JEMH Service [com.atlassian.mail.MailUtils] Unable to extract text from MIME part with Content-Type 'image/gif; name=pic18007.gif 2012-04-04 10:49:03,912 QuartzWorker-0 WARN ServiceRunner PDS IMAP JEMH Service [com.atlassian.mail.MailUtils] Unable to extract text from MIME part with Content-Type 'multipart/mixed; boundary="=_mixed 93FB307EDE0E9927802579D400594507_=" .... java.io.IOException: Malformed CSV stream. Missing quote at start of field on line 1 at com.mindprod.csv.CSVReader.get(CSVReader.java:404) at com.mindprod.csv.CSVReader.getAllFieldsInLine(CSVReader.java:305) at com.javahollic.jira.emh.processor.CSVFieldProcessor.getFieldMap(CSVFieldProcessor.java:68) at com.javahollic.jira.emh.processor.CSVFieldProcessor.extractFieldsAndBody(CSVFieldProcessor.java:176) at com.javahollic.jira.emh.processor.CSVFieldProcessor.getDirectiveCount(CSVFieldProcessor.java:218) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:115) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:111) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:216) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) javax.mail.MessagingException: CSV Parser unable to get body from email: Malformed CSV stream. Missing quote at start of field on line 1; nested exception is: java.io.IOException: Malformed CSV stream. Missing quote at start of field on line 1 at com.javahollic.jira.emh.processor.CSVFieldProcessor.getFieldMap(CSVFieldProcessor.java:124) at com.javahollic.jira.emh.processor.CSVFieldProcessor.extractFieldsAndBody(CSVFieldProcessor.java:176) at com.javahollic.jira.emh.processor.CSVFieldProcessor.getDirectiveCount(CSVFieldProcessor.java:218) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:115) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:111) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:216) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: java.io.IOException: Malformed CSV stream. Missing quote at start of field on line 1 at com.mindprod.csv.CSVReader.get(CSVReader.java:404) at com.mindprod.csv.CSVReader.getAllFieldsInLine(CSVReader.java:305) at com.javahollic.jira.emh.processor.CSVFieldProcessor.getFieldMap(CSVFieldProcessor.java:68) ... 10 more javax.mail.MessagingException: Unable to load BODYSTRUCTURE at com.sun.mail.imap.IMAPMessage.loadBODYSTRUCTURE(IMAPMessage.java:1297) at com.sun.mail.imap.IMAPMessage.getDataHandler(IMAPMessage.java:623) at javax.mail.internet.MimeMessage.getContent(MimeMessage.java:1419) at com.javahollic.jira.emh.service.AbstractMessageHandler.canHandleMessage(AbstractMessageHandler.java:198) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:74) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:216) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) ... xception in thread "QuartzWorker-1" java.lang.StackOverflowError at java.lang.Character.codePointAt(Unknown Source) at java.util.regex.Pattern$CharProperty.match(Unknown Source) at java.util.regex.Pattern$Curly.match0(Unknown Source) at java.util.regex.Pattern$Curly.match(Unknown Source) at java.util.regex.Pattern$CharProperty.match(Unknown Source) at java.util.regex.Pattern$GroupHead.match(Unknown Source) at java.util.regex.Pattern$Loop.match(Unknown Source) at java.util.regex.Pattern$GroupTail.match(Unknown Source) at java.util.regex.Pattern$Curly.match0(Unknown Source) at java.util.regex.Pattern$Curly.match(Unknown Source) at java.util.regex.Pattern$CharProperty.match(Unknown Source) at java.util.regex.Pattern$GroupHead.match(Unknown Source) at java.util.regex.Pattern$Loop.match(Unknown Source) at java.util.regex.Pattern$GroupTail.match(Unknown Source) at java.util.regex.Pattern$Curly.match0(Unknown Source) .... {code} I know the relaying is disabled, this is intentional The EMH log goes: {code} 2012-04-04 10:43:21,506 QuartzWorker-0 DEBUG [jira.emh.service.CreateOrCommentHandler] com.javahollic.jira.emh.service.WhiteGreyBlackListingHelper$FilterResult@13de05e 2012-04-04 10:43:21,506 QuartzWorker-0 DEBUG [jira.emh.service.CreateOrCommentHandler] Got mail from: A User <user@email.com>, subject: RE: Spanish user Request 2012-04-04 10:43:21,507 QuartzWorker-0 DEBUG [jira.emh.service.EMHConfigImpl] EMH property file loaded through standard getClass.getClassloader: true 2012-04-04 10:43:21,508 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] Message: To: B_User@email.com 2012-04-04 10:43:21,508 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] Message: From: A User <user@email.com> 2012-04-04 10:43:21,508 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] Message: Subject: RE: Spanish user Request 2012-04-04 10:43:21,508 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] Message: Sent: Tue Aug 10 07:53:47 BST 2010 2012-04-04 10:43:21,508 QuartzWorker-0 INFO [jira.emh.service.AbstractMessageHandler] No value set for defaultDirectiveProcessingBehaviour, normal create and comment processing 2012-04-04 10:43:21,508 QuartzWorker-0 DEBUG [jira.emh.service.AbstractMessageHandler] Attempting to find FieldProcessors in package: com.javahollic.jira.emh.processor 2012-04-04 10:43:21,523 QuartzWorker-0 INFO [jira.emh.engine.EMHMailUtils] body ready 2012-04-04 10:43:21,532 QuartzWorker-0 INFO [jira.emh.engine.EMHMailUtils] body ready 2012-04-04 10:43:22,054 QuartzWorker-0 INFO [jira.emh.engine.EMHMailUtils] body ready 2012-04-04 10:43:22,054 QuartzWorker-0 DEBUG [jira.emh.processor.SubjectBasedFieldProcessor] Subject line: RE: Spanish user Request 2012-04-04 10:43:22,072 QuartzWorker-0 DEBUG [jira.emh.processor.CSVFieldProcessor] CSV Parser didnt find enough (> 3 known Jira field names on the first CSV line 2012-04-04 10:43:22,072 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] Tested processor: Basic Mail Processor is new best candidate 2012-04-04 10:43:22,072 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] Running best match (1) FieldProcessor: Basic Mail Processor 2012-04-04 10:43:22,072 QuartzWorker-0 INFO [jira.emh.processor.BasicMailProcessor] Setting up basic 2012-04-04 10:43:22,082 QuartzWorker-0 INFO [jira.emh.engine.EMHMailUtils] body ready 2012-04-04 10:43:22,082 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] getPossibleDefaultProjectBySenderAddress() sender=user@email.com 2012-04-04 10:43:22,082 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] Default project found for domain : none found 2012-04-04 10:43:22,082 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] No project found by directive or projectAutoAssign, falling back to default project 2012-04-04 10:43:22,083 QuartzWorker-0 DEBUG [jira.emh.engine.EMHUserUtils] createUserFromEmail, inetAddr=[user@email.com] 2012-04-04 10:43:22,083 QuartzWorker-0 DEBUG [jira.emh.engine.DefaultEmailUserLookup] default id lookup impl created 2012-04-04 10:43:22,083 QuartzWorker-0 DEBUG [jira.emh.engine.EmailAliasHelper] setting email address [A User <user@email.com>] on provider com.javahollic.jira.emh.engine.DefaultEmailUserLookup 2012-04-04 10:43:22,083 QuartzWorker-0 DEBUG [jira.emh.engine.EmailAliasHelper] calling getAlternateUserIDForEmail() 2012-04-04 10:43:22,083 QuartzWorker-0 DEBUG [jira.emh.engine.EmailAliasHelper] user@email.com 2012-04-04 10:43:22,083 QuartzWorker-0 DEBUG [jira.emh.engine.EMHUserUtils] finding a USERID based on FULL email address 2012-04-04 10:43:22,083 QuartzWorker-0 DEBUG [jira.emh.engine.EMHUserUtils] No createUsersIDFromEmailDomainRestrictions property set, just creating from: user@email.com 2012-04-04 10:43:22,083 QuartzWorker-0 DEBUG [jira.emh.engine.EMHUserUtils] UserID will be: user@email.com 2012-04-04 10:43:22,198 QuartzWorker-0 DEBUG [jira.emh.engine.EMHUserUtils] Auto-joining user to group: user Application Requester 2012-04-04 10:43:22,199 QuartzWorker-0 DEBUG [jira.emh.engine.EMHUserUtils] Created userID=user@email.com, email=user@email.com, fullName=A User, as a member of group: user Application Requester 2012-04-04 10:43:22,199 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] User [user@email.com] has permission [11] : true 2012-04-04 10:43:22,199 QuartzWorker-0 INFO [jira.emh.engine.AbstractFieldProcessorHelper] Fixing up ParentIssueKey 2012-04-04 10:43:22,199 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] Using email subject line as summary 2012-04-04 10:43:22,199 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupComment 2012-04-04 10:43:22,199 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] Using email body as initial description/comment 2012-04-04 10:43:22,199 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupAttachments... 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] Atlassian Mail Utils says there are: 1 attachments. 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupWatchers 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupCustomFieldsAndOperations 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupWorklogParams1 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupWorklogParams2 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupWorklogParams3 - project 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupWorklogParams3 - attachments 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupWorklogParams3 - comment 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupWorklogParams3 - emailSenderAsUser 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupWorklogParams3 - _jemhFallbackSummary 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupWorklogParams3 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupWorkflowParams1 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupWorkflowParams2 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] fixupWorkflowParams3 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessorHelper] Checking for notifyOnEdit 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] Building issue object from map 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.IssueCreationHelper] setting up project 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.IssueCreationHelper] Looking up project by all possibles :PDS 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.IssueCreationHelper] Using project: PDS - Project: PDS 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.IssueCreationHelper] setting up issueType 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.EMHIssueUtils] Setting global default issue type: user Application Ticket 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.IssueCreationHelper] setting up summary 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.IssueCreationHelper] setting up reporter 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.EMHIssueUtils] during create, no overriding reporter set, using email sender id: user@email.com 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.EMHIssueUtils] during comment, found reporterIdVal: user@email.com 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.EMHIssueUtils] User [user@email.com] has projectPermission [11] : true 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.EMHIssueUtils] User user@email.com can create issues: true 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessor] Got successful event: com.javahollic.jira.emh.engine.EMHEventWrapper@48172 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.IssueCreationHelper] setting up comments 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.EMHIssueUtils] Configuring components. 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.IssueCreationHelper] setting up assignee 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.IssueCreationHelper] setting up labels 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.IssueCreationHelper] setting up security level 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.IssueCreationHelper] setting up priority 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.EMHIssueUtils] setupPriority 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.EMHIssueUtils] Looking for priority: major 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.EMHIssueUtils] Checking priority: id=1, name=Blocker 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.EMHIssueUtils] Checking priority: id=2, name=Critical 2012-04-04 10:43:22,312 QuartzWorker-0 DEBUG [jira.emh.engine.EMHIssueUtils] Checking priority: id=3, name=Major 2012-04-04 10:43:22,314 QuartzWorker-0 INFO [jira.emh.engine.EMHMailUtils] **** HEADER: [Created via e-mail from: A User <user@email.com>] 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.engine.EMHMailUtils] Body match for delimiter regexp [[_]{32}] : false 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.engine.EMHMailUtils] Body match for delimiter regexp [From: .*[ ]Sent: .*[ ]To: .*[ ]Subject: .*[ ]] : false 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.engine.EMHMailUtils] Body match for delimiter regexp [---------- Forwarded message ----------] : false 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessor] FieldProcessor: Basic Mail Processor object details: 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessor] - issueObject created: true 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessor] - projectObject set: true 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessor] - reporter set: true 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessor] - issueTypeObject set: true 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessor] - priorityObject set: true 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.engine.AbstractFieldProcessor] A MutableIssue has been successfully created from the configured FieldProcessor. 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] RelatedIssue exists? false, directive defined issueKey set? false == null 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] isCreating: true, parentIssue=false, directiveDefinedIssue=false 2012-04-04 10:43:22,314 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] Saving issue, ready for post-create actions 2012-04-04 10:43:22,321 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] Issue Processing Summary: Created 0 [], Updated 0 [], Commented 0 []. Rejections required: 1 2012-04-04 10:43:22,321 QuartzWorker-0 DEBUG [jira.emh.service.EMHIssueHandler] No override Recipient for hintOgrams found, using default From: for recipient 2012-04-04 10:43:22,321 QuartzWorker-0 DEBUG [jira.emh.service.AbstractMessageHandler] Rejecting 1 email(s). Returning hints for 0 email(s). 2012-04-04 10:43:22,321 QuartzWorker-0 DEBUG [jira.emh.engine.EmailAliasHelper] findUserByEmail: user@email.com 2012-04-04 10:43:22,321 QuartzWorker-0 DEBUG [jira.emh.engine.DefaultEmailUserLookup] default id lookup impl created 2012-04-04 10:43:22,321 QuartzWorker-0 DEBUG [jira.emh.engine.EmailAliasHelper] setting email address [user@email.com] on provider com.javahollic.jira.emh.engine.DefaultEmailUserLookup 2012-04-04 10:43:22,321 QuartzWorker-0 DEBUG [jira.emh.engine.EmailAliasHelper] calling getAlternateUserIDForEmail() for user@email.com 2012-04-04 10:43:22,321 QuartzWorker-0 DEBUG [jira.emh.engine.EmailAliasHelper] user@email.com 2012-04-04 10:43:22,324 QuartzWorker-0 DEBUG [jira.emh.engine.EmailAliasHelper] Inbound email from user@email.com (associated through exact EMAIL match) with user: name=user@email.com, fullName=user@email.com, primaryEmail: user@email.com 2012-04-04 10:43:22,324 QuartzWorker-0 DEBUG [jira.emh.engine.EmailAliasHelper] User was found (user@email.com)for emailAddress: user@email.com 2012-04-04 10:43:22,335 QuartzWorker-0 DEBUG [jira.emh.service.EMHConfigImpl] Creating i18nBean for user@email.com 2012-04-04 10:43:22,335 QuartzWorker-0 DEBUG [jira.emh.service.EMHConfigImpl] com.atlassian.jira.web.bean.I18nBean@879ec6 2012-04-04 10:43:22,336 QuartzWorker-0 DEBUG [jira.emh.service.EMHConfigImpl] Creating i18nBean for user@email.com 2012-04-04 10:43:22,336 QuartzWorker-0 DEBUG [jira.emh.service.EMHConfigImpl] com.atlassian.jira.web.bean.I18nBean@1c9037e 2012-04-04 10:43:22,340 QuartzWorker-0 DEBUG [jira.emh.service.AbstractMessageHandler] Sending email in plaintext to user@email.com 2012-04-04 10:43:22,427 QuartzWorker-0 ERROR [jira.emh.service.AbstractMessageHandler] Unable to send hint email, configuration problem? : javax.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 554 5.7.1 <user@email.com>: Relay access denied {code}

    JIRA | 5 years ago | rupert rufus
    javax.mail.MessagingException: Unable to load BODYSTRUCTURE
  3. 0

    Unable to retrieve signed mail message contents from MS outlook 2007 server

    Oracle Community | 5 years ago | 920129
    javax.mail.MessagingException: Unable to load BODYSTRUCTURE
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    A mailing list for discussion of the JavaMail(tm) API

    gmane.org | 2 years ago
    javax.mail.MessagingException: Unable to load BODYSTRUCTURE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.mail.MessagingException

      Unable to load BODYSTRUCTURE

      at com.sun.mail.imap.IMAPMessage.loadBODYSTRUCTURE()
    2. JavaMail API (compat)
      IMAPMessage.getDataHandler
      1. com.sun.mail.imap.IMAPMessage.loadBODYSTRUCTURE(IMAPMessage.java:1297)
      2. com.sun.mail.imap.IMAPMessage.getDataHandler(IMAPMessage.java:623)
      2 frames
    3. JavaMail API
      MimeMessage.getContent
      1. javax.mail.internet.MimeMessage.getContent(MimeMessage.java:1419)
      1 frame
    4. com.javahollic.jira
      CreateOrCommentHandler.handleMessage
      1. com.javahollic.jira.emh.service.AbstractMessageHandler.canHandleMessage(AbstractMessageHandler.java:198)
      2. com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:74)
      2 frames
    5. com.atlassian.jira
      ServiceRunner.execute
      1. com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:216)
      2. com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60)
      3. com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47)
      3 frames
    6. quartz
      JobRunShell.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:195)
      1 frame
    7. com.atlassian.multitenant
      MultiTenantThreadPool$MultiTenantRunnable.run
      1. com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72)
      1 frame
    8. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      1 frame