ONLYOFFICE / DocumentServer

ONLYOFFICE Docs is a free collaborative online office suite comprising viewers and editors for texts, spreadsheets and presentations, forms and PDF, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
https://www.onlyoffice.com
GNU Affero General Public License v3.0
4.74k stars 1.07k forks source link

PDF editing in Nextcloud crashes #2803

Open osscombat opened 1 month ago

osscombat commented 1 month ago

This issue is unique.

Operating System of DocumentServer

Docker

Version information

8.1.1.26

Expected Behavior

Editing PDF text the same way as in the Desktop Editor.

Actual Behavior

Docker image from onlyoffice/documentserver:latest OnlyOffice connector 9.3.0 Nextcloud 29.0.3

image and this errors in the log:

[2024-07-17T07:15:58.602] [ERROR] [localhost] [162643124] [oc36yiap60ez_admin1] nodeJS - clientLog: changesError: Error: Uncaught TypeError: Cannot read properties of null (reading 're')
 Script: https://office.domain.com/8.1.1-26/sdkjs/word/sdk-all.js
 Line: 2879:65
 userAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
 platform: Win32
 isLoadFullApi: true
 isDocumentLoadComplete: true
 DocumentInfo:
 Selection: false
 performance.memory: {"totalJSHeapSize":266942195,"usedJSHeapSize":248730875,"jsHeapSizeLimit":4294705152}
 StackTrace: TypeError: Cannot read properties of null (reading 're')
    at e.px (https://office.domain.com/8.1.1-26/sdkjs/word/sdk-all.js:2879:65)
    at a.<anonymous> (https://office.domain.com/8.1.1-26/sdkjs/word/sdk-all.js:6720:247)
    at Object.U [as ug] (https://office.domain.com/8.1.1-26/sdkjs/word/sdk-all.js:1661:175)
    at y.Wg (https://office.domain.com/8.1.1-26/sdkjs/word/sdk-all.js:6720:36)
    at a.tc (https://office.domain.com/8.1.1-26/sdkjs/word/sdk-all.js:11992:311)
    at a.oh (https://office.domain.com/8.1.1-26/sdkjs/word/sdk-all.js:11983:452)
    at https://office.domain.com/8.1.1-26/sdkjs/word/sdk-all.js:11719:403
    at Array.forEach (<anonymous>)
    at e.ktd (https://office.domain.com/8.1.1-26/sdkjs/word/sdk-all.js:11719:381)
    at e.CDa (https://office.domain.com/8.1.1-26/sdkjs/word/sdk-all.js:11697:402)

Reproduction Steps

Just try to edit the text in the PDF file.

Additional information

No response

RSerejo commented 1 month ago

same here

porly1985 commented 1 week ago

exact same behaviour and error messages in my case.

When I use Demo ONLYOFFICE Docs Server for testing it works like it should.

Owncloud 10.15. OnlyOffice 8.1.1-26 on Debian (without Docker).