javax.mail.FolderClosedException

JIRA | Salman Muhamamd | 3 years ago
  1. 0

    is jemh have some limit to email size? when I recived a big emial have many picture, the email total size >5MBps, the JEMH cann't Processed ; {code} FolderClosedException: null: javax.mail.FolderClosedException at com.sun.mail.imap.IMAPMessage.getProtocol(IMAPMessage.java:145) at com.sun.mail.imap.IMAPMessage.loadEnvelope(IMAPMessage.java:1221) at com.sun.mail.imap.IMAPMessage.getSubject(IMAPMessage.java:335) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:231) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerProxy.handleMessage(EnterpriseMessageHandlerProxy.java:45) at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:368) at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:271) at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:356) at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:252) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) 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) {code}

    JIRA | 4 years ago | djbdjb00djb
    javax.mail.FolderClosedException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    When a FolderClosed exception occurs, this is caused by the MailServer closing the connection that JIRA opened: h3. Exception: {noformat} FolderClosedException: null: javax.mail.FolderClosedException at com.sun.mail.imap.IMAPMessage.getProtocol(IMAPMessage.java:145) at com.sun.mail.imap.IMAPMessage.loadEnvelope(IMAPMessage.java:1221) at com.sun.mail.imap.IMAPMessage.getSubject(IMAPMessage.java:335) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.initAuditEvent(EnterpriseMessageHandlerImpl.java:934) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:227) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerProxy.handleMessage(EnterpriseMessageHandlerProxy.java:46) at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:438) at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:304) at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:426) at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:261) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:66) at com.atlassian.jira.service.ServiceRunner.runService(ServiceRunner.java:75) at com.atlassian.jira.service.ServiceRunner.runServiceId(ServiceRunner.java:53) at com.atlassian.jira.service.ServiceRunner.runJob(ServiceRunner.java:36) {noformat} It leaves JEMH in limbo, and, the outcome of the processing (that JEMH returns to JIRA) is FALSE (not handled, dont delete). JIRA seems to had this same message back again in quick succession: h3. Auditing !screenshot-1.png|thumbnail! JIRA Resources relating to this: - https://confluence.atlassian.com/jirakb/jira-stops-creating-tickets-from-emails-330795303.html

    JIRA | 9 months ago | Michael Harrison
    javax.mail.FolderClosedException
  4. 0

    JavaMail intermittently throws FolderClosedExcpetion on IMAPMessage.loadEnvelope()

    Stack Overflow | 4 years ago | lars-august
    javax.mail.FolderClosedException: * BYE [ALERT] Fatal error: Invalid argument

    1 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. javax.mail.FolderClosedException

      No message provided

      at com.sun.mail.imap.IMAPMessage.getProtocol()
    2. JavaMail API (compat)
      IMAPMessage.getSubject
      1. com.sun.mail.imap.IMAPMessage.getProtocol(IMAPMessage.java:145)
      2. com.sun.mail.imap.IMAPMessage.loadEnvelope(IMAPMessage.java:1221)
      3. com.sun.mail.imap.IMAPMessage.getSubject(IMAPMessage.java:335)
      3 frames
    3. com.javahollic.jira
      EnterpriseMessageHandlerProxy.handleMessage
      1. com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:252)
      2. com.javahollic.jira.emh.service.EnterpriseMessageHandlerProxy.handleMessage(EnterpriseMessageHandlerProxy.java:45)
      2 frames
    4. com.atlassian.jira
      ServiceRunner.execute
      1. com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:368)
      2. com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:271)
      3. com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:356)
      4. com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:257)
      5. com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61)
      6. com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48)
      6 frames
    5. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:195)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      2 frames