[Bluej-discuss] Problem using submitter -- MIME issues
Brad Richards
ber at acm.org
Wed Sep 5 19:14:09 BST 2007
Hi all,
I had my students use the submitter to E-mail their projects to me
last semester. Unfortunately, after updating Java and BlueJ for the
new semester, the submission process no longer works. The output
from the bluej-debuglog file is shown below. It looks to me like the
submitter has built the .zip file containing the submitted files, but
throws an exception when trying to attach it to the outgoing E-mail
since it can't find the appropriate MIME information. It must be a
configuration issue of some sort, since submission works from Macs
but not the PCs. Has anyone else encountered this? More
importantly, does anyone know how to fix this?
Thanks,
Brad Richards
BlueJ run started: Wed Sep 05 10:10:05 PDT 2007
BlueJ version 2.2.0
Java version 1.6.0_02
Virtual machine: Java HotSpot(TM) Client VM 1.6.0_02-b06 (Sun
Microsystems Inc.)
Running on: Windows XP 5.1 (x86)
Java Home: C:\Program Files\Java\jdk1.6.0_02\jre
----
Connected to debug VM via dt_socket transport...
Communication with debug VM fully established.
javax.mail.MessagingException: IOException while sending message;
nested exception is:
javax.activation.UnsupportedDataTypeException: no object DCH
for MIME type multipart/mixed;
boundary="----=_Part_0_10183200.1189012834180"
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:625)
at
org.bluej.extensions.submitter.transport.SmtpSession.disconnect(SmtpSession.java:222)
at
org.bluej.extensions.submitter.transport.JarSession.disconnect(JarSession.java:159)
at
org.bluej.extensions.submitter.SubmitDialog.sendFiles(SubmitDialog.java:362)
at
org.bluej.extensions.submitter.SubmitDialog.submitWork(SubmitDialog.java:477)
at
org.bluej.extensions.submitter.SubmitDialog.access$500(SubmitDialog.java:14)
at
org.bluej.extensions.submitter.SubmitDialog$SubmitThread.run(SubmitDialog.java:609)
Caused by: javax.activation.UnsupportedDataTypeException: no object
DCH for MIME type multipart/mixed;
boundary="----=_Part_0_10183200.1189012834180"
at
javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:870)
at javax.activation.DataHandler.writeTo(DataHandler.java:301)
at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1350)
at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1683)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:585)
... 6 more
More information about the bluej-discuss
mailing list