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

Cannot send message #25104

Closed
weeman1337 opened this issue Apr 13, 2023 · 0 comments · Fixed by matrix-org/matrix-js-sdk#3285
Closed

Cannot send message #25104

weeman1337 opened this issue Apr 13, 2023 · 0 comments · Fixed by matrix-org/matrix-js-sdk#3285
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

Comments

@weeman1337
Copy link
Contributor

Steps to reproduce

  1. Be in an encrypted room
  2. Try to send a message

Outcome

What did you expect?

Message sent

What happened instead?

Error

caught (in promise) TypeError: Cannot read properties of null (reading 'getEvents')
    at TimelineWindow.getEvents (timeline-window.ts:375:37)
    at TimelinePanel_TimelinePanel.getEvents (TimelinePanel.tsx:1546:64)
    at TimelinePanel_TimelinePanel.reloadEvents (TimelinePanel.tsx:1533:28)
    at MatrixClient.<anonymous> (TimelinePanel.tsx:882:14)
    at MatrixClient.emit (events.js:158:1)
    at MatrixClient.emit (typed-event-emitter.ts:59:22)
    at Room.forSource (ReEmitter.ts:53:29)
    at Room.emit (events.js:158:1)
    at Room.emit (typed-event-emitter.ts:59:22)
    at Room.addPendingEvent (room.ts:2411:14)

Got this a couple of times today.

Operating system

Ubuntu 22.04.2 LTS

Application version

Element Nightly version: 2023041201 Olm version: 3.2.12

How did you install the app?

https://packages.element.io/debian/

Homeserver

https://element.ems.host

Will you send logs?

Yes

@t3chguy t3chguy self-assigned this Apr 14, 2023
@weeman1337 weeman1337 added X-Regression S-Major Severely degrades major functionality or product features, with no satisfactory workaround O-Occasional Affects or can be seen by some users regularly or most users rarely labels Apr 14, 2023
su-ex added a commit to SchildiChat/matrix-js-sdk that referenced this issue Jul 31, 2023
* Deprecate MatrixClient::resolveRoomAlias ([\matrix-org#3316](matrix-org#3316)).
* add client method to remove pusher ([\matrix-org#3324](matrix-org#3324)). Contributed by @kerryarchibald.
* Implement MSC 3981 ([\matrix-org#3248](matrix-org#3248)). Fixes element-hq/element-web#25021. Contributed by @justjanne.
* Added `Room.getLastLiveEvent` and `Room.getLastThread`. Deprecated `Room.lastThread` in favour of `Room.getLastThread`. ([\matrix-org#3321](matrix-org#3321)).
* Element-R: wire up device lists ([\matrix-org#3272](matrix-org#3272)). Contributed by @florianduros.
* Node 20 support ([\matrix-org#3302](matrix-org#3302)).
* Fix racing between one-time-keys processing and sync ([\matrix-org#3327](matrix-org#3327)). Fixes element-hq/element-web#25214. Contributed by @florianduros.
* Fix lack of media when a user reconnects ([\matrix-org#3318](matrix-org#3318)).
* Fix TimelineWindow getEvents exploding if no neigbouring timeline ([\matrix-org#3285](matrix-org#3285)). Fixes element-hq/element-web#25104.
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants