Re: UnsupportedEncodingException - er.javamail
Re: UnsupportedEncodingException - er.javamail
- Subject: Re: UnsupportedEncodingException - er.javamail
- From: Kieran Kelleher <email@hidden>
- Date: Sat, 10 Oct 2009 14:32:18 -0400
On second thoughts, what version of Wonder are you using ...... I
sincerely hope u did not just download the SourceForge version which
is ancient
On Oct 10, 2009, at 1:35 PM, glycopolis wrote:
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
_______________________________________________
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