com.atlassian.confluence.core.ConfluenceException

Could not store incoming mail: null

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web7

  • via Atlassian JIRA by Michael Trezzi, 11 months ago
    Could not store incoming mail: null
  • via Atlassian JIRA by Michael Trezzi, 1 year ago
    Could not store incoming mail: null
  • via Atlassian JIRA by Sasa Markovic, 11 months ago
    Could not store incoming mail: null
  • Stack trace

    • com.atlassian.confluence.core.ConfluenceException: Could not store incoming mail: null at com.atlassian.confluence.mail.DefaultMailContentManager.storeIncomingMail(DefaultMailContentManager.java:222) at sun.reflect.GeneratedMethodAccessor57.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:16) 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 $Proxy13.storeIncomingMail(Unknown Source) at com.atlassian.confluence.mail.DefaultMailAccountManager.storeMessage(DefaultMailAccountManager.java:139) at com.atlassian.confluence.mail.DefaultMailAccountManager.poll(DefaultMailAccountManager.java:90) at com.atlassian.confluence.mail.DefaultMailAccountManager.poll(DefaultMailAccountManager.java:48) at com.atlassian.confluence.mail.DefaultMailAccountManager.pollAllSpaces(DefaultMailAccountManager.java:274) at sun.reflect.GeneratedMethodAccessor133.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 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 $Proxy20.pollAllSpaces(Unknown Source) at com.atlassian.confluence.mail.jobs.MailPollJob.executeInternal(MailPollJob.java:19) 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: java.lang.NullPointerException at com.sun.mail.handlers.text_plain.writeTo(text_plain.java:105) at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:839) at javax.activation.DataHandler.writeTo(DataHandler.java:295) at javax.mail.internet.MimeUtility.getEncoding(MimeUtility.java:230) at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1065) at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:1923) at javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:1904) at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1604) at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1583) at com.atlassian.confluence.mail.Mail.setMimeMessage(Mail.java:220) at com.atlassian.confluence.mail.DefaultMailContentManager.storeIncomingMail(DefaultMailContentManager.java:210) ... 30 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.