[Bluej-discuss] Problem using submitter -- MIME issues
Cecilia Vargas
C.A.Vargas at kent.ac.uk
Thu Sep 6 09:26:56 BST 2007
Hi Brad,
I will look into this today (the day just started here on the other side
of the Atlantic), as I am the author of the new version of the submitter.
Could you please send me the JavaMail debug log? To get this log, have a
file named |javamail-debuglog.txt| in your bluej home directory, the
same directory where the BlueJ debug log is. Thanks. In fact, it'd be
nice if you sent both logs for the same run.
Regards,
Cecilia
Brad Richards wrote:
> 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
> _______________________________________________
> mailing list bluej-discuss at bluej.org
> To unsubscribe or change your preferences, go to
> http://lists.bluej.org/mailman/listinfo/bluej-discuss
>
More information about the bluej-discuss
mailing list