• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
UnsupportedEncodingException - er.javamail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UnsupportedEncodingException - er.javamail


  • Subject: UnsupportedEncodingException - er.javamail
  • From: glycopolis <email@hidden>
  • Date: Sat, 10 Oct 2009 10:35:10 -0700

I am new to programming WebObjects, could someone please help me with the following exception. I believe it is encoding-related, but with scarce background I have yet with WebObjects I can't figure my way out.

java.io.UnsupportedEncodingException: null
at sun.nio.cs.StreamEncoder.forOutputStreamWriter(StreamEncoder.java: 42)
at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:83)
at com.sun.mail.handlers.text_plain.writeTo(text_plain.java:149)
at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java: 869)
at javax.activation.DataHandler.writeTo(DataHandler.java:302)
at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1403)
at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1745)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:636)
at er.javamail.ERMailSender._sendMessageNow(ERMailSender.java:189)
at er.javamail.ERMailSender.run(ERMailSender.java:293)
at java.lang.Thread.run(Thread.java:637)
Oct 10 03:22:09 Registration[5555] ERROR er.javamail.ERMailSender - General mail error: javax.mail.MessagingException: IOException while sending message;
nested exception is:
java.io.UnsupportedEncodingException: null
UnsupportedEncodingException: null
at sun.nio.cs.StreamEncoder.forOutputStreamWriter (StreamEncoder.java:42)
at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:83)
at com.sun.mail.handlers.text_plain.writeTo(text_plain.java:149)
at javax.activation.ObjectDataContentHandler.writeTo (DataHandler.java:869)
at javax.activation.DataHandler.writeTo(DataHandler.java:302)
at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1403)
at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1745)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java: 636)
at er.javamail.ERMailSender._sendMessageNow(ERMailSender.java:189)
at er.javamail.ERMailSender.run(ERMailSender.java:293)
... skipped 1 stack elements


Thanks!

glycopolis
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: UnsupportedEncodingException - er.javamail
      • From: Kieran Kelleher <email@hidden>
    • Re: UnsupportedEncodingException - er.javamail
      • From: Kieran Kelleher <email@hidden>
  • Prev by Date: Re: Gianduia
  • Next by Date: Re: WO alternatives
  • Previous by thread: Re: Gianduia
  • Next by thread: Re: UnsupportedEncodingException - er.javamail
  • Index(es):
    • Date
    • Thread