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

Soft crash on space panel view (unknown exact cause) - "Something went wrong!" error #22752

Closed
turt2live opened this issue Jul 6, 2022 · 4 comments · Fixed by matrix-org/matrix-react-sdk#10060
Assignees
Labels
A-Spaces Spaces, groups, communities O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect X-Regression Z-Chronic Z-Rageshake Has attached rageshake (not for log submission process) Z-Soft-Crash React soft crash caught by an error boundary

Comments

@turt2live
Copy link
Member

Steps to reproduce

Unsure if this actually reproduces it:

  1. Browse a space (mentioned in rageshake)
  2. Join some subspaces and rooms
  3. Crash

It's possible this is also related to a paginated request completing at the same time as the join.

Outcome

What did you expect?

Not to crash

What happened instead?

2022-07-06T16:21:34.440Z E Caught /sync error Cannot read properties of null (reading 'getJoinedMemberCount')
TypeError: Cannot read properties of null (reading 'getJoinedMemberCount')
    at MatrixClient.updateMetrics (vector://vector/webapp/bundles/d54181b85f77a9f74413/init.js:24889:37)
    at MatrixClient.emit (vector://vector/webapp/bundles/d54181b85f77a9f74413/vendors~init.js:665:7)
    at MatrixClient.emit (vector://vector/webapp/bundles/d54181b85f77a9f74413/init.js:30916:18)
    at vector://vector/webapp/bundles/d54181b85f77a9f74413/init.js:58936:16
    at async Object.promiseMapSeries (vector://vector/webapp/bundles/d54181b85f77a9f74413/bundle.js:1329:5)
    at async SyncApi.processSyncResponse (vector://vector/webapp/bundles/d54181b85f77a9f74413/init.js:58848:5)
    at async SyncApi.doSync (vector://vector/webapp/bundles/d54181b85f77a9f74413/init.js:58510:7)
2022-07-06T16:21:42.955Z E Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. (NotFoundError | 8)
2022-07-06T16:21:42.960Z E Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. (NotFoundError | 8)
2022-07-06T16:21:42.960Z E The above error occurred while React was rendering the following components: 
    at div
    at div
    at div
    at AccessibleButton (vector://vector/webapp/bundles/d54181b85f77a9f74413/init.js:3368:5)
    at li
    at Tile (vector://vector/webapp/bundles/d54181b85f77a9f74413/element-web-app.js:35014:5)
    at HierarchyLevel (vector://vector/webapp/bundles/d54181b85f77a9f74413/element-web-app.js:35343:5)
    at ul
    at RovingTabIndexProvider (vector://vector/webapp/bundles/d54181b85f77a9f74413/init.js:26428:5)
    at SpaceHierarchy (vector://vector/webapp/bundles/d54181b85f77a9f74413/element-web-app.js:35565:5)
    at div
    at SpaceLanding (vector://vector/webapp/bundles/d54181b85f77a9f74413/element-web-app.js:35875:5)
    at div
    at MainSplit_MainSplit (vector://vector/webapp/bundles/d54181b85f77a9f74413/element-web-app.js:18948:5)
    at ErrorBoundary (vector://vector/webapp/bundles/d54181b85f77a9f74413/element-web-app.js:63350:5)
    at main
    at SpaceRoomView_SpaceRoomView (vector://vector/webapp/bundles/d54181b85f77a9f74413/element-web-app.js:36266:5)
    at RoomView_RoomView (vector://vector/webapp/bundles/d54181b85f77a9f74413/element-web-app.js:36751:5)
    at vector://vector/webapp/bundles/d54181b85f77a9f74413/init.js:6205:76
    at div
    at div
    at div
    at LoggedInView_LoggedInView (vector://vector/webapp/bundles/d54181b85f77a9f74413/element-web-app.js:39354:5)
    at ErrorBoundary (vector://vector/webapp/bundles/d54181b85f77a9f74413/element-web-app.js:63350:5)
    at MatrixChat (vector://vector/webapp/bundles/d54181b85f77a9f74413/element-web-app.js:849:5)
{"source":"webpack:///matrix-react-sdk/src/stores/RoomViewStore.tsx","line":216,"column":44,"name":"getJoinedMemberCount"}

Operating system

Windows 10

Application version

Nightly

How did you install the app?

The Internet

Homeserver

t2l.io

Will you send logs?

Yes

@SimonBrandner SimonBrandner added S-Minor Impairs non-critical functionality or suitable workarounds exist Z-Rageshake Has attached rageshake (not for log submission process) A-Spaces Spaces, groups, communities labels Jul 6, 2022
@dbkr dbkr added 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 Jul 7, 2022
@Mikaela
Copy link
Contributor

Mikaela commented Jul 30, 2022

Coming from #22924, it happened again and as it was closed in favour of this one, I sent logs. I think it may be related to mass clicking join at many rooms in a Space?

@Zocker1999NET
Copy link

Happens to me as well each time I try to join a room from a space's view, but not when joining sub-spaces. I don't think it comes from mass-joining as I tried to join each room at once without success. Happens to me especially when joining rooms from #community:matrix.org or its sub-spaces.

@SimonBrandner SimonBrandner added O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience and removed O-Occasional Affects or can be seen by some users regularly or most users rarely labels Aug 14, 2022
@kittykat kittykat added S-Major Severely degrades major functionality or product features, with no satisfactory workaround and removed S-Minor Impairs non-critical functionality or suitable workarounds exist labels Jan 31, 2023
@kittykat kittykat changed the title Soft crash on space panel view (unknown exact cause) Soft crash on space panel view (unknown exact cause) - "Something went wrong!" error Jan 31, 2023
@t3chguy t3chguy self-assigned this Feb 2, 2023
@t3chguy
Copy link
Member

t3chguy commented Feb 2, 2023

Regressed by matrix-org/matrix-react-sdk@0d100cb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Spaces Spaces, groups, communities O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect X-Regression Z-Chronic Z-Rageshake Has attached rageshake (not for log submission process) Z-Soft-Crash React soft crash caught by an error boundary
Projects
None yet
9 participants