xwikisas/application-onlyoffice-connector

Error related to Solr index thread when saving a document

Opened this issue · 0 comments

Environment: Windows 11 Pro 64bit, Edge 107, using a local instance of XWiki 14.9/ Tomcat 9.0.69/ PostgreSQL 15, Java 17 (Oracle), OnlyOffice Connector Application 2.0

STEPS TO REPRODUCE

  1. Go to a page where there is an Office file attached (e.g. a .docx or a .pptx file)
  2. From Actions column, click Edit to edit the file in OnlyOffice
  3. Make some changes in the file
  4. Click "Save & View"

EXPECTED RESULTS

No errors/warnings are displayed in console.

ACTUAL RESULTS

In XWiki console, when saving the document, there is the following stacktrace:

2022-11-16 15:11:45,675 [XWiki Solr index thread] ERROR o.a.p.o.POIXMLDocumentPart     - Skipped invalid entry /word/webSettings.xml
2022-11-16 15:11:53,806 [XWiki Solr index thread] ERROR o.a.p.o.POIXMLDocumentPart     - Skipped invalid entry /word/webSettings.xml
2022-11-16 15:12:07,593 [XWiki Solr index thread] ERROR o.a.p.o.POIXMLDocumentPart     - Skipped invalid entry /word/webSettings.xml
2022-11-16 15:12:30,504 [XWiki Solr index thread] ERROR o.a.p.o.POIXMLDocumentPart     - Skipped invalid entry /word/webSettings.xml

It seems these errors don't occur every time, as I didn't find a pattern for reproducing them consistently.

Most of the times I get the following stacktrace instead:

2022-11-17 12:34:17,278 [XWiki Solr index thread] WARN  o.a.p.h.u.HSLFTextParagraph    - MasterSheet is not available
2022-11-17 12:34:17,280 [XWiki Solr index thread] WARN  o.a.p.h.u.HSLFTextParagraph    - MasterSheet is not available
2022-11-17 12:34:17,282 [XWiki Solr index thread] WARN  o.a.p.h.u.HSLFTextParagraph    - MasterSheet is not available
2022-11-17 12:34:17,727 [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-11-17 12:34:17,728 [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-11-17 12:34:17,728 [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-11-17 12:34:17,728 [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-11-17 12:34:17,729 [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-11-17 12:34:17,729 [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-11-17 12:34:17,729 [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-11-17 12:34:17,729 [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-11-17 12:34:17,730 [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-11-17 12:34:17,740 [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-11-17 12:34:17,741 [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

which some part of it is reported on #29.