Q: When parsing in-bound emails with gif (jpg) file attachment, this exception occured:
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.Toolkit$2.run(Toolkit.java:748)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:739)
at com.sun.mail.handlers.image_gif.getContent(image_gif.java:76)
at javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:745)
at javax.activation.DataHandler.getContent(DataHandler.java:501)
at javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:564)
at com.websina.mail.MailBody.a(MailBody.java)
at com.websina.mail.MailBody.a(MailBody.java)
at com.websina.mail.MailBody.(MailBody.java)
at com.websina.mail.MailBody.(MailBody.java)
at com.websina.bean.EmailedIssue.(EmailedIssue.java)
at com.websina.servlet.EmailServlet.doPost(EmailServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
A: This problem occurs when your environment does not have graphics support. The same
solution for the Reports problem applies, see here.
* Reference brought to you by
Bugzero, it's more than just bug tracking software!
|
Home -
FAQs
|
|