javax.mail.MessagingException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • {noformat} 2015-07-03 11:34:36,520 [pool-1163212-thread-1] INFO MessageSourceImapJavaMailImpl -[apmgserviceoperations.atlassian.net]-[/app]- Processing message 1/3 - Subject:4b594d0a9d1c5d00c7a6e19c890489b5 2015-07-03 11:34:38,952 [pool-1163212-thread-1] ERROR ContentTypeMapTask -[apmgserviceoperations.atlassian.net]-[/app]- Unknown error processing email Unable to load BODYSTRUCTURE javax.mail.MessagingException: Unable to load BODYSTRUCTURE at com.sun.mail.imap.IMAPMessage.loadBODYSTRUCTURE(IMAPMessage.java:1306) ~[mail-1.4.7.jar:1.4.7] at com.sun.mail.imap.IMAPMessage.getContentType(IMAPMessage.java:465) ~[mail-1.4.7.jar:1.4.7] at com.thepluginpeople.hydra.util.mail.HydraMailUtils.getMultipart(HydraMailUtils.java:464) ~[hydra-commons-1.1.16.jar:na] at com.thepluginpeople.hydra.util.mail.HydraMailUtils.iterateParts(HydraMailUtils.java:324) ~[hydra-commons-1.1.16.jar:na] at com.thepluginpeople.hydra.util.mail.MessageHeaderPreProcessingTask.processMimeMessage(MessageHeaderPreProcessingTask.java:63) ~[hydra-commons-1.1.16.jar:na] at com.thepluginpeople.hydra.util.mail.HydraMessageMimeImpl.<init>(HydraMessageMimeImpl.java:50) [hydra-commons-1.1.16.jar:na] at com.thepluginpeople.hydra.util.mail.HydraMessageBuilder.inbound(HydraMessageBuilder.java:53) [hydra-commons-1.1.16.jar:na] at com.thepluginpeople.hydra.service.MessageProcessorServiceJiraExceptionHandling.preProcess(MessageProcessorServiceJiraExceptionHandling.java:136) [hydra-service-1.1.16.jar:na] at com.thepluginpeople.hydra.service.MessageProcessorServiceJiraExceptionHandling.processMessage(MessageProcessorServiceJiraExceptionHandling.java:156) [hydra-service-1.1.16.jar:na] at sun.reflect.GeneratedMethodAccessor793.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_72] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_72] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) [spring-aop-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) [spring-aop-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) [spring-aop-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) [spring-tx-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) [spring-tx-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) [spring-tx-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) [spring-aop-4.1.6.RELEASE.jar:4.1.6.RELEASE] at com.sun.proxy.$Proxy177.processMessage(Unknown Source) [na:na] at com.thepluginpeople.hydra.service.MessagePollingServiceImpl.processMessage(MessagePollingServiceImpl.java:188) [hydra-service-1.1.16.jar:na] at com.thepluginpeople.hydra.service.MessagePollingServiceImpl$MessageProcessorImpl.apply(MessagePollingServiceImpl.java:207) [hydra-service-1.1.16.jar:na] at com.thepluginpeople.hydra.service.MessageSourceJavaMailAbstract.processMessages(MessageSourceJavaMailAbstract.java:99) [hydra-service-1.1.16.jar:na] at com.thepluginpeople.hydra.service.MessagePollingServiceImpl.poll(MessagePollingServiceImpl.java:236) [hydra-service-1.1.16.jar:na] at com.thepluginpeople.hydra.service.MessagePollingServiceImpl$2$1.call(MessagePollingServiceImpl.java:140) [hydra-service-1.1.16.jar:na] at com.thepluginpeople.hydra.service.MessagePollingServiceImpl$2$1.call(MessagePollingServiceImpl.java:135) [hydra-service-1.1.16.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_72] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_72] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_72] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_72] {noformat} Seems to be related to - https://confluence.atlassian.com/display/JIRAKB/'MessagingException+creating+comment+Unable+to+load+BODYSTRUCTURE'+Due+to+Digitally+Signed+Email Attached is the original. If I load it, I can run it? With 'use pre-processed message' enabled, there should be no difference between the message used 'live', but I still see the exceptions in sdbtail?
    via by Andy Brook,
  • {noformat} 2015-07-03 11:34:36,520 [pool-1163212-thread-1] INFO MessageSourceImapJavaMailImpl -[apmgserviceoperations.atlassian.net]-[/app]- Processing message 1/3 - Subject:4b594d0a9d1c5d00c7a6e19c890489b5 2015-07-03 11:34:38,952 [pool-1163212-thread-1] ERROR ContentTypeMapTask -[apmgserviceoperations.atlassian.net]-[/app]- Unknown error processing email Unable to load BODYSTRUCTURE javax.mail.MessagingException: Unable to load BODYSTRUCTURE at com.sun.mail.imap.IMAPMessage.loadBODYSTRUCTURE(IMAPMessage.java:1306) ~[mail-1.4.7.jar:1.4.7] at com.sun.mail.imap.IMAPMessage.getContentType(IMAPMessage.java:465) ~[mail-1.4.7.jar:1.4.7] at com.thepluginpeople.hydra.util.mail.HydraMailUtils.getMultipart(HydraMailUtils.java:464) ~[hydra-commons-1.1.16.jar:na] at com.thepluginpeople.hydra.util.mail.HydraMailUtils.iterateParts(HydraMailUtils.java:324) ~[hydra-commons-1.1.16.jar:na] at com.thepluginpeople.hydra.util.mail.MessageHeaderPreProcessingTask.processMimeMessage(MessageHeaderPreProcessingTask.java:63) ~[hydra-commons-1.1.16.jar:na] at com.thepluginpeople.hydra.util.mail.HydraMessageMimeImpl.<init>(HydraMessageMimeImpl.java:50) [hydra-commons-1.1.16.jar:na] at com.thepluginpeople.hydra.util.mail.HydraMessageBuilder.inbound(HydraMessageBuilder.java:53) [hydra-commons-1.1.16.jar:na] at com.thepluginpeople.hydra.service.MessageProcessorServiceJiraExceptionHandling.preProcess(MessageProcessorServiceJiraExceptionHandling.java:136) [hydra-service-1.1.16.jar:na] at com.thepluginpeople.hydra.service.MessageProcessorServiceJiraExceptionHandling.processMessage(MessageProcessorServiceJiraExceptionHandling.java:156) [hydra-service-1.1.16.jar:na] at sun.reflect.GeneratedMethodAccessor793.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_72] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_72] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) [spring-aop-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) [spring-aop-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) [spring-aop-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) [spring-tx-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) [spring-tx-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) [spring-tx-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) [spring-aop-4.1.6.RELEASE.jar:4.1.6.RELEASE] at com.sun.proxy.$Proxy177.processMessage(Unknown Source) [na:na] at com.thepluginpeople.hydra.service.MessagePollingServiceImpl.processMessage(MessagePollingServiceImpl.java:188) [hydra-service-1.1.16.jar:na] at com.thepluginpeople.hydra.service.MessagePollingServiceImpl$MessageProcessorImpl.apply(MessagePollingServiceImpl.java:207) [hydra-service-1.1.16.jar:na] at com.thepluginpeople.hydra.service.MessageSourceJavaMailAbstract.processMessages(MessageSourceJavaMailAbstract.java:99) [hydra-service-1.1.16.jar:na] at com.thepluginpeople.hydra.service.MessagePollingServiceImpl.poll(MessagePollingServiceImpl.java:236) [hydra-service-1.1.16.jar:na] at com.thepluginpeople.hydra.service.MessagePollingServiceImpl$2$1.call(MessagePollingServiceImpl.java:140) [hydra-service-1.1.16.jar:na] at com.thepluginpeople.hydra.service.MessagePollingServiceImpl$2$1.call(MessagePollingServiceImpl.java:135) [hydra-service-1.1.16.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_72] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_72] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_72] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_72] {noformat} Seems to be related to - https://confluence.atlassian.com/display/JIRAKB/'MessagingException+creating+comment+Unable+to+load+BODYSTRUCTURE'+Due+to+Digitally+Signed+Email Attached is the original. If I load it, I can run it? With 'use pre-processed message' enabled, there should be no difference between the message used 'live', but I still see the exceptions in sdbtail?
    via by Andy Brook,
  • Requesting Delivery Reports
    via by 843830,
  • gmail - Unable to load BODYSTRUCTURE
    via by 843834,
    • javax.mail.MessagingException: Unable to load BODYSTRUCTURE at com.sun.mail.imap.IMAPMessage.loadBODYSTRUCTURE(IMAPMessage.java:1306)[mail-1.4.7.jar:1.4.7] at com.sun.mail.imap.IMAPMessage.getContentType(IMAPMessage.java:465)[mail-1.4.7.jar:1.4.7] at com.thepluginpeople.hydra.util.mail.HydraMailUtils.getMultipart(HydraMailUtils.java:464)[hydra-commons-1.1.16.jar:na] at com.thepluginpeople.hydra.util.mail.HydraMailUtils.iterateParts(HydraMailUtils.java:324)[hydra-commons-1.1.16.jar:na] at com.thepluginpeople.hydra.util.mail.MessageHeaderPreProcessingTask.processMimeMessage(MessageHeaderPreProcessingTask.java:63)[hydra-commons-1.1.16.jar:na] at com.thepluginpeople.hydra.util.mail.HydraMessageMimeImpl.<init>(HydraMessageMimeImpl.java:50)[hydra-commons-1.1.16.jar:na] at com.thepluginpeople.hydra.util.mail.HydraMessageBuilder.inbound(HydraMessageBuilder.java:53)[hydra-commons-1.1.16.jar:na] at com.thepluginpeople.hydra.service.MessageProcessorServiceJiraExceptionHandling.preProcess(MessageProcessorServiceJiraExceptionHandling.java:136)[hydra-service-1.1.16.jar:na] at com.thepluginpeople.hydra.service.MessageProcessorServiceJiraExceptionHandling.processMessage(MessageProcessorServiceJiraExceptionHandling.java:156)[hydra-service-1.1.16.jar:na] at sun.reflect.GeneratedMethodAccessor793.invoke(Unknown Source)[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_72] at java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_72] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)[spring-aop-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)[spring-aop-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)[spring-tx-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)[spring-tx-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)[spring-tx-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)[spring-aop-4.1.6.RELEASE.jar:4.1.6.RELEASE] at com.sun.proxy.$Proxy177.processMessage(Unknown Source)[na:na] at com.thepluginpeople.hydra.service.MessagePollingServiceImpl.processMessage(MessagePollingServiceImpl.java:188)[hydra-service-1.1.16.jar:na] at com.thepluginpeople.hydra.service.MessagePollingServiceImpl$MessageProcessorImpl.apply(MessagePollingServiceImpl.java:207)[hydra-service-1.1.16.jar:na] at com.thepluginpeople.hydra.service.MessageSourceJavaMailAbstract.processMessages(MessageSourceJavaMailAbstract.java:99)[hydra-service-1.1.16.jar:na] at com.thepluginpeople.hydra.service.MessagePollingServiceImpl.poll(MessagePollingServiceImpl.java:236)[hydra-service-1.1.16.jar:na] at com.thepluginpeople.hydra.service.MessagePollingServiceImpl$2$1.call(MessagePollingServiceImpl.java:140)[hydra-service-1.1.16.jar:na] at com.thepluginpeople.hydra.service.MessagePollingServiceImpl$2$1.call(MessagePollingServiceImpl.java:135)[hydra-service-1.1.16.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262)[na:1.7.0_72] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_72] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_72] at java.lang.Thread.run(Thread.java:745)[na:1.7.0_72]

    Users with the same issue

    Unknown visitor1 times, last one,