Skip to content

Instantly share code, notes, and snippets.

Created June 11, 2015 19:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/d9eafdaa2b62436bfe11 to your computer and use it in GitHub Desktop.
Save anonymous/d9eafdaa2b62436bfe11 to your computer and use it in GitHub Desktop.
javax.mail.MessagingException: Unable to load BODYSTRUCTURE
at com.sun.mail.imap.IMAPMessage.loadBODYSTRUCTURE(IMAPMessage.java:1571)
at com.sun.mail.imap.IMAPMessage.getDataHandler(IMAPMessage.java:765)
at javax.mail.internet.MimeMessage.getContent(MimeMessage.java:1459)
at com.openexchange.imap.command.MailMessageFetchIMAPCommand$BODYSTRUCTUREFetchItemHandler.handleMessage(MailMessageFetchIMAPCommand.java:1083)
at com.openexchange.imap.command.MailMessageFetchIMAPCommand.handleMessage(MailMessageFetchIMAPCommand.java:367)
at com.openexchange.imap.command.MailMessageFetchIMAPCommand.handleMessage(MailMessageFetchIMAPCommand.java:353)
at com.openexchange.imap.command.MailMessageFetchIMAPCommand.getReturnVal(MailMessageFetchIMAPCommand.java:324)
at com.openexchange.imap.command.MailMessageFetchIMAPCommand.getReturnVal(MailMessageFetchIMAPCommand.java:112)
at com.openexchange.imap.command.AbstractIMAPCommand$CallbackIMAPProtocolCommand.doCommand(AbstractIMAPCommand.java:183)
at com.sun.mail.imap.IMAPFolder.doProtocolCommand(IMAPFolder.java:3659)
at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:3609)
at com.openexchange.imap.command.AbstractIMAPCommand.doCommand(AbstractIMAPCommand.java:208)
at com.openexchange.imap.IMAPMessageStorage.fetchSortAndSlice(IMAPMessageStorage.java:1648)
at com.openexchange.imap.IMAPMessageStorage.performIMAPSearch(IMAPMessageStorage.java:1583)
at com.openexchange.imap.IMAPMessageStorage.searchMessages(IMAPMessageStorage.java:1481)
at com.openexchange.imap.IMAPMessageStorage.searchMessages(IMAPMessageStorage.java:1457)
at com.openexchange.mail.MailServletInterfaceImpl.getMessageRange(MailServletInterfaceImpl.java:1908)
at com.openexchange.mail.MailServletInterfaceImpl.getMessagesInternal(MailServletInterfaceImpl.java:1791)
at com.openexchange.mail.MailServletInterfaceImpl.getMessages(MailServletInterfaceImpl.java:1754)
at com.openexchange.mail.MailServletInterfaceImpl.getAllMessages(MailServletInterfaceImpl.java:772)
at com.openexchange.mail.json.actions.AllAction.perform0(AllAction.java:367)
at com.openexchange.mail.json.actions.AllAction.perform(AllAction.java:212)
at com.openexchange.mail.json.actions.AbstractMailAction.perform(AbstractMailAction.java:201)
at com.openexchange.ajax.requesthandler.DefaultDispatcher.perform(DefaultDispatcher.java:254)
at com.openexchange.ajax.requesthandler.DispatcherServlet.handle(DispatcherServlet.java:386)
at com.openexchange.ajax.requesthandler.DispatcherServlet.doGet(DispatcherServlet.java:309)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at com.openexchange.ajax.AJAXServlet.service(AJAXServlet.java:528)
at com.openexchange.ajax.SessionServlet.service(SessionServlet.java:168)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.openexchange.http.grizzly.service.http.OSGiServletHandler$FilterChainImpl.doFilter(OSGiServletHandler.java:445)
at com.openexchange.http.grizzly.servletfilter.RequestReportingFilter.doFilter(RequestReportingFilter.java:135)
at com.openexchange.http.grizzly.service.http.OSGiServletHandler$FilterChainImpl.doFilter(OSGiServletHandler.java:435)
at com.openexchange.http.grizzly.servletfilter.WrappingFilter.doFilter(WrappingFilter.java:234)
at com.openexchange.http.grizzly.service.http.OSGiServletHandler$FilterChainImpl.doFilter(OSGiServletHandler.java:435)
at com.openexchange.http.grizzly.service.http.OSGiAuthFilter.doFilter(OSGiAuthFilter.java:140)
at com.openexchange.http.grizzly.service.http.OSGiServletHandler$FilterChainImpl.doFilter(OSGiServletHandler.java:435)
at com.openexchange.http.grizzly.service.http.OSGiServletHandler$FilterChainImpl.invokeFilterChain(OSGiServletHandler.java:413)
at org.glassfish.grizzly.servlet.ServletHandler.doServletService(ServletHandler.java:252)
at org.glassfish.grizzly.servlet.ServletHandler.service(ServletHandler.java:194)
at com.openexchange.http.grizzly.service.http.OSGiMainHandler.service(OSGiMainHandler.java:195)
at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:164)
at org.glassfish.grizzly.http.server.HttpHandlerChain.service(HttpHandlerChain.java:196)
at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:164)
at org.glassfish.grizzly.http.server.OXHttpServerFilter.handleRead(OXHttpServerFilter.java:351)
at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:265)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:134)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:78)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:770)
at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment