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

Oracle Community | ngsankar | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Error while deploying wsdl file to OER...

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

    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