Skip to content

Unexpected error: Cannot destructure property 'text' of 'o' as it is null. #3664

Closed

Description

@ooeasy

Description

An unexpected error occurred in the renderer process.

Stack Trace

TypeError: Cannot destructure property 'text' of 'o' as it is null.
    at Rs.filter [as updateParagraph] (file:///Applications/MarkText.app/Contents/Resources/app.asar/dist/electron/webpack:/marktext/src/muya/lib/contentState/paragraphCtrl.js:447:7)
    at oc.event [as selectItem] (file:///Applications/MarkText.app/Contents/Resources/app.asar/dist/electron/webpack:/marktext/src/muya/lib/ui/quickInsert/index.js:119:23)
    at HTMLDivElement.<anonymous> (file:///Applications/MarkText.app/Contents/Resources/app.asar/dist/electron/webpack:/marktext/src/muya/lib/ui/baseScrollFloat/index.js:33:21)

Version

MarkText: v0.17.1 (821244bf)
Operating system: Darwin arm64 22.6.0 (darwin)

Activity

  1. maxscott commented on Aug 8, 2023

    @maxscott

    If I had to take a wild guess, I'd say that line needs to say if (text !== '' && text !== null) { or whatever the context-safe equivalent of that would be.

  2. added
    🦞 resolved/duplicate
    on May 11, 2026
  3. Jocs commented on May 11, 2026

    @Jocs
    Member

    This issue appears to be a duplicate of #3663.

    The original issue: #3663

    Adding the 🦞 resolved/duplicate label. If you believe this is a distinct issue, please reopen with additional details explaining the difference.

    This comment was added automatically as part of a bulk deduplication pass.

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

    🦞 resolved/duplicate

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions