Hi Chris,

No more occurrence of the exception with CVS HEAD after several tries.

Thanks,
Cedric

Le 3 mai 06 à 11:25, Chris Burdess a écrit :

[EMAIL PROTECTED] wrote:
Quoting Chris Burdess <[EMAIL PROTECTED]>:
Cedric Hyppolite wrote:
java.lang.ClassCastException
at gnu.mail.providers.imap.IMAPBodyPart.update (IMAPBodyPart.java:189) at gnu.mail.providers.imap.IMAPBodyPart.fetch(IMAPBodyPart.java: 129)
        at gnu.mail.providers.imap.IMAPBodyPart.fetchContent
(IMAPBodyPart.java:107)
        at gnu.mail.providers.imap.IMAPBodyPart.getDataHandler
(IMAPBodyPart.java:247)
at javax.mail.internet.MimeBodyPart.getContent (MimeBodyPart.java:683)
        at gnu.mail.providers.imap.IMAPBodyPart.getContent
(IMAPBodyPart.java:261)

Thanks for your help in tracking down the problem. This bug should be
fixed now in CVS HEAD.

Thanks for the quick fix. I will try that tonight.
I am curious: What was the problem ? Why did it happen only every now and then?

Under some circumstances the IMAP server will respond with a string value to the FETCH BODY command, instead of a sized octet-array value. I think this only occurs when

1. the body part is very small
2. the body part has a text content-type with a charset parameter
--
犬 Chris Burdess
  "They that can give up essential liberty to obtain a little safety
  deserve neither liberty nor safety." - Benjamin Franklin







_______________________________________________
Classpathx-discuss mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpathx-discuss

Reply via email to