com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 552 Error: message too large

Atlassian JIRA | Jed Wesley-Smith | 10 years ago
  1. 0

    On support.atlassian.com we are seeing the following during processing of our mail queue. {noformat} 2007-03-08 18:57:12,332 JiraQuartzScheduler_Worker-2 ERROR [service.util.handler.AbstractMessageHandler] Error occurred while automatically creating a new user from email: com.opensymphony.user.DuplicateEntityException: The user jira@example.com already exists. at com.atlassian.core.user.UserUtils.createUser(UserUtils.java:181) at com.atlassian.core.user.UserUtils.createUser(UserUtils.java:171) at com.atlassian.jira.util.JiraUserUtils.createJiraUser(JiraUserUtils.java:74) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createUserForReporter(AbstractMessageHandler.java:542) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.getReporter(AbstractMessageHandler.java:485) at com.atlassian.jira.toolkit.service.handler.CreateSupportIssueHandler.handleMessage(CreateSupportIssueHandler.java:101) at com.atlassian.jira.toolkit.service.handler.CreateSupportIssueHandler.handleMessage(CreateSupportIssueHandler.java:80) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:190) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2007-03-08 18:57:12,332 JiraQuartzScheduler_Worker-2 WARN [toolkit.service.handler.CreateSupportIssueHandler] Sender is anonymous, no default reporter specified and creating users is set to false. Message rejected. {noformat} this is then closely followed by: {noformat} 2007-03-08 18:57:15,589 JiraQuartzScheduler_Worker-2 ERROR [service.services.mail.MailFetcherService] Throwable: com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 552 Error: message too large com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 552 Error: message too large at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:183) at com.atlassian.jira.service.services.mail.MailFetcherService.sendMail(MailFetcherService.java:353) at com.atlassian.jira.service.services.mail.MailFetcherService.forwardEmail(MailFetcherService.java:319) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:194) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) Caused by: com.sun.mail.smtp.SMTPSendFailedException: 552 Error: message too large at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1275) at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1149) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:527) at javax.mail.Transport.send0(Transport.java:151) at javax.mail.Transport.send(Transport.java:80) at alt.javax.mail.TransportImpl.send(TransportImpl.java:18) at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:169) ... 7 more {noformat}

    Atlassian JIRA | 10 years ago | Jed Wesley-Smith
    com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 552 Error: message too large
  2. 0

    On support.atlassian.com we are seeing the following during processing of our mail queue. {noformat} 2007-03-08 18:57:12,332 JiraQuartzScheduler_Worker-2 ERROR [service.util.handler.AbstractMessageHandler] Error occurred while automatically creating a new user from email: com.opensymphony.user.DuplicateEntityException: The user jira@example.com already exists. at com.atlassian.core.user.UserUtils.createUser(UserUtils.java:181) at com.atlassian.core.user.UserUtils.createUser(UserUtils.java:171) at com.atlassian.jira.util.JiraUserUtils.createJiraUser(JiraUserUtils.java:74) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createUserForReporter(AbstractMessageHandler.java:542) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.getReporter(AbstractMessageHandler.java:485) at com.atlassian.jira.toolkit.service.handler.CreateSupportIssueHandler.handleMessage(CreateSupportIssueHandler.java:101) at com.atlassian.jira.toolkit.service.handler.CreateSupportIssueHandler.handleMessage(CreateSupportIssueHandler.java:80) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:190) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2007-03-08 18:57:12,332 JiraQuartzScheduler_Worker-2 WARN [toolkit.service.handler.CreateSupportIssueHandler] Sender is anonymous, no default reporter specified and creating users is set to false. Message rejected. {noformat} this is then closely followed by: {noformat} 2007-03-08 18:57:15,589 JiraQuartzScheduler_Worker-2 ERROR [service.services.mail.MailFetcherService] Throwable: com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 552 Error: message too large com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 552 Error: message too large at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:183) at com.atlassian.jira.service.services.mail.MailFetcherService.sendMail(MailFetcherService.java:353) at com.atlassian.jira.service.services.mail.MailFetcherService.forwardEmail(MailFetcherService.java:319) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:194) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) Caused by: com.sun.mail.smtp.SMTPSendFailedException: 552 Error: message too large at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1275) at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1149) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:527) at javax.mail.Transport.send0(Transport.java:151) at javax.mail.Transport.send(Transport.java:80) at alt.javax.mail.TransportImpl.send(TransportImpl.java:18) at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:169) ... 7 more {noformat}

    Atlassian JIRA | 10 years ago | Jed Wesley-Smith
    com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 552 Error: message too large
  3. 0

    JIRA - User - Configure JIRA to use GMail as its SMTP Server

    nabble.com | 1 year ago
    com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. f21sm10971771rvb.5
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    This was discovered on JAC. The reason the mail was not able to be sent was that the message was too large {noformat} 2008-07-24 21:35:14,005 http-j2ee.jira.atlassian.com%2F127.0.0.101-8080-Processor20 ERROR [web.action.admin.JiraSupportRequest] Unable able to send Support Request com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 552 Error: message too large at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:191) at com.atlassian.mail.queue.SingleMailQueueItem.send(SingleMailQueueItem.java:47) at com.atlassian.jira.web.action.admin.JiraSupportRequest.sendEmail(JiraSupportRequest.java:234) at com.atlassian.jira.web.action.admin.JiraSupportRequest.doExecute(JiraSupportRequest.java:216) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:211) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55) at com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:38) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:192) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:120) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at com.atlassian.jira.web.filters.JIRAProfilingFilter.doFilter(JIRAProfilingFilter.java:16) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(ActionCleanupDelayFilter.java:43) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.filters.RequestCleanupFilter.doFilter(RequestCleanupFilter.java:50) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:350) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:79) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.appconsistency.db.DatabaseCompatibilityEnforcerFilter.doFilter(DatabaseCompatibilityEnforcerFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.hyperic.hq.product.servlet.filter.JMXFilter.doFilter(JMXFilter.java:324) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:619) Caused by: com.sun.mail.smtp.SMTPSendFailedException: 552 Error: message too large at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1275) at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1149) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:527) at javax.mail.Transport.send0(Transport.java:151) at javax.mail.Transport.send(Transport.java:80) at alt.javax.mail.TransportImpl.send(TransportImpl.java:18) at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:177) ... 67 more {noformat} When an exception is thrown we assume that the array returned from getInvalidAddresses() will be non-null which is not always true. We need to fix this code such that we check for the array's null-ness

    Atlassian JIRA | 8 years ago | Dylan Etkin [Atlassian]
    com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 552 Error: message too large
  6. 0

    This was discovered on JAC. The reason the mail was not able to be sent was that the message was too large {noformat} 2008-07-24 21:35:14,005 http-j2ee.jira.atlassian.com%2F127.0.0.101-8080-Processor20 ERROR [web.action.admin.JiraSupportRequest] Unable able to send Support Request com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 552 Error: message too large at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:191) at com.atlassian.mail.queue.SingleMailQueueItem.send(SingleMailQueueItem.java:47) at com.atlassian.jira.web.action.admin.JiraSupportRequest.sendEmail(JiraSupportRequest.java:234) at com.atlassian.jira.web.action.admin.JiraSupportRequest.doExecute(JiraSupportRequest.java:216) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:211) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55) at com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:38) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:192) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:120) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at com.atlassian.jira.web.filters.JIRAProfilingFilter.doFilter(JIRAProfilingFilter.java:16) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(ActionCleanupDelayFilter.java:43) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.filters.RequestCleanupFilter.doFilter(RequestCleanupFilter.java:50) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:350) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:79) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.appconsistency.db.DatabaseCompatibilityEnforcerFilter.doFilter(DatabaseCompatibilityEnforcerFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.hyperic.hq.product.servlet.filter.JMXFilter.doFilter(JMXFilter.java:324) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:619) Caused by: com.sun.mail.smtp.SMTPSendFailedException: 552 Error: message too large at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1275) at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1149) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:527) at javax.mail.Transport.send0(Transport.java:151) at javax.mail.Transport.send(Transport.java:80) at alt.javax.mail.TransportImpl.send(TransportImpl.java:18) at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:177) ... 67 more {noformat} When an exception is thrown we assume that the array returned from getInvalidAddresses() will be non-null which is not always true. We need to fix this code such that we check for the array's null-ness

    Atlassian JIRA | 8 years ago | Dylan Etkin [Atlassian]
    com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 552 Error: message too large

  1. abrazeneb 1 times, last 4 months ago
39 unregistered visitors
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. com.sun.mail.smtp.SMTPSendFailedException

    552 Error: message too large

    at com.sun.mail.smtp.SMTPTransport.issueSendCommand()
  2. JavaMail API (compat)
    SMTPTransport.sendMessage
    1. com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1275)
    2. com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1149)
    3. com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:527)
    3 frames
  3. JavaMail API
    Transport.send
    1. javax.mail.Transport.send0(Transport.java:151)
    2. javax.mail.Transport.send(Transport.java:80)
    2 frames
  4. alt.javax.mail
    TransportImpl.send
    1. alt.javax.mail.TransportImpl.send(TransportImpl.java:18)
    1 frame
  5. com.atlassian.mail
    SMTPMailServerImpl.send
    1. com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:169)
    1 frame
  6. com.atlassian.jira
    ServiceRunner.execute
    1. com.atlassian.jira.service.services.mail.MailFetcherService.sendMail(MailFetcherService.java:353)
    2. com.atlassian.jira.service.services.mail.MailFetcherService.forwardEmail(MailFetcherService.java:319)
    3. com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:194)
    4. com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67)
    5. com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48)
    5 frames
  7. quartz
    SimpleThreadPool$WorkerThread.run
    1. org.quartz.core.JobRunShell.run(JobRunShell.java:191)
    2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
    2 frames