javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/plain

Oracle Community | ngsankar | 5 years ago
  1. 0

    Error while deploying wsdl file to OER...

    Oracle Community | 5 years ago | ngsankar
    javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/plain
  2. 0

    JavaMail UnsupportedDataTypeException in custom ClassLoader (Java in General forum at Coderanch)

    coderanch.com | 7 months ago
    javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/plain
  3. 0

    hi, I have integrated the email plugin with Sonar 2.8. But when i run the Sonar build from maven , the email is not sent and i get the below error. I even tried copy the jars, smtp,pop3,imap,dsn into the Sonar Deploy folder, but still i get the below error. Stack trace at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:490) at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:98) ... 21 more Caused by: org.apache.commons.mail.EmailException: Sending the email to the foll owing server failed : localhost:6001 at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1242) at org.apache.commons.mail.Email.send(Email.java:1267) at org.sonar.plugins.email.EmailPublisher.executeOn(EmailPublisher.java: 102) ... 31 more Caused by: javax.mail.MessagingException: IOException while sending message; nested exception is: javax.activation.UnsupportedDataTypeException: no object DCH for MIME ty pe text/plain at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:676) at javax.mail.Transport.send0(Transport.java:189) at javax.mail.Transport.send(Transport.java:118) at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1232) ... 33 more Caused by: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/plain at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:87 0) at javax.activation.DataHandler.writeTo(DataHandler.java:301) 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) ... 36 more Any ideas ? If i have missed something. regards, fxthomas

    SonarSource JIRA | 5 years ago | Felix Thomas
    javax.activation.UnsupportedDataTypeException: no object DCH for MIME ty pe text/plain
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception While Sending Mail From Java Code

    Oracle Community | 1 decade ago | 807591
    PoolTcpEndpoint.java
  6. 0

    javaMail question ( the same as previous topic with source code)

    Coderanch | 1 decade ago | Yurong Chen
    javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/plain

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.activation.UnsupportedDataTypeException

      no object DCH for MIME type text/plain

      at javax.activation.DataHandler.getInputStream()
    2. Java RT
      DataHandlerDataSource.getInputStream
      1. javax.activation.DataHandler.getInputStream(DataHandler.java:233)
      2. javax.activation.DataHandlerDataSource.getInputStream(DataHandler.java:688)
      2 frames
    3. Axis Web Services
      Call.invoke
      1. org.apache.axis.attachments.MimeUtils.getContentLength(MimeUtils.java:115)
      2. org.apache.axis.attachments.MimeUtils.getContentLength(MimeUtils.java:60)
      3. org.apache.axis.attachments.AttachmentsImpl.getContentLength(AttachmentsImpl.java:406)
      4. org.apache.axis.Message.getContentLength(Message.java:501)
      5. org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:371)
      6. org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
      7. org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
      8. org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
      9. org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
      10. org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
      11. org.apache.axis.client.Call.invokeEngine(Call.java:2765)
      12. org.apache.axis.client.Call.invoke(Call.java:2748)
      13. org.apache.axis.client.Call.invoke(Call.java:2424)
      14. org.apache.axis.client.Call.invoke(Call.java:2347)
      15. org.apache.axis.client.Call.invoke(Call.java:1804)
      15 frames
    4. com.flashline.registry
      FlashlineRegistryTrSoapBindingStub.assetMetadataCreateDIME
      1. com.flashline.registry.openapi.service.v300.FlashlineRegistryTrSoapBindingStub.assetMetadataCreateDIME(FlashlineRegistryTrSoapBindingStub.java:16008)
      1 frame
    5. com.oracle.oer
      RepositoryTaskBase.execute
      1. com.oracle.oer.sync.plugin.writer.oer.ALERFacade.assetMetadataCreate(ALERFacade.java:757)
      2. com.oracle.oer.sync.plugin.writer.oer.OERWriter.assetMetadataCreate(OERWriter.java:961)
      3. com.oracle.oer.sync.oer.client.component.attributes.AttributeSaverImpl.createMetadataEntry(AttributeSaverImpl.java:237)
      4. com.oracle.oer.sync.oer.client.component.attributes.AttributeSaverImpl.saveAttributes(AttributeSaverImpl.java:69)
      5. com.oracle.oer.sync.plugin.writer.oer.OERWriter.saveAttributes(OERWriter.java:1247)
      6. com.oracle.oer.sync.plugin.writer.oer.OERWriter.assetCreate(OERWriter.java:434)
      7. com.oracle.oer.sync.oer.client.component.artifact.ArtifactSaverImpl.findOrCreateArtifact(ArtifactSaverImpl.java:179)
      8. com.oracle.oer.sync.plugin.writer.oer.OERWriter.findOrCreateArtifactAssets(OERWriter.java:574)
      9. com.oracle.oer.sync.framework.impl.MetadataEntityWriterImpl.createArtifactEntity(MetadataEntityWriterImpl.java:74)
      10. com.oracle.oer.sync.plugin.artifact.wsdl.WSDLArtifactWriter.createArtifactEntity(WSDLArtifactWriter.java:33)
      11. com.oracle.oer.sync.framework.impl.MetadataEntityWriterImpl.write(MetadataEntityWriterImpl.java:49)
      12. com.oracle.oer.sync.plugin.writer.oer.OERWriter.createEntities(OERWriter.java:333)
      13. com.oracle.oer.sync.plugin.writer.oer.OERWriter.write(OERWriter.java:279)
      14. com.oracle.oer.sync.plugin.writer.oer.OERWriter.write(OERWriter.java:221)
      15. com.oracle.oer.sync.framework.MetadataManager.start(MetadataManager.java:666)
      16. com.oracle.oer.sync.framework.ant.IntrospectTask.performRepositoryWork(IntrospectTask.java:314)
      17. com.oracle.oer.sync.framework.ant.RepositoryTaskBase.execute(RepositoryTaskBase.java:182)
      17 frames
    6. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    8. Ant
      Main.main
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.Target.execute(Target.java:357)
      4. org.apache.tools.ant.Target.performTasks(Target.java:385)
      5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
      6. org.apache.tools.ant.Project.executeTarget(Project.java:1306)
      7. org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      8. org.apache.tools.ant.Project.executeTargets(Project.java:1189)
      9. org.apache.tools.ant.Main.runBuild(Main.java:758)
      10. org.apache.tools.ant.Main.startAnt(Main.java:217)
      11. org.apache.tools.ant.Main.start(Main.java:179)
      12. org.apache.tools.ant.Main.main(Main.java:268)
      12 frames