Skip to content

[XLSX co-editing] ReferenceError: param is not defined in AscCommon.sendClientLog causes silent save failure (ExitCode 86) #3711

@mosi-kha

Description

@mosi-kha

Environment

  • DocumentServer version: 9.3.1
  • Deployment: Docker (Kubernetes / Helm, single pod, 8 CPUs)
  • Integration: Nextcloud + onlyoffice-nextcloud app
  • File type affected: XLSX

Expected Behavior

XLSX file co-edited by multiple users simultaneously saves successfully back to Nextcloud. All changes persist after editors close the document.

Actual Behavior

During collaborative editing of an XLSX file with 6+ simultaneous editors, the forced save fails silently. The UI shows "All changes saved" but changes are not persisted to Nextcloud.

converter/out.log shows:

[ERROR] nodeJS - stderr:ReferenceError: param is not defined
    at Object.error (<anonymous>:23:318)
    at Object.a.AscCommon.qla.a.AscCommon.sendClientLog (<anonymous>:10027:47)
    at r (<anonymous>:20596:11)
    at C.Eve (<anonymous>:20967:467)
    at na.Eve (<anonymous>:20709:353)
    at <anonymous>:20678:461
    at d.Yn (<anonymous>:9607:83)
    at d.pa (<anonymous>:9607:29)
    at na.pti (<anonymous>:20678:437)
    at <anonymous>:20677:197
DoctRenderer:<result><error code="save" /></result>

[ERROR] nodeJS - ExitCode (code=86;signal=null;error:-86)

The same docId fails on all subsequent save retries (not transient). Example: docId 954965759 failed at 11:12, 11:32, and 11:34 on the same day with identical errors.

Steps to Reproduce

  1. Open an XLSX file via Nextcloud + OnlyOffice integration
  2. Have 6+ users open and actively edit the same file simultaneously
  3. Let the auto-save / forced save trigger (or close document)
  4. Observe converter/out.logReferenceError: param is not defined in sendClientLog
  5. Reopen file — all co-editing changes are lost

Additional Context

  • Error is inside minified JS (sdk-all.js anonymous functions), so param is the mangled variable name
  • A secondary issue occurs in the same sessions: JWT authorization header grows to ~12KB with many co-editors (authorization too large, size reduced from 12215 to 735), which may be related
  • ExitCode 86 = DoctRenderer save error
  • Also observed: x2t crashes with SIGABRT / std::bad_alloc during thumbnail generation for large XLSX files (separate memory issue)
  • Daily pod restart at 17:24 UTC (log truncation observed)
  • Searched existing issues — no prior report matches this exact sendClientLog error path

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions