Good Morning,
I was wondering if anyone has seen this error before and successfully debugged it. I
received a ClassCastException error two days ago after dropping and recreating a
database table that is used by my JAMES mailet. I know what this error means, but I
have looked at nearly all possibilities as to its cause and asking this group as a
last resort.
org.apache.james.util.thread.WorkerThread.run(WorkerThread.java:125)
java.lang.ClassCastException
at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1056
)
at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:1923)
at javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:1904)
at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1604)
at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1583)
at org.apache.james.core.MailImpl.writeMessageTo(MailImpl.java:427)
at org.apache.james.mailrepository.AvalonMailRepository.store(AvalonMail
Repository.java:325)
at org.apache.james.James.sendMail(James.java:501)
at org.apache.james.James.sendMail(James.java:464)
at org.apache.james.James.sendMail(James.java:446)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
I am using the the same exact jar file that was working previous to this error and
have recreated the database table from the same exact commands. Any ideas?
Thanks!
Hut