Uploaded image for project: 'Workspaces'
  1. Workspaces
  2. WORKSPACES-1258

OnlyOffice error when adding Files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.2.0
    • 2.2.0
    • Module Documents
    • None
    • 4.5 RC2

      When adding an image of a word file, following log error is present : 

       

      Date: Mon Mar 07 17:49:31 CET 2022 (1646671771558)
      Thread: ametys-async-observe-5
      Message #: 23662
      Level: ERROR
      NDC: 
      Category: org.ametys.core.observation.ObservationManager
      Message: Unable to dispatch event: event[id: resource.created, issuer: UserIdentity [login=mag, population=utilisateurs], args: [object.parent.path = /ametys:plugins/workspaces/projects/cal24fevrier/ametys-internal:resources/documents/Dossier/SousDossier1, resources =
      { [resource://a5d33354-d37b-4ac3-b68e-814cf6aa589e] ='/ametys:plugins/workspaces/projects/cal24fevrier/ametys-internal:resources/documents/Dossier/SousDossier1/Ametys.jpg' ( [resource://a5d33354-d37b-4ac3-b68e-814cf6aa589e] )}
      , object.parent = 
      [resources-collection://e3caceba-04f2-4ab4-bbf2-169f5fc92f85]
      , projectName = cal24fevrier, projectTitle = Cal24Février]] to asynchronous observers
      Location: org.apache.cocoon.util.log.SLF4JLoggerAdapter.error(SLF4JLoggerAdapter.java:46)
      Thrown:
      java.lang.NullPointerException
      at org.ametys.plugins.workspaces.documents.onlyoffice.OnlyOfficeManager.generateThumbnailInCache(OnlyOfficeManager.java:237)
      at org.ametys.plugins.workspaces.documents.observers.FileThumbnailObserver.observe(FileThumbnailObserver.java:96)
      at org.ametys.core.observation.ObservationManager$ParallelAsyncObserve._observe(ObservationManager.java:492)
      at org.ametys.core.observation.ObservationManager$AbstractAsyncObserve.call(ObservationManager.java:438)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      at java.base/java.lang.Thread.run(Thread.java:834)
      

       

            cedric Cédric Damioli
            mfranchet Magali Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: