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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.
javax.mail.MessagingException: Unable to load BODYSTRUCTURE
at com.sun.mail.imap.IMAPMessage.loadBODYSTRUCTURE(IMAPMessage.java:1244)
at org.moqui.impl.service.EmailEcaRule.makeBodyPartList(EmailEcaRule.groovy:129)
at org.moqui.impl.service.EmailEcaRule.runIfMatches(EmailEcaRule.groovy:91)
at org.moqui.impl.service.ServiceFacadeImpl.runEmecaRules(ServiceFacadeImpl.groovy:442)
at undefined.pollEmailServerIn_groovy.run(pollEmailServerIn_groovy:89)
at org.moqui.impl.context.runner.GroovyScriptRunner.run(GroovyScriptRunner.groovy:49)
at org.moqui.impl.context.ResourceFacadeImpl.script(ResourceFacadeImpl.groovy:357)
at org.moqui.impl.service.runner.ScriptServiceRunner.runService(ScriptServiceRunner.groovy:50)
at org.moqui.impl.service.ServiceCallSyncImpl.callSingle(ServiceCallSyncImpl.groovy:313)
at org.moqui.impl.service.ServiceCallSyncImpl.call(ServiceCallSyncImpl.groovy:163)
at undefined.RcServicesEmail_poll_AllEmail.run(RcServicesEmail_poll_AllEmail:14)
at org.moqui.impl.actions.XmlAction.run(XmlAction.groovy:67)
at org.moqui.impl.service.runner.InlineServiceRunner.runService(InlineServiceRunner.groovy:54)
at org.moqui.impl.service.ServiceCallSyncImpl.callSingle(ServiceCallSyncImpl.groovy:313)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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