Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-3654

Error with pdf preview on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.2 GA
    • Fix Version/s: 5.3 RC
    • Component/s: None

      Description

      An error occurs when the converter try to persist the cache:

      15:36:12,075 ERROR ConversionCacheHolder Error while trying to persit cache en
      try
      java.lang.NullPointerException
      at java.io.File.<init>(File.java:194)
      at org.nuxeo.ecm.core.convert.cache.ConversionCacheEntry.persist(Convers
      ionCacheEntry.java:54)
      at org.nuxeo.ecm.core.convert.cache.ConversionCacheHolder.doAddToCache(C
      onversionCacheHolder.java:111)
      at org.nuxeo.ecm.core.convert.cache.ConversionCacheHolder.addToCache(Con
      versionCacheHolder.java:100)
      at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(Conv
      ersionServiceImpl.java:175)
      at org.nuxeo.ecm.platform.preview.adapter.base.ConverterBasedHtmlPreview
      Adapter.getPreviewBlobs(ConverterBasedHtmlPreviewAdapter.java:161)
      at org.nuxeo.ecm.platform.preview.adapter.base.ConverterBasedHtmlPreview
      Adapter.getPreviewBlobs(ConverterBasedHtmlPreviewAdapter.java:110)
      at org.nuxeo.ecm.platform.preview.adapter.base.AbstractHtmlPreviewAdapte
      r.getFilePreviewBlobs(AbstractHtmlPreviewAdapter.java:123)
      at org.nuxeo.ecm.platform.preview.restlet.PreviewRestlet.initCachedBlob(
      PreviewRestlet.java:140)
      at org.nuxeo.ecm.platform.preview.restlet.PreviewRestlet.handle(PreviewR
      estlet.java:89)
      at org.nuxeo.ecm.platform.ui.web.restAPI.ThreadSafeRestletFilter.doHandl
      e(ThreadSafeRestletFilter.java:61)
      at org.restlet.Filter.handle(Filter.java:134)
      at org.restlet.Filter.doHandle(Filter.java:105)
      at org.restlet.Filter.handle(Filter.java:134)
      at org.restlet.Router.handle(Router.java:444)
      at com.noelios.restlet.ext.servlet.ServletConverter.service(ServletConve
      rter.java:129)
      at org.nuxeo.ecm.platform.ui.web.restAPI.RestletServlet.service(RestletS
      ervlet.java:131)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
      at org.nuxeo.ecm.platform.ui.web.rest.FancyURLFilter.doFilter(FancyURLFi
      lter.java:116)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
      at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.doFilter
      (NuxeoAuthenticationFilter.java:462)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
      at org.nuxeo.ecm.platform.web.common.requestcontroller.filter.NuxeoReque
      stControllerFilter.doFilter(NuxeoRequestControllerFilter.java:106)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
      at org.nuxeo.ecm.platform.web.common.exceptionhandling.NuxeoExceptionFil
      ter.doFilter(NuxeoExceptionFilter.java:61)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:230)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:175)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:182)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:84)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC
      onnectionValve.java:157)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:262)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
      ss(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
      6)
      at java.lang.Thread.run(Thread.java:595)
      15:36:12,075 ERROR PreviewRestlet could not build preview for missing blob at
      default

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: