xwikisas / application-filemanager

XWiki application to manage a hierarchy of folders and files
GNU Lesser General Public License v2.1
0 stars 4 forks source link

Warning and Errors appear when adding files to the File Manager #65

Open ane-gabriela opened 1 year ago

ane-gabriela commented 1 year ago

Steps to reproduce:

  1. As Admin click on the File Manager from the Applications panel
  2. Click on File Manager > New File
  3. Click on Choose Files
  4. Add diffrent types of files (images, doc, PPT, PDF, xls)
  5. Click on Back

Expected results: The files are saved and there are no warning or errors in the XWiki console.

Actual results: The files are saved but there are many warnings and Errors in the XWiki console when adding files in the File manager

FileManager

Environment: Windows 11, XWiki 14.10.1 with MySQL 8.0 and Chrome 108, File Manager Application (Pro) 2.5.5

2022-12-22 16:31:09,970 [qtp2044903525-969 - http://localhost:8080/xwiki/bin/download/FileManager/WebHome/illustration.png?width=512] WARN c.x.x.p.XWikiPluginManager - downloadAttachment failed for plugin [image]: null 2022-12-22 16:31:09,971 [qtp2044903525-969 - http://localhost:8080/xwiki/bin/download/FileManager/WebHome/illustration.png?width=512] WARN c.x.x.p.XWikiPluginManager - downloadAttachment failed for plugin [zipexplorer]: null 2022-12-22 16:31:11,059 [qtp2044903525-969 - http://localhost:8080/xwiki/bin/download/FileManager/WebHome/illustration.png?width=512] ERROR o.a.v.rendering - Left side ($paths.length) of comparison operation has null value at xwiki:FileManagerCode.RecentFilesPanel[line 5, column 21] 2022-12-22 16:31:11,071 [qtp2044903525-969 - http://localhost:8080/xwiki/bin/download/FileManager/WebHome/illustration.png?width=512] ERROR o.a.v.rendering - Left side ($paths.length) of comparison operation has null value at xwiki:FileManagerCode.RecentFilesPanel[line 5, column 21] 2022-12-22 16:31:17,569 [XWiki Solr index thread] WARN o.a.p.h.m.FileInformationBlock - Since FIB.nFib == 0x0101 value of FIB.cswNew MUST be 0x0002, not 0x0 2022-12-22 16:31:17,936 [XWiki Solr index thread] WARN o.a.p.h.m.FileInformationBlock - Since FIB.nFib == 0x0101 value of FIB.cswNew MUST be 0x0002, not 0x0 2022-12-22 16:31:22,654 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:22,655 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:22,656 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:22,656 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:22,656 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:22,656 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:22,657 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:22,657 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:22,657 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:22,721 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:22,722 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:23,109 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:23,109 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:23,110 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:23,110 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:23,110 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:23,110 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:23,110 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:23,110 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:23,110 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:23,117 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:23,118 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:52,384 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:52,397 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:52,406 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:52,408 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:52,408 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:52,409 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:52,410 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:52,411 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:52,411 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:52,416 [XWiki Solr index thread] WARN o.a.p.h.r.Record - Problem reading paragraph style runs: textHandled = 0, text.size+1 = 1 2022-12-22 16:31:52,417 [XWiki Solr index thread] WARN o.a.p.h.r.Record - Problem reading character style runs: textHandled = 0, text.size+1 = 1 2022-12-22 16:31:52,418 [XWiki Solr index thread] WARN o.a.p.h.r.Record - Problem reading paragraph style runs: textHandled = 0, text.size+1 = 1 2022-12-22 16:31:52,419 [XWiki Solr index thread] WARN o.a.p.h.r.Record - Problem reading character style runs: textHandled = 0, text.size+1 = 1 2022-12-22 16:31:52,420 [XWiki Solr index thread] WARN o.a.p.h.r.Record - Problem reading paragraph style runs: textHandled = 0, text.size+1 = 1 2022-12-22 16:31:52,420 [XWiki Solr index thread] WARN o.a.p.h.r.Record - Problem reading character style runs: textHandled = 0, text.size+1 = 1 2022-12-22 16:31:52,423 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:52,424 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:52,426 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:52,426 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:52,427 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:52,428 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:52,429 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:52,431 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:52,432 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:52,433 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:52,680 [XWiki Solr index thread] WARN o.a.p.h.u.HSLFObjectShape - OLE data not found 2022-12-22 16:31:53,138 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:53,139 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:53,139 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:53,140 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:53,141 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:53,141 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:53,141 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:53,142 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:53,142 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:53,145 [XWiki Solr index thread] WARN o.a.p.h.r.Record - Problem reading paragraph style runs: textHandled = 0, text.size+1 = 1 2022-12-22 16:31:53,146 [XWiki Solr index thread] WARN o.a.p.h.r.Record - Problem reading character style runs: textHandled = 0, text.size+1 = 1 2022-12-22 16:31:53,146 [XWiki Solr index thread] WARN o.a.p.h.r.Record - Problem reading paragraph style runs: textHandled = 0, text.size+1 = 1 2022-12-22 16:31:53,146 [XWiki Solr index thread] WARN o.a.p.h.r.Record - Problem reading character style runs: textHandled = 0, text.size+1 = 1 2022-12-22 16:31:53,147 [XWiki Solr index thread] WARN o.a.p.h.r.Record - Problem reading paragraph style runs: textHandled = 0, text.size+1 = 1 2022-12-22 16:31:53,147 [XWiki Solr index thread] WARN o.a.p.h.r.Record - Problem reading character style runs: textHandled = 0, text.size+1 = 1 2022-12-22 16:31:53,147 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:53,148 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:53,149 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:53,149 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:53,150 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:53,150 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:53,150 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:53,152 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:53,152 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:53,153 [XWiki Solr index thread] WARN o.a.p.h.m.t.BitMaskTextProp - Style properties of 'paragraph_flags' don't match mask - output will be sanitized 2022-12-22 16:31:53,226 [XWiki Solr index thread] WARN o.a.p.h.u.HSLFObjectShape - OLE data not found 2022-12-22 16:32:08,737 [qtp2044903525-928 - http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=XWiki.OfficeImporterAdmin] INFO o.x.o.i.s.DefaultOfficeServer - Open Office instance started. 2022-12-22 16:32:09,274 [jodconverter-offprocmng-0] WARN .l.o.LocalOfficeProcessManager - Profile dir 'C:\Users\Gabriela\AppData\Local\Temp\.jodconverter_socket_host-127.0.0.1_port-8100_tcpNoDelay-1' already exists; deleting 2022-12-22 16:32:10,064 [Thread-558] ERROR o.j.l.o.VerboseProcess - vkEnumeratePhysicalDevices returned no supported devices. 2022-12-22 16:32:11,684 [Thread-558] ERROR o.j.l.o.VerboseProcess - vkEnumeratePhysicalDevices returned no supported devices. 2022-12-22 16:32:11,744 [qtp2044903525-970 - http://localhost:8080/xwiki/bin/view/FileManager/] ERROR o.a.v.rendering - Left side ($paths.length) of comparison operation has null value at xwiki:FileManagerCode.RecentFilesPanel[line 5, column 21] 2022-12-22 16:32:11,757 [qtp2044903525-970 - http://localhost:8080/xwiki/bin/view/FileManager/] ERROR o.a.v.rendering - Left side ($paths.length) of comparison operation has null value at xwiki:FileManagerCode.RecentFilesPanel[line 5, column 21] 2022-12-22 16:32:11,769 [qtp2044903525-970 - http://localhost:8080/xwiki/bin/view/FileManager/] ERROR o.a.v.rendering - Left side ($paths.length) of comparison operation has null value at xwiki:FileManagerCode.RecentFilesPanel[line 5, column 21] 2022-12-22 16:32:11,781 [qtp2044903525-970 - http://localhost:8080/xwiki/bin/view/FileManager/] ERROR o.a.v.rendering - Left side ($paths.length) of comparison operation has null value at xwiki:FileManagerCode.RecentFilesPanel[line 5, column 21] 2022-12-22 16:32:11,793 [qtp2044903525-970 - http://localhost:8080/xwiki/bin/view/FileManager/] ERROR o.a.v.rendering - Left side ($paths.length) of comparison operation has null value at xwiki:FileManagerCode.RecentFilesPanel[line 5, column 21] 2022-12-22 16:32:21,282 [qtp2044903525-850 - http://localhost:8080/xwiki/bin/download/FileManager/WebHome/butterflies-87452.jpeg?width=512] WARN c.x.x.p.XWikiPluginManager - downloadAttachment failed for plugin [image]: null 2022-12-22 16:32:21,283 [qtp2044903525-850 - http://localhost:8080/xwiki/bin/download/FileManager/WebHome/butterflies-87452.jpeg?width=512] WARN c.x.x.p.XWikiPluginManager - downloadAttachment failed for plugin [zipexplorer]: null 2022-12-22 16:32:21,906 [qtp2044903525-850 - http://localhost:8080/xwiki/bin/download/FileManager/WebHome/butterflies-87452.jpeg?width=512] ERROR o.a.v.rendering - Left side ($paths.length) of comparison operation has null value at xwiki:FileManagerCode.RecentFilesPanel[line 5, column 21] 2022-12-22 16:32:21,920 [qtp2044903525-850 - http://localhost:8080/xwiki/bin/download/FileManager/WebHome/butterflies-87452.jpeg?width=512] ERROR o.a.v.rendering - Left side ($paths.length) of comparison operation has null value at xwiki:FileManagerCode.RecentFilesPanel[line 5, column 21] 2022-12-22 16:32:21,933 [qtp2044903525-850 - http://localhost:8080/xwiki/bin/download/FileManager/WebHome/butterflies-87452.jpeg?width=512] ERROR o.a.v.rendering - Left side ($paths.length) of comparison operation has null value at xwiki:FileManagerCode.RecentFilesPanel[line 5, column 21] 2022-12-22 16:32:21,945 [qtp2044903525-850 - http://localhost:8080/xwiki/bin/download/FileManager/WebHome/butterflies-87452.jpeg?width=512] ERROR o.a.v.rendering - Left side ($paths.length) of comparison operation has null value at xwiki:FileManagerCode.RecentFilesPanel[line 5, column 21] 2022-12-22 16:32:21,957 [qtp2044903525-850 - http://localhost:8080/xwiki/bin/download/FileManager/WebHome/butterflies-87452.jpeg?width=512] ERROR o.a.v.rendering - Left side ($paths.length) of comparison operation has null value at xwiki:FileManagerCode.RecentFilesPanel[line 5, column 21]

ilieandriuta commented 11 months ago

Hi! I also reproduced a similar stacktrace from above using File Manager Pro 2.6 on XWiki 15.5.2 (Chrome 117/ PostgreSQL 15/ Tomcat 9.0.80) when added a file (image):

2023-09-14 14:23:07,675 [http-nio-1115-exec-5 - http://localhost:1115/xwiki/bin/download/FileManager/WebHome/Abstract-green-backgrounds-medium.jpg?width=512] ERROR o.a.v.rendering                - Left side ($paths.length) of comparison operation has null value at xwiki:FileManagerCode.RecentFilesPanel[line 5, column 21]
2023-09-14 14:24:24,884 [http-nio-1115-exec-5 - http://localhost:1115/xwiki/bin/view/FileManager/] ERROR o.a.v.rendering                - Left side ($paths.length) of comparison operation has null value at xwiki:FileManagerCode.RecentFilesPanel[line 5, column 21]
2023-09-14 14:24:29,411 [http-nio-1115-exec-7 - http://localhost:1115/xwiki/bin/view/FileManager/] ERROR o.a.v.rendering                - Left side ($paths.length) of comparison operation has null value at xwiki:FileManagerCode.RecentFilesPanel[line 5, column 21]