Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rageshake crash: Cannot read properties of null (reading 'compareDocumentPosition') #27503

Closed
kegsay opened this issue May 28, 2024 · 2 comments · Fixed by matrix-org/matrix-react-sdk#12594
Assignees
Labels
O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect X-Regression X-Release-Blocker Z-Soft-Crash React soft crash caught by an error boundary

Comments

@kegsay
Copy link
Contributor

kegsay commented May 28, 2024

Steps to reproduce

Unknown. Seen this in several rageshakes over the past day or so.

Outcome

2024-05-27T19:29:48.045Z E Cannot read properties of null (reading 'compareDocumentPosition')
TypeError: Cannot read properties of null (reading 'compareDocumentPosition')
    at b (vector://vector/webapp/bundles/f5d0ab2818fe44be0c86/bundle.js:2:1767211)
    at Array.sort (<anonymous>)
    at E (vector://vector/webapp/bundles/f5d0ab2818fe44be0c86/bundle.js:2:1767528)
    at Object.ds [as useReducer] (vector://vector/webapp/bundles/f5d0ab2818fe44be0c86/bundle.js:2:4262077)
    at t.useReducer (vector://vector/webapp/bundles/f5d0ab2818fe44be0c86/bundle.js:2:4373779)
    at x (vector://vector/webapp/bundles/f5d0ab2818fe44be0c86/bundle.js:2:1768580)
    at ss (vector://vector/webapp/bundles/f5d0ab2818fe44be0c86/bundle.js:2:4260849)
    at qs (vector://vector/webapp/bundles/f5d0ab2818fe44be0c86/bundle.js:2:4270347)
    at Wa (vector://vector/webapp/bundles/f5d0ab2818fe44be0c86/bundle.js:2:4313712)
    at Dl (vector://vector/webapp/bundles/f5d0ab2818fe44be0c86/bundle.js:2:4300085)

Operating system

No response

Application version

1.11.67

How did you install the app?

No response

Homeserver

No response

Will you send logs?

Yes

@glungtung
Copy link

Hello,
I'd like to complete when you say "Steps to reproduce : unknown", for me it crashes 100% each time when I fold/unfold spaces with subspaces, like steps described in #27532
Thanks

@dbkr
Copy link
Member

dbkr commented Jun 10, 2024

I can repro this on a regular desktop build, so it's not specific to a third-party packaging of Element.

@dbkr dbkr added X-Regression S-Major Severely degrades major functionality or product features, with no satisfactory workaround Z-Soft-Crash React soft crash caught by an error boundary O-Occasional Affects or can be seen by some users regularly or most users rarely labels Jun 10, 2024
@t3chguy t3chguy self-assigned this Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect X-Regression X-Release-Blocker Z-Soft-Crash React soft crash caught by an error boundary
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants