3 Replies Latest reply on Jul 28, 2009 3:53 PM by Gábor Farkas

    seam 2.1.2 GA throws NPException while sending mail.

    kalesha jaleel Newbie

      i am trying to send mail using seam's mail feature, it is throwing Null Pointer Exception.
      i am using seam2.1.2GA. when i worked with seam 2.1.0 it is working fine. now changed my seam to 2.1.2.


      Error sending mail
      java.lang.NullPointerException
           at javax.mail.internet.MimeUtility.checkAscii(MimeUtility.java:1286)
           at javax.mail.internet.MimeUtility.encodeWord(MimeUtility.java:613)
           at javax.mail.internet.MimeUtility.encodeText(MimeUtility.java:444)
           at javax.mail.internet.MimeMessage.setSubject(MimeMessage.java:793)
           at org.jboss.seam.mail.ui.UISubject.encodeChildren(UISubject.java:29)
           at org.jboss.seam.ui.util.JSF.renderChild(JSF.java:175)
           at org.jboss.seam.ui.util.JSF.renderChildren(JSF.java:163)
           at org.jboss.seam.mail.ui.UIMessage.encodeChildren(UIMessage.java:192)



      Thank you in advance..