Skip to content

fix: #36479 - Persistent Null found in Logs leading to undesired behaviour.#36508

Open
4rch50nist wants to merge 7 commits into
RocketChat:developfrom
4rch50nist:fix/#36479
Open

fix: #36479 - Persistent Null found in Logs leading to undesired behaviour.#36508
4rch50nist wants to merge 7 commits into
RocketChat:developfrom
4rch50nist:fix/#36479

Conversation

@4rch50nist

Copy link
Copy Markdown

Fixes #36479 by putting in a guard for when usersMap is null itself thereby error-ing out when access to usersMap.userNameTable is done for nullity.

The steps to reproduce the error described in #36479 are not provided, hence I could not verify/test, however based on the logs provided (which were very helpful), it seems that this is indeed a result of a null in usersMap itself.

@4rch50nist 4rch50nist requested review from a team as code owners July 23, 2025 16:20
@changeset-bot

changeset-bot Bot commented Jul 23, 2025

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: b799fc2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dionisio-bot

dionisio-bot Bot commented Jul 23, 2025

Copy link
Copy Markdown
Contributor

Looks like this PR is not ready to merge, because of the following issues:

  • This PR is missing the 'stat: QA assured' label
  • This PR is missing the required milestone or project

Please fix the issues and try again

If you have any trouble, please check the PR guidelines

@4rch50nist 4rch50nist changed the title fix/#36479 Fix for #36479 - Persistent Null found in Logs leading to undesired behaviour. Jul 23, 2025
@4rch50nist 4rch50nist changed the title Fix for #36479 - Persistent Null found in Logs leading to undesired behaviour. fix: #36479 - Persistent Null found in Logs leading to undesired behaviour. Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Periodic "TypeError: Cannot read properties of null (reading 'userNameTable')"

5 participants