javax.mail.MessagingException: Unable to load BODYSTRUCTURE

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by Andy Brook, 1 year ago
Unable to load BODYSTRUCTURE
via JIRA by Andy Brook, 1 year ago
Unable to load BODYSTRUCTURE
via Oracle Community by 843830, 1 year ago
via gmane.org by Unknown author, 1 year ago
via Oracle Community by 843834, 1 year ago
Unable to load BODYSTRUCTURE
javax.mail.MessagingException: Unable to load BODYSTRUCTURE
at com.sun.mail.imap.IMAPMessage.loadBODYSTRUCTURE(IMAPMessage.java:1306)
at com.thepluginpeople.hydra.util.mail.HydraMailUtils.getMultipart(HydraMailUtils.java:464)
at com.thepluginpeople.hydra.util.mail.HydraMailUtils.iterateParts(HydraMailUtils.java:324)
at com.thepluginpeople.hydra.util.mail.MessageHeaderPreProcessingTask.processMimeMessage(MessageHeaderPreProcessingTask.java:63)
at com.thepluginpeople.hydra.util.mail.HydraMessageMimeImpl.(HydraMessageMimeImpl.java:50)
at com.thepluginpeople.hydra.util.mail.HydraMessageBuilder.inbound(HydraMessageBuilder.java:53)
at com.thepluginpeople.hydra.service.MessageProcessorServiceJiraExceptionHandling.preProcess(MessageProcessorServiceJiraExceptionHandling.java:136)
at com.thepluginpeople.hydra.service.MessageProcessorServiceJiraExceptionHandling.processMessage(MessageProcessorServiceJiraExceptionHandling.java:156)
at sun.reflect.GeneratedMethodAccessor793.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at com.sun.proxy.$Proxy177.processMessage(Unknown Source)
at com.thepluginpeople.hydra.service.MessagePollingServiceImpl.processMessage(MessagePollingServiceImpl.java:188)
at com.thepluginpeople.hydra.service.MessagePollingServiceImpl$MessageProcessorImpl.apply(MessagePollingServiceImpl.java:207)
at com.thepluginpeople.hydra.service.MessageSourceJavaMailAbstract.processMessages(MessageSourceJavaMailAbstract.java:99)
at com.thepluginpeople.hydra.service.MessagePollingServiceImpl.poll(MessagePollingServiceImpl.java:236)
at com.thepluginpeople.hydra.service.MessagePollingServiceImpl$2$1.call(MessagePollingServiceImpl.java:140)
at com.thepluginpeople.hydra.service.MessagePollingServiceImpl$2$1.call(MessagePollingServiceImpl.java:135)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.