Uploaded image for project: 'Nuxeo Enhanced Viewer'
  1. Nuxeo Enhanced Viewer
  2. NEV-525

Unable to download or preview mht/mhtml files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.6.10
    • Fix Version/s: None
    • Component/s: ARender, Nuxeo Connector
    • Tags:
    • Backlog priority:
      550

      Description

      When uploading an mht/mhtml file, the NEV previewer is unable to preview the document and a message pops up telling the user to download the document.  When trying to download the document, the following error appears

      java.lang.ClassCastException: class org.nuxeo.client.objects.blob.Blobs cannot be cast to class org.nuxeo.client.objects.blob.Blob (org.nuxeo.client.objects.blob.Blobs and org.nuxeo.client.objects.blob.Blob are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @4ce7fffa)
      	com.nuxeo.ecm.arender.connector.NuxeoARenderAdapter.download(NuxeoARenderAdapter.java:31)
      	com.nuxeo.ecm.arender.client.NuxeoClientFacade.streamBlob(NuxeoClientFacade.java:158)
      	com.nuxeo.ecm.arender.connector.BlobDocumentAccessor.getInputStream(BlobDocumentAccessor.java:76)
      	com.arondor.viewer.common.rendition.connector.helper.RemoteDocumentTransferHelper.callLegacyPartialLoading(RemoteDocumentTransferHelper.java:144)
      	com.arondor.viewer.common.rendition.connector.helper.RemoteDocumentTransferHelper.loadPartialDocument(RemoteDocumentTransferHelper.java:117)
      	com.arondor.viewer.common.rendition.connector.RemoteClientServiceInvoker.synchronizedLoadDocument(RemoteClientServiceInvoker.java:174)
      	com.arondor.viewer.common.rendition.connector.RemoteClientServiceInvoker.loadDocumentAccessor(RemoteClientServiceInvoker.java:254)
      	com.arondor.viewer.common.rendition.connector.ClientDocumentService.synchronizedGetDelegate(ClientDocumentService.java:692)
      

      I have uploaded a test mhtml file to the NEV QA environment. See here

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              npeacock Nicole Peacock
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: