Skip to content

Unexpected error with message Cannot use numerical key for object container #4989

Closed as duplicate

Description

@Norbert80

Description

Unexpected renderer process error.

Minimal Reprouducible Markdown Example (or Steps)

Table editing.

Stack Trace

Error: Cannot use numerical key for object container
    at assert (file:///opt/marktext/resources/app.asar/out/renderer/assets/index-BXt6R5Ri.js:146470:24)
    at insertChildMut (file:///opt/marktext/resources/app.asar/out/renderer/assets/index-BXt6R5Ri.js:146509:99)
    at drop2 (file:///opt/marktext/resources/app.asar/out/renderer/assets/index-BXt6R5Ri.js:146614:127)
    at Object.apply2 [as apply] (file:///opt/marktext/resources/app.asar/out/renderer/assets/index-BXt6R5Ri.js:146621:9)
    at JSONState._apply (file:///opt/marktext/resources/app.asar/out/renderer/assets/index-BXt6R5Ri.js:147289:44)
    at JSONState._flushOperationCache (file:///opt/marktext/resources/app.asar/out/renderer/assets/index-BXt6R5Ri.js:147442:10)
    at file:///opt/marktext/resources/app.asar/out/renderer/assets/index-BXt6R5Ri.js:147422:12

Version

MarkText: v0.20.0-rc.1
Operating system: Linux x64 6.17.0-122035-tuxedo (linux)

Activity

  1. Jocs commented on Sep 10, 2026

    @Jocs
    Member

    Thanks for the report!

    This is the same crash as #4944 (Error: Cannot use numerical key for object container, MarkText v0.20.0-rc.1). It means the editor's internal document state and what is on screen got out of sync, and the stack trace alone does not show which action caused it, so let's track it in one place.

    Closing as a duplicate of #4944. If you remember what you were doing right before the error (a markdown snippet and the keys you pressed, or what you clicked or pasted), please add it to #4944 — that is what we need to reproduce and fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions