[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Classpathx-discuss] Re: Exception in IMAPBodyPart

From: Cedric Hyppolite
Subject: Re: [Classpathx-discuss] Re: Exception in IMAPBodyPart
Date: Fri, 28 Apr 2006 16:50:11 +0200

Le 28 avr. 06 à 10:52, Chris Burdess a écrit :

Cedric Hyppolite wrote:
The exact stack trace is:

at gnu.mail.providers.imap.IMAPBodyPart.update( 189)
        at gnu.mail.providers.imap.IMAPBodyPart.fetch(
at gnu.mail.providers.imap.IMAPBodyPart.fetchContent ( at gnu.mail.providers.imap.IMAPBodyPart.getDataHandler ( at javax.mail.internet.MimeBodyPart.getContent( 683) at gnu.mail.providers.imap.IMAPBodyPart.getContent (


Le 26 avr. 06 à 21:13, Cedric Hyppolite a écrit :

Hi Chris, all,

The first problem is now solved. (Thread 'bug in MIME header parsing')

However I still can't read the message. The following code throws an exception on the same message I sent you already.

                Message message[] = folder.getMessages();
                FetchProfile fetchProfile = new FetchProfile();
                try {
                        folder.fetch(message, fetchProfile);
                } catch (MessagingException e) {

                message.getContent() // Exception !

On the bright side, this exception was already present before I switch to CVS_HEAD. So it should not be a side-effect of the previous fix. I thought it was linked to the first problem, but it seems to be a different issue.

I can't reproduce the problem with my IMAP server, so it seems likely it's down to an odd server-specific response to the FETCH. If you could send tcpdump transcripts of the IMAP conversation I should be able to work out what's going on.


Actually I can't reproduce it either after I deleted all the mails sent with the previous version of JavaMail.
I guess, it was a side effect of the other bug.

Thanks for your time !


犬 Chris Burdess
  "They that can give up essential liberty to obtain a little safety
  deserve neither liberty nor safety." - Benjamin Franklin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]