Skip to content

Fix NPE in SdlRouterService#1870

Merged
joeygrover merged 1 commit intodevelopfrom
bugfix/issue_1869_npe_routerService
Oct 19, 2023
Merged

Fix NPE in SdlRouterService#1870
joeygrover merged 1 commit intodevelopfrom
bugfix/issue_1869_npe_routerService

Conversation

@JulianKast
Copy link
Contributor

@JulianKast JulianKast commented Oct 5, 2023

Fixes #1869

This PR is ready for review.

Risk

This PR makes no API changes.

Testing Plan

  • I have verified that I have not introduced new warnings in this PR (or explain why below)
  • I have run the unit tests with this PR
  • I have tested this PR against Core and verified behavior (if applicable, if not applicable, explain why below).
  • I have tested Android

Unit Tests

n/a

Core Tests

I tested manually setting the HashMap registerApps to null just before the spot where the NPE was hitting and connecting to a Sync 3 tdk.

Summary

This PR adds a null check in the RouterService to prevent an NPE from appearing for a partner app.

CLA

@joeygrover
Copy link
Member

Will target develop and merge once #1853 is approved and merged into develop as well.

Base automatically changed from bugfix/issue_1852_update_gradle to develop October 19, 2023 15:00
@joeygrover joeygrover merged commit 4e0feae into develop Oct 19, 2023
@joeygrover joeygrover deleted the bugfix/issue_1869_npe_routerService branch October 19, 2023 15:27
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.

2 participants