Details
-
Bug
-
Resolution: Invalid
-
Medium
-
None
-
2.2.9
-
Linux 2.4.18-6mdkenterprise #1 SMP i686, Tomcat 4.1.29, Sun Java 1.4.2-b28, HSQL-Db, default Confluence installation
Description
Hi,
It looks like Confluence has a bug related to mail imports. The message from the attachment could not be parsed. Confluence constantly reports "1 mail imported", but the message is left on the mail server (POP) forever, even after several retries.
I have removed this message from the server manually and the mail import functinonality is restored. But all my previously imported mails (dozens of them) ARE LOST Emails could have disappeared for some other resaon, though...
We are using the latest trial version (we bought a license too, but we are still playing with the old, HSQL-based installation, Version: 2.2.9 Build:#527 Sep 07, 2006).
I have searched log files, and found the following message:
2006-10-10 10:36:00,132 WARN [atlassian.confluence.mail.DefaultMailAccountManager] retrieveMessages Could not store message within Confluence:
[com.sun.mail.pop3.POP3Message@a852b] - this message will be left on the server
com.atlassian.confluence.core.ConfluenceException: Could not store incoming mail: null
at com.atlassian.confluence.mail.DefaultMailContentManager.storeIncomingMail(DefaultMailContentManager.java:237)
at sun.reflect.GeneratedMethodAccessor305.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116)
at com.atlassian.confluence.util.profiling.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:18)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152)
at $Proxy31.storeIncomingMail(Unknown Source)
at com.atlassian.confluence.mail.DefaultMailAccountManager.retrieveMessages(DefaultMailAccountManager.java:135)
at com.atlassian.confluence.mail.DefaultMailAccountManager.poll(DefaultMailAccountManager.java:88)
at com.atlassian.confluence.mail.DefaultMailAccountManager.poll(DefaultMailAccountManager.java:57)
at com.atlassian.confluence.mail.DefaultMailAccountManager.pollAllSpaces(DefaultMailAccountManager.java:239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152)
at $Proxy41.pollAllSpaces(Unknown Source)
at com.atlassian.confluence.mail.jobs.MailPollJob.executeInternal(MailPollJob.java:29)
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:66)
at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
Caused by: javax.mail.internet.ParseException
at javax.mail.internet.ParameterList.<init>(ParameterList.java:61)
at javax.mail.internet.ContentType.<init>(ContentType.java:83)
at javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:269)
at javax.mail.internet.MimeMultipart.getCount(MimeMultipart.java:159)
at com.atlassian.mail.MailUtils.getFirstInlinePartWithMimeType(MailUtils.java:369)
at com.atlassian.mail.MailUtils.getBodyFromMultipart(MailUtils.java:343)
at com.atlassian.mail.MailUtils.getBody(MailUtils.java:116)
at com.atlassian.confluence.mail.DefaultMailContentManager.storeIncomingMail(DefaultMailContentManager.java:222)
... 31 more