Java J2EE based bug defect tracking database: Javamail
Bugzero one-for-all bug tracking and help desk support system
Q: When parsing in-bound emails with gif (jpg) file attachment, this exception occured:
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(
        at java.awt.Toolkit$
        at Method)
        at java.awt.Toolkit.getDefaultToolkit(
        at com.sun.mail.handlers.image_gif.getContent(
        at javax.activation.DataSourceDataContentHandler.getContent(
        at javax.activation.DataHandler.getContent(
        at javax.mail.internet.MimeBodyPart.getContent(
        at com.websina.mail.MailBody.a(
        at com.websina.mail.MailBody.a(
        at com.websina.mail.MailBody.(
        at com.websina.mail.MailBody.(
        at com.websina.bean.EmailedIssue.(
        at com.websina.servlet.EmailServlet.doPost(
        at javax.servlet.http.HttpServlet.service(
        at javax.servlet.http.HttpServlet.service(

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