javax.mail.MessagingException: Not connected

geronimo-dev | Bjorn Danielsson (JIRA) | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Re: TomEE/JavaMail: Unexpected command IMAP command error

    openejb-users | 4 years ago | Howard W. Smith, Jr.
    javax.mail.MessagingException: Not connected
  2. 0

    Re: TomEE/JavaMail: Unexpected command IMAP command error

    openejb-users | 4 years ago | Howard W. Smith, Jr.
    javax.mail.MessagingException: Not connected
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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

      Not connected

      at org.apache.geronimo.javamail.store.imap.IMAPStore.checkConnectionStatus()
    2. Geronimo JavaMail
      IMAPStore.getFolder
      1. org.apache.geronimo.javamail.store.imap.IMAPStore.checkConnectionStatus(IMAPStore.java:353)
      2. org.apache.geronimo.javamail.store.imap.IMAPStore.getDefaultFolder(IMAPStore.java:204)
      3. org.apache.geronimo.javamail.store.imap.IMAPStore.getFolder(IMAPStore.java:224)
      3 frames
    3. utils.mail
      EmailStatelessBean.getEmails
      1. utils.mail.EmailHandler.getMessagesFromFolder(EmailHandler.java:130)
      2. utils.mail.EmailHandler.loadEmailsFromInbox(EmailHandler.java:113)
      3. utils.mail.EmailStatelessBean.getEmails(EmailStatelessBean.java:52)
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:601)
      4 frames
    5. OpenEJB :: OSGi :: Core
      CdiInterceptor.aroundInvoke
      1. org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:181)
      2. org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:163)
      3. org.apache.openejb.cdi.CdiInterceptor.invoke(CdiInterceptor.java:128)
      4. org.apache.openejb.cdi.CdiInterceptor.access$000(CdiInterceptor.java:43)
      5. org.apache.openejb.cdi.CdiInterceptor$1.call(CdiInterceptor.java:64)
      6. org.apache.openejb.cdi.CdiInterceptor.aroundInvoke(CdiInterceptor.java:70)
      6 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:601)
      4 frames
    7. OpenEJB :: OSGi :: Core
      StatsInterceptor.AroundTimeout
      1. org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:181)
      2. org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:163)
      3. org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:176)
      4. org.apache.openejb.monitoring.StatsInterceptor.AroundTimeout(StatsInterceptor.java:140)
      4 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:601)
      4 frames
    9. OpenEJB :: OSGi :: Core
      EjbTimeoutJob.execute
      1. org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:181)
      2. org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:163)
      3. org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:138)
      4. org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:237)
      5. org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:189)
      6. org.apache.openejb.core.timer.EjbTimerServiceImpl.ejbTimeout(EjbTimerServiceImpl.java:569)
      7. org.apache.openejb.core.timer.EjbTimeoutJob.execute(EjbTimeoutJob.java:39)
      7 frames
    10. quartz
      JobRunShell.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:213)
      1 frame
    11. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      3. java.lang.Thread.run(Thread.java:722)
      3 frames