This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JavaMail - NPE exception with checkAscii()  RSS feed

 
harold neiper
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
java.lang.NullPointerException
at javax.mail.internet.MimeUtility.checkAscii(MimeUtility.java:915)
at javax.mail.internet.MimeBodyPart.setText(MimeBodyPart.java:812)
at javax.mail.internet.MimeMessage.setText(MimeMessage.java:1333)
at javax.mail.internet.MimeMessage.setText(MimeMessage.java:1321)
at com.reliant.envoy.Emailer.sendEmail(Emailer.java:45)
at com.reliant.envoy.MailBatch.executeStatement(MailBatch.java:76)
at com.reliant.envoy.MailBatch.main(MailBatch.java:141)


Any help would be appreciated.

TIA,
Harold
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!